mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
First pass at fixes/extensions/tidy ups to the search API - part of wiring FTS up as a query language MOB-568
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@14361 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -62,27 +62,6 @@ public interface SearchService
|
||||
|
||||
//public static final String LANGUAGE_SQL_ALFTRESCO = "sql-alfresco";
|
||||
|
||||
/**
|
||||
* Search against a store.
|
||||
*
|
||||
* @param store -
|
||||
* the store against which to search
|
||||
* @param language -
|
||||
* the query language
|
||||
* @param query -
|
||||
* the query string - which may include parameters
|
||||
* @param attributePaths -
|
||||
* explicit list of attributes/properties to extract for the
|
||||
* selected nodes in xpath style syntax
|
||||
* @param queryParameterDefinition -
|
||||
* query parameter definitions - the default value is used for
|
||||
* the value.
|
||||
* @return Returns the query results
|
||||
*/
|
||||
@Auditable(key = Auditable.Key.ARG_0, parameters = {"store", "language", "query", "attributePaths", "queryParameterDefinitions"})
|
||||
public ResultSet query(StoreRef store, String language, String query, Path[] attributePaths,
|
||||
QueryParameterDefinition[] queryParameterDefinitions);
|
||||
|
||||
/**
|
||||
* Search against a store. Pulls back all attributes on each node. Does not
|
||||
* allow parameterisation.
|
||||
@@ -116,23 +95,7 @@ public interface SearchService
|
||||
public ResultSet query(StoreRef store, String language, String query,
|
||||
QueryParameterDefinition[] queryParameterDefintions);
|
||||
|
||||
/**
|
||||
* Search against a store.
|
||||
*
|
||||
* @param store -
|
||||
* the store against which to search
|
||||
* @param language -
|
||||
* the query language
|
||||
* @param query -
|
||||
* the query string - which may include parameters
|
||||
* @param attributePaths -
|
||||
* explicit list of attributes/properties to extract for the
|
||||
* selected nodes in xpath style syntax
|
||||
* @return Returns the query results
|
||||
*/
|
||||
@Auditable(key = Auditable.Key.ARG_0, parameters = {"store", "language", "query", "attributePaths"})
|
||||
public ResultSet query(StoreRef store, String language, String query, Path[] attributePaths);
|
||||
|
||||
|
||||
/**
|
||||
* Execute a canned query
|
||||
*
|
||||
|
Reference in New Issue
Block a user