def __init__(self, exclude=None):
     super(SearchUsersDataProvider, self).__init__(SearchUsersProcessor())
     self._converter = ContactConverter()
     if exclude is not None:
         self.__exclude = exclude
     else:
         self.__exclude = []
Esempio n. 2
0
 def __init__(self, searchProcessor=None, exclude=None):
     if searchProcessor is None:
         searchProcessor = SearchUsersProcessor()
     super(SearchUsersDataProvider, self).__init__(searchProcessor)
     self._converter = ContactConverter()
     if exclude is not None:
         self.__exclude = exclude
     else:
         self.__exclude = []
     return
 def getUserSearchProcessor(self):
     from messenger.proto.xmpp.xmpp_search_processors import SearchUsersProcessor
     return SearchUsersProcessor()
 def getUserSearchProcessor(self):
     from messenger.proto.bw_chat2.search_processor import SearchUsersProcessor
     return SearchUsersProcessor()