Package org.alfresco.opencmis.search
Class CMISQueryOptions
java.lang.Object
org.alfresco.repo.search.impl.querymodel.QueryOptions
org.alfresco.opencmis.search.CMISQueryOptions
The options for a CMIS query
- Author:
- andyh
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class org.alfresco.repo.search.impl.querymodel.QueryOptions
QueryOptions.Connective
-
Constructor Summary
ConstructorsConstructorDescriptionCMISQueryOptions
(String query, StoreRef storeRef) Create a CMISQueryOptions instance with the default options other than the query and store ref.CMISQueryOptions
(String query, StoreRef storeRef, Locale locale) Create a CMISQueryOptions instance with the default options other than the query, store ref and locale. -
Method Summary
Modifier and TypeMethodDescriptionstatic CMISQueryOptions
create
(SearchParameters searchParameters) org.apache.chemistry.opencmis.commons.enums.CmisVersion
Get the query mode.void
setCmisVersion
(org.apache.chemistry.opencmis.commons.enums.CmisVersion cmisVersion) void
setQueryMode
(CMISQueryOptions.CMISQueryMode queryMode) Set the query mode.Methods inherited from class org.alfresco.repo.search.impl.querymodel.QueryOptions
addQueryTemplate, getDefaultFieldName, getDefaultFTSConnective, getDefaultFTSFieldConnective, getExcludeTenantFilter, getLocales, getMaxItems, getMaxPermissionChecks, getMaxPermissionCheckTimeMillis, getMaxRawResultSetSizeForInMemorySort, getMlAnalaysisMode, getQuery, getQueryConsistency, getQueryParameterDefinitions, getQueryTemplates, getSinceTxId, getSkipCount, getStores, getUseInMemorySort, isBulkFetchEnabled, isIncludeInTransactionData, setBulkFetchEnabled, setDefaultFieldName, setDefaultFTSConnective, setDefaultFTSFieldConnective, setExcludeTenantFilter, setIncludeInTransactionData, setLocales, setMaxItems, setMaxPermissionChecks, setMaxPermissionCheckTimeMillis, setMaxRawResultSetSizeForInMemorySort, setMlAnalaysisMode, setQuery, setQueryConsistency, setQueryParameterDefinitions, setSinceTxId, setSkipCount, setStores, setUseInMemorySort
-
Constructor Details
-
CMISQueryOptions
Create a CMISQueryOptions instance with the default options other than the query and store ref. The query will be run using the locale returned by I18NUtil.getLocale()- Parameters:
query
- - the query to runstoreRef
- - the store against which to run the query
-
CMISQueryOptions
Create a CMISQueryOptions instance with the default options other than the query, store ref and locale.- Parameters:
query
- - the query to runstoreRef
- - the store against which to run the query
-
-
Method Details
-
create
-
getCmisVersion
public org.apache.chemistry.opencmis.commons.enums.CmisVersion getCmisVersion() -
setCmisVersion
public void setCmisVersion(org.apache.chemistry.opencmis.commons.enums.CmisVersion cmisVersion) -
getQueryMode
Get the query mode.- Returns:
- the queryMode
-
setQueryMode
Set the query mode.- Parameters:
queryMode
- the queryMode to set
-
getAsSearchParmeters
- Overrides:
getAsSearchParmeters
in classQueryOptions
- Returns:
- SearchParameters
-