ooiservices/app/alfresco/utils.py
def make_alfresco_query(self, query):
        '''
        query the alfresco server for all documents matching the search param.
        **CAUTION: THIS MAY TAKE A WHILE TO RESPOND**
        '''
        # create the cmis client
        client = CmisClient(
            self.ALFRESCO_URL, self.ALFRESCO_UN, self.ALFRESCO_PW)

        # connect to the alfresco server and return the repo object
        repo = client.getRepository(self.ALFRESCO_ID)
        # use this files connection method

        # issue the query
        results = repo.query("select * from cmis:document where contains('\"%s\"')" % query)

        return results

        query the alfresco server for all documents matching the search param.
        **CAUTION: THIS MAY TAKE A WHILE TO RESPOND**
        
query the alfresco server for all documents matching the search param.
CAUTION: THIS MAY TAKE A WHILE TO RESPOND
query the alfresco server for all documents matching the search param . CAUTION : THIS MAY TAKE A WHILE TO RESPOND
def make_alfresco_query(self, query):
        client = CmisClient(
            self.ALFRESCO_URL, self.ALFRESCO_UN, self.ALFRESCO_PW)
        repo = client.getRepository(self.ALFRESCO_ID)
        results = repo.query("select * from cmis:document where contains('\"%s\"')" % query)
        return results
def make_alfresco_query ( self , query ) : client = CmisClient ( self . ALFRESCO_URL , self . ALFRESCO_UN , self . ALFRESCO_PW ) repo = client . getRepository ( self . ALFRESCO_ID ) results = repo . query ( "select * from cmis:document where contains('\"%s\"')" % query ) return results
query the alfresco server for all documents matching the search param.
query the alfresco server for all documents matching the search param .
'''
        query the alfresco server for all documents matching the search param.
        **CAUTION: THIS MAY TAKE A WHILE TO RESPOND**
        ''' # create the cmis client # connect to the alfresco server and return the repo object # use this files connection method # issue the query
self
query