More SearchService refactor. Added CMIS SQL to the search service. Tidy ups. FTS supports default namespace and templates via search parameters API. (MOB-568, MOB-569)

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@14463 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Andrew Hind
2009-05-28 10:34:51 +00:00
parent d8c87a5abd
commit e46585becf
53 changed files with 1365 additions and 390 deletions

View File

@@ -24,6 +24,8 @@
*/
package org.alfresco.cmis;
import org.alfresco.service.cmr.search.ResultSetSPI;
/**
@@ -31,7 +33,7 @@ package org.alfresco.cmis;
*
* @author andyh
*/
public interface CMISResultSet extends Iterable<CMISResultSetRow>
public interface CMISResultSet extends ResultSetSPI<CMISResultSetRow, CMISResultSetMetaData>
{
/**
* Get the result set meta-data.
@@ -39,13 +41,6 @@ public interface CMISResultSet extends Iterable<CMISResultSetRow>
*/
public CMISResultSetMetaData getMetaData();
/**
* Get the start point for this results set in the overall
* set of rows that match the query - this will be equal to the skip count
* set when executing the query.
* @return the start position
*/
public int getStart();
/**
* Get the number of rows in this result set.
@@ -60,25 +55,5 @@ public interface CMISResultSet extends Iterable<CMISResultSetRow>
*/
public int getLength();
/**
* Close the result set and release any resources held/
* The result set is also bound to the transaction and will auto close at
* the end of the transaction.
*/
public void close();
/**
* Was this result set curtailed - are there more pages to the result set?
* @return true if there are more results
*/
public boolean hasMore();
/**
* Get the given row
* @param i -the position in this result set - start + i gives the position in the overall result set
* @return the row
*/
public CMISResultSetRow getRow(int i);
}