Package org.alfresco.repo.search
Class AbstractSearcherComponent
java.lang.Object
org.alfresco.repo.search.AbstractSearcherComponent
- All Implemented Interfaces:
SearchService
- Direct Known Subclasses:
SearcherComponent
Provides basic searcher support
- Author:
- Andy Hind
-
Field Summary
Fields inherited from interface org.alfresco.service.cmr.search.SearchService
LANGUAGE_CMIS_ALFRESCO, LANGUAGE_CMIS_STRICT, LANGUAGE_FTS_ALFRESCO, LANGUAGE_INDEX_ALFRESCO, LANGUAGE_INDEX_CMIS, LANGUAGE_INDEX_FTS_ALFRESCO, LANGUAGE_INDEX_SQL, LANGUAGE_LUCENE, LANGUAGE_SOLR_ALFRESCO, LANGUAGE_SOLR_CMIS, LANGUAGE_SOLR_FTS_ALFRESCO, LANGUAGE_SOLR_SQL, LANGUAGE_XPATH -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionselectNodes(NodeRef contextNodeRef, String xpath, QueryParameterDefinition[] parameters, NamespacePrefixResolver namespacePrefixResolver, boolean followAllParentLinks) selectProperties(NodeRef contextNodeRef, String xpath, QueryParameterDefinition[] parameters, NamespacePrefixResolver namespacePrefixResolver, boolean followAllParentLinks) protected StringtranslateQuery(String fromLanguage, String toLangage, String query) Not implemented, but will eventually map directly toSearchLanguageConversion.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.alfresco.service.cmr.search.SearchService
contains, contains, like, query, query, query, selectNodes, selectProperties
-
Constructor Details
-
AbstractSearcherComponent
public AbstractSearcherComponent()
-
-
Method Details
-
translateQuery
Not implemented, but will eventually map directly toSearchLanguageConversion. -
query
- Specified by:
queryin interfaceSearchService
-
selectNodes
public List<NodeRef> selectNodes(NodeRef contextNodeRef, String xpath, QueryParameterDefinition[] parameters, NamespacePrefixResolver namespacePrefixResolver, boolean followAllParentLinks) throws InvalidNodeRefException, XPathException - Specified by:
selectNodesin interfaceSearchService- Throws:
InvalidNodeRefExceptionXPathException
-
selectProperties
public List<Serializable> selectProperties(NodeRef contextNodeRef, String xpath, QueryParameterDefinition[] parameters, NamespacePrefixResolver namespacePrefixResolver, boolean followAllParentLinks) throws InvalidNodeRefException, XPathException - Specified by:
selectPropertiesin interfaceSearchService- Throws:
InvalidNodeRefExceptionXPathException
-