org.alfresco.repo.search.impl
Class JCR170Searcher

java.lang.Object
  extended by org.alfresco.repo.search.AbstractSearcherComponent
      extended by org.alfresco.repo.search.impl.JCR170Searcher
All Implemented Interfaces:
SearchService

public abstract class JCR170Searcher
extends AbstractSearcherComponent

Simple searcher against another store using the JSR 170 API.

This class is not fully implemented and hence still abstract.


Field Summary
 
Fields inherited from interface org.alfresco.service.cmr.search.SearchService
LANGUAGE_CMIS_ALFRESCO, LANGUAGE_CMIS_STRICT, LANGUAGE_FTS_ALFRESCO, LANGUAGE_JCR_XPATH, LANGUAGE_LUCENE, LANGUAGE_XPATH
 
Constructor Summary
JCR170Searcher()
           
 
Method Summary
 ResultSet query(SearchParameters searchParameters)
          Search using the given SearchParameters
 ResultSet query(StoreRef store, QName queryId, QueryParameter[] queryParameters)
          Execute a canned query
 ResultSet query(StoreRef store, java.lang.String language, java.lang.String query, Path[] queryOptions, QueryParameter[] queryParameters)
           
 ResultSet query(StoreRef store, java.lang.String language, java.lang.String query, Path[] attributePaths, QueryParameterDefinition[] queryParameterDefinitions)
           
 
Methods inherited from class org.alfresco.repo.search.AbstractSearcherComponent
query, selectNodes, selectProperties, translateQuery
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.alfresco.service.cmr.search.SearchService
contains, contains, like, query, selectNodes, selectProperties
 

Constructor Detail

JCR170Searcher

public JCR170Searcher()
Method Detail

query

public ResultSet query(StoreRef store,
                       java.lang.String language,
                       java.lang.String query,
                       Path[] queryOptions,
                       QueryParameter[] queryParameters)

query

public ResultSet query(StoreRef store,
                       java.lang.String language,
                       java.lang.String query,
                       Path[] attributePaths,
                       QueryParameterDefinition[] queryParameterDefinitions)

query

public ResultSet query(StoreRef store,
                       QName queryId,
                       QueryParameter[] queryParameters)
Description copied from interface: SearchService
Execute a canned query

Parameters:
store - - the store against which to search
queryId - - the query identifier
queryParameters - - parameterisation for the canned query
Returns:
Returns the query results

query

public ResultSet query(SearchParameters searchParameters)
Description copied from interface: SearchService
Search using the given SearchParameters



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