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