Class SearchArchivedDocumentsSupervisedBy
- java.lang.Object
-
- org.bonitasoft.engine.search.AbstractSearchEntity<org.bonitasoft.engine.bpm.document.ArchivedDocument,SAMappedDocument>
-
- org.bonitasoft.engine.search.AbstractArchivedDocumentSearchEntity
-
- org.bonitasoft.engine.search.document.SearchArchivedDocumentsSupervisedBy
-
- All Implemented Interfaces:
TransactionContent
,TransactionContentWithResult<org.bonitasoft.engine.search.SearchResult<org.bonitasoft.engine.bpm.document.ArchivedDocument>>
public class SearchArchivedDocumentsSupervisedBy extends AbstractArchivedDocumentSearchEntity
- Author:
- Zhang Bole, Celine Souchet
-
-
Constructor Summary
Constructors Constructor Description SearchArchivedDocumentsSupervisedBy(long userId, DocumentService documentService, SearchArchivedDocumentDescriptor searchDescriptor, org.bonitasoft.engine.search.SearchOptions options)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description long
executeCount(QueryOptions searchOptions)
Execute the count herejava.util.List<SAMappedDocument>
executeSearch(QueryOptions searchOptions)
Execute the search here-
Methods inherited from class org.bonitasoft.engine.search.AbstractArchivedDocumentSearchEntity
convertToClientObjects
-
Methods inherited from class org.bonitasoft.engine.search.AbstractSearchEntity
execute, getResult, getSearchFilter, search, search, validateQuery
-
-
-
-
Constructor Detail
-
SearchArchivedDocumentsSupervisedBy
public SearchArchivedDocumentsSupervisedBy(long userId, DocumentService documentService, SearchArchivedDocumentDescriptor searchDescriptor, org.bonitasoft.engine.search.SearchOptions options)
-
-
Method Detail
-
executeCount
public long executeCount(QueryOptions searchOptions) throws SBonitaReadException
Description copied from class:AbstractSearchEntity
Execute the count here- Specified by:
executeCount
in classAbstractSearchEntity<org.bonitasoft.engine.bpm.document.ArchivedDocument,SAMappedDocument>
- Parameters:
searchOptions
- The query options to execute the count with- Returns:
- The number of result on the server
- Throws:
SBonitaReadException
- when the search failed to retrieve the count number
-
executeSearch
public java.util.List<SAMappedDocument> executeSearch(QueryOptions searchOptions) throws SBonitaReadException
Description copied from class:AbstractSearchEntity
Execute the search here- Specified by:
executeSearch
in classAbstractSearchEntity<org.bonitasoft.engine.bpm.document.ArchivedDocument,SAMappedDocument>
- Parameters:
searchOptions
- The query options to execute the search with- Returns:
- The list of searched server objects
- Throws:
SBonitaReadException
- when the search failed to retrieve the results
-
-