com.flexive.shared.interfaces
Interface CmisSearchEngine

All Known Subinterfaces:
CmisSearchEngineLocal

public interface CmisSearchEngine

Disclaimer: this API is part of the CMIS interface and is not yet considered stable.

The CMIS search engine EJB interface.

Since:
3.1
Version:
$Rev$
Author:
Daniel Lichtenberger (daniel.lichtenberger@flexive.com), UCS - unique computing solutions gmbh (http://www.ucs.at)

Method Summary
 CmisResultSet search(java.lang.String query)
           
 CmisResultSet search(java.lang.String query, boolean returnPrimitiveValues, int startRow, int maxRows)
           
 

Method Detail

search

CmisResultSet search(java.lang.String query)
                     throws FxApplicationException
Parameters:
query - the CMIS-SQL query to be submitted
Returns:
the query result
Throws:
FxCmisSqlParseException - when the query could not be parsed
FxCmisQueryException - when the query could not be executed
FxApplicationException

search

CmisResultSet search(java.lang.String query,
                     boolean returnPrimitiveValues,
                     int startRow,
                     int maxRows)
                     throws FxApplicationException
Parameters:
query - the CMIS-SQL query to be submitted
returnPrimitiveValues - if true, the return values will not be boxed in FxValue objects
startRow - first row to return
maxRows - max. number of rows to return
Returns:
the query result
Throws:
FxCmisSqlParseException - when the query could not be parsed
FxCmisQueryException - when the query could not be executed
FxApplicationException