public class SearcherComponent extends AbstractSearcherComponent
searcher
from the indexerAndSearcherFactory
.
Transactional support is free.Constructor and Description |
---|
SearcherComponent() |
Modifier and Type | Method and Description |
---|---|
boolean |
contains(org.alfresco.service.cmr.repository.NodeRef nodeRef,
org.alfresco.service.namespace.QName propertyQName,
String googleLikePattern) |
boolean |
contains(org.alfresco.service.cmr.repository.NodeRef nodeRef,
org.alfresco.service.namespace.QName propertyQName,
String googleLikePattern,
org.alfresco.service.cmr.search.SearchParameters.Operator defaultOperator) |
boolean |
like(org.alfresco.service.cmr.repository.NodeRef nodeRef,
org.alfresco.service.namespace.QName propertyQName,
String sqlLikePattern,
boolean includeFTS) |
org.alfresco.service.cmr.search.ResultSet |
query(org.alfresco.service.cmr.search.SearchParameters searchParameters) |
org.alfresco.service.cmr.search.ResultSet |
query(org.alfresco.service.cmr.repository.StoreRef store,
org.alfresco.service.namespace.QName queryId,
org.alfresco.service.cmr.search.QueryParameter[] queryParameters) |
org.alfresco.service.cmr.search.ResultSet |
query(org.alfresco.service.cmr.repository.StoreRef store,
String language,
String query,
org.alfresco.service.cmr.search.QueryParameterDefinition[] queryParameterDefinitions) |
List<org.alfresco.service.cmr.repository.NodeRef> |
selectNodes(org.alfresco.service.cmr.repository.NodeRef contextNodeRef,
String xpath,
org.alfresco.service.cmr.search.QueryParameterDefinition[] parameters,
org.alfresco.service.namespace.NamespacePrefixResolver namespacePrefixResolver,
boolean followAllParentLinks,
String language) |
List<Serializable> |
selectProperties(org.alfresco.service.cmr.repository.NodeRef contextNodeRef,
String xpath,
org.alfresco.service.cmr.search.QueryParameterDefinition[] parameters,
org.alfresco.service.namespace.NamespacePrefixResolver namespacePrefixResolver,
boolean followAllParentLinks,
String language) |
void |
setIndexerAndSearcherFactory(IndexerAndSearcher indexerAndSearcherFactory) |
query, selectNodes, selectProperties, translateQuery
public void setIndexerAndSearcherFactory(IndexerAndSearcher indexerAndSearcherFactory)
public org.alfresco.service.cmr.search.ResultSet query(org.alfresco.service.cmr.repository.StoreRef store, org.alfresco.service.namespace.QName queryId, org.alfresco.service.cmr.search.QueryParameter[] queryParameters)
public org.alfresco.service.cmr.search.ResultSet query(org.alfresco.service.cmr.repository.StoreRef store, String language, String query, org.alfresco.service.cmr.search.QueryParameterDefinition[] queryParameterDefinitions)
public org.alfresco.service.cmr.search.ResultSet query(org.alfresco.service.cmr.search.SearchParameters searchParameters)
public boolean contains(org.alfresco.service.cmr.repository.NodeRef nodeRef, org.alfresco.service.namespace.QName propertyQName, String googleLikePattern) throws org.alfresco.service.cmr.repository.InvalidNodeRefException
org.alfresco.service.cmr.repository.InvalidNodeRefException
public boolean contains(org.alfresco.service.cmr.repository.NodeRef nodeRef, org.alfresco.service.namespace.QName propertyQName, String googleLikePattern, org.alfresco.service.cmr.search.SearchParameters.Operator defaultOperator) throws org.alfresco.service.cmr.repository.InvalidNodeRefException
org.alfresco.service.cmr.repository.InvalidNodeRefException
public boolean like(org.alfresco.service.cmr.repository.NodeRef nodeRef, org.alfresco.service.namespace.QName propertyQName, String sqlLikePattern, boolean includeFTS) throws org.alfresco.service.cmr.repository.InvalidNodeRefException
org.alfresco.service.cmr.repository.InvalidNodeRefException
public List<org.alfresco.service.cmr.repository.NodeRef> selectNodes(org.alfresco.service.cmr.repository.NodeRef contextNodeRef, String xpath, org.alfresco.service.cmr.search.QueryParameterDefinition[] parameters, org.alfresco.service.namespace.NamespacePrefixResolver namespacePrefixResolver, boolean followAllParentLinks, String language) throws org.alfresco.service.cmr.repository.InvalidNodeRefException, org.alfresco.service.cmr.repository.XPathException
org.alfresco.service.cmr.repository.InvalidNodeRefException
org.alfresco.service.cmr.repository.XPathException
public List<Serializable> selectProperties(org.alfresco.service.cmr.repository.NodeRef contextNodeRef, String xpath, org.alfresco.service.cmr.search.QueryParameterDefinition[] parameters, org.alfresco.service.namespace.NamespacePrefixResolver namespacePrefixResolver, boolean followAllParentLinks, String language) throws org.alfresco.service.cmr.repository.InvalidNodeRefException, org.alfresco.service.cmr.repository.XPathException
org.alfresco.service.cmr.repository.InvalidNodeRefException
org.alfresco.service.cmr.repository.XPathException
Copyright © 2005–2017 Alfresco Software. All rights reserved.