Reversed out revisions 14366, 14361 and 14356

- Just prior to this, created dev branch DEV/ANDY_HEAD_ROLLBACKS
 - Andy: Switch to this branch on your local copy if you have changes to any of the files modified here


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@14374 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Derek Hulley
2009-05-20 10:32:23 +00:00
parent 05a58901fd
commit 24b8ae3b16
53 changed files with 3858 additions and 5664 deletions

View File

@@ -62,6 +62,27 @@ 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.
@@ -95,7 +116,23 @@ 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
*