Class SelectDescriptorBuilder
java.lang.Object
org.bonitasoft.engine.core.document.model.recorder.SelectDescriptorBuilder
- Author:
- Emmanuel Duchastenier, Nicolas Chabanoles, Baptiste Mesta
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic SelectByIdDescriptor<SAMappedDocument>getArchivedDocumentById(long documentId) static SelectListDescriptor<SAMappedDocument>getArchivedDocumentList(String name, long processInstanceId, QueryOptions queryOptions, long time) static SelectOneDescriptor<SAMappedDocument>getArchivedVersionOfDocument(long documentId) static SelectListDescriptor<SMappedDocument>getDocumentList(String name, long processInstanceId, QueryOptions queryOptions) static SelectListDescriptor<SMappedDocument>getDocumentListCreatedBefore(String name, long processInstanceId, QueryOptions queryOptions, long time) static SelectListDescriptor<SMappedDocument>getDocumentMappingsForProcessInstance(long processInstanceId, int fromIndex, int maxResults, String sortFieldOrder, OrderByType orderBy) static SelectOneDescriptor<Long>getNumberOfSMappedDocumentOfProcess(long processInstanceId) static SelectListDescriptor<SAMappedDocument>getSAMappedDocumentOfProcessWithName(long processInstanceId, String documentName, long time) static SelectOneDescriptor<SMappedDocument>getSMappedDocumentOfProcessWithName(long processInstanceId, String documentName)
-
Constructor Details
-
SelectDescriptorBuilder
public SelectDescriptorBuilder()
-
-
Method Details
-
getDocumentMappingsForProcessInstance
public static SelectListDescriptor<SMappedDocument> getDocumentMappingsForProcessInstance(long processInstanceId, int fromIndex, int maxResults, String sortFieldOrder, OrderByType orderBy) -
getSMappedDocumentOfProcessWithName
public static SelectOneDescriptor<SMappedDocument> getSMappedDocumentOfProcessWithName(long processInstanceId, String documentName) -
getNumberOfSMappedDocumentOfProcess
-
getSAMappedDocumentOfProcessWithName
public static SelectListDescriptor<SAMappedDocument> getSAMappedDocumentOfProcessWithName(long processInstanceId, String documentName, long time) -
getArchivedDocumentById
-
getArchivedVersionOfDocument
-
getDocumentList
public static SelectListDescriptor<SMappedDocument> getDocumentList(String name, long processInstanceId, QueryOptions queryOptions) -
getArchivedDocumentList
public static SelectListDescriptor<SAMappedDocument> getArchivedDocumentList(String name, long processInstanceId, QueryOptions queryOptions, long time) -
getDocumentListCreatedBefore
public static SelectListDescriptor<SMappedDocument> getDocumentListCreatedBefore(String name, long processInstanceId, QueryOptions queryOptions, long time)
-