org.alfresco.cmis.search
Class CMISQueryServiceImpl

java.lang.Object
  extended by org.alfresco.cmis.search.CMISQueryServiceImpl
All Implemented Interfaces:
CMISQueryService

public class CMISQueryServiceImpl
extends java.lang.Object
implements CMISQueryService


Constructor Summary
CMISQueryServiceImpl()
           
 
Method Summary
 boolean getAllVersionsSearchable()
          Can you query non-latest versions of a document.
 CMISJoinEnum getJoinSupport()
          Get the join support level in queries.
 boolean getPwcSearchable()
          Can you query Private Working Copies of a document.
 CMISQueryEnum getQuerySupport()
          Get the query support level
 CMISResultSet query(CMISQueryOptions options)
          Execute a CMIS query as defined by options
 CMISResultSet query(java.lang.String query)
          Execute a CMIS query with all the default options;
 void setAlfrescoDictionaryService(org.alfresco.service.cmr.dictionary.DictionaryService alfrescoDictionaryService)
           
 void setCMISDictionaryService(CMISDictionaryService cmisDictionaryService)
           
 void setCMISService(CMISServices cmisService)
           
 void setNodeService(org.alfresco.service.cmr.repository.NodeService nodeService)
           
 void setQueryEngine(org.alfresco.repo.search.impl.querymodel.QueryEngine queryEngine)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CMISQueryServiceImpl

public CMISQueryServiceImpl()
Method Detail

setCMISService

public void setCMISService(CMISServices cmisService)
Parameters:
service - the service to set

setCMISDictionaryService

public void setCMISDictionaryService(CMISDictionaryService cmisDictionaryService)
Parameters:
cmisDictionaryService - the cmisDictionaryService to set

setQueryEngine

public void setQueryEngine(org.alfresco.repo.search.impl.querymodel.QueryEngine queryEngine)
Parameters:
queryEngine - the queryEngine to set

setNodeService

public void setNodeService(org.alfresco.service.cmr.repository.NodeService nodeService)
Parameters:
nodeService - the nodeService to set

setAlfrescoDictionaryService

public void setAlfrescoDictionaryService(org.alfresco.service.cmr.dictionary.DictionaryService alfrescoDictionaryService)
Parameters:
alfrescoDictionaryService - the Alfresco Dictionary Service to set

query

public CMISResultSet query(CMISQueryOptions options)
Description copied from interface: CMISQueryService
Execute a CMIS query as defined by options

Specified by:
query in interface CMISQueryService
Returns:
a result set

query

public CMISResultSet query(java.lang.String query)
Description copied from interface: CMISQueryService
Execute a CMIS query with all the default options;

Specified by:
query in interface CMISQueryService
Returns:

getPwcSearchable

public boolean getPwcSearchable()
Description copied from interface: CMISQueryService
Can you query Private Working Copies of a document.

Specified by:
getPwcSearchable in interface CMISQueryService
Returns:

getAllVersionsSearchable

public boolean getAllVersionsSearchable()
Description copied from interface: CMISQueryService
Can you query non-latest versions of a document. The current latest version is always searchable according to the type definition.

Specified by:
getAllVersionsSearchable in interface CMISQueryService
Returns:

getQuerySupport

public CMISQueryEnum getQuerySupport()
Description copied from interface: CMISQueryService
Get the query support level

Specified by:
getQuerySupport in interface CMISQueryService

getJoinSupport

public CMISJoinEnum getJoinSupport()
Description copied from interface: CMISQueryService
Get the join support level in queries.

Specified by:
getJoinSupport in interface CMISQueryService


Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.