Package org.bonitasoft.engine.search
Class AbstractDocumentSearchEntity
java.lang.Object
org.bonitasoft.engine.search.AbstractSearchEntity<org.bonitasoft.engine.bpm.document.Document,SMappedDocument>
org.bonitasoft.engine.search.AbstractDocumentSearchEntity
- All Implemented Interfaces:
TransactionContent,TransactionContentWithResult<org.bonitasoft.engine.search.SearchResult<org.bonitasoft.engine.bpm.document.Document>>
- Direct Known Subclasses:
SearchDocuments,SearchDocumentsSupervisedBy
public abstract class AbstractDocumentSearchEntity
extends AbstractSearchEntity<org.bonitasoft.engine.bpm.document.Document,SMappedDocument>
- Author:
- Zhang Bole
-
Constructor Summary
ConstructorsConstructorDescriptionAbstractDocumentSearchEntity(SearchEntityDescriptor searchDescriptor, org.bonitasoft.engine.search.SearchOptions options, DocumentService documentService) -
Method Summary
Modifier and TypeMethodDescriptionList<org.bonitasoft.engine.bpm.document.Document>convertToClientObjects(List<SMappedDocument> serverObjects) Must convert server objects in client objects hereMethods inherited from class org.bonitasoft.engine.search.AbstractSearchEntity
execute, executeCount, executeSearch, getResult, getSearchFilter, search, search, validateQuery
-
Constructor Details
-
AbstractDocumentSearchEntity
public AbstractDocumentSearchEntity(SearchEntityDescriptor searchDescriptor, org.bonitasoft.engine.search.SearchOptions options, DocumentService documentService)
-
-
Method Details
-
convertToClientObjects
public List<org.bonitasoft.engine.bpm.document.Document> convertToClientObjects(List<SMappedDocument> serverObjects) Description copied from class:AbstractSearchEntityMust convert server objects in client objects here- Specified by:
convertToClientObjectsin classAbstractSearchEntity<org.bonitasoft.engine.bpm.document.Document,SMappedDocument> - Parameters:
serverObjects- The server object to convert- Returns:
- The list of the client objects corresponding to the server objects
-