public class SelectDescriptorBuilder extends Object
| Constructor and Description |
|---|
SelectDescriptorBuilder() |
| Modifier and Type | Method and Description |
|---|---|
static org.bonitasoft.engine.persistence.QueryOptions |
buildQueryOptionsForCategoryMappingOrderedByCategoryId(int fromIndex,
int maxResults,
org.bonitasoft.engine.persistence.OrderByType order) |
static org.bonitasoft.engine.persistence.SelectListDescriptor<org.bonitasoft.engine.core.category.model.SCategory> |
getCategories(String field,
org.bonitasoft.engine.persistence.OrderByType order,
int fromIndex,
int numberOfProcesses) |
static org.bonitasoft.engine.persistence.SelectListDescriptor<org.bonitasoft.engine.core.category.model.SCategory> |
getCategoriesOfProcess(long processId,
int fromIndex,
int numberOfCategories,
org.bonitasoft.engine.persistence.OrderByType order) |
static org.bonitasoft.engine.persistence.SelectListDescriptor<org.bonitasoft.engine.core.category.model.SCategory> |
getCategoriesUnrelatedToProcess(long processId,
int fromIndex,
int numberOfCategories,
org.bonitasoft.engine.persistence.OrderByType order) |
static org.bonitasoft.engine.persistence.SelectByIdDescriptor<org.bonitasoft.engine.core.category.model.SCategory> |
getCategory(long categoryId) |
static org.bonitasoft.engine.persistence.SelectOneDescriptor<org.bonitasoft.engine.core.category.model.SCategory> |
getCategory(String categoryName) |
static org.bonitasoft.engine.persistence.SelectListDescriptor<org.bonitasoft.engine.core.category.model.SProcessCategoryMapping> |
getCategoryMappingOfProcessAndCategories(long processDefinitionId,
List<Long> categoryIds,
int fromIndex,
int maxResults) |
static org.bonitasoft.engine.persistence.SelectOneDescriptor<Long> |
getNumberOfCategoriesOfProcess(long processId) |
static org.bonitasoft.engine.persistence.SelectOneDescriptor<Long> |
getNumberOfCategoriesUnrelatedToProcess(long processId) |
static org.bonitasoft.engine.persistence.SelectOneDescriptor<Long> |
getNumberOfCategorizedProcessIds(List<Long> processIds) |
static org.bonitasoft.engine.persistence.SelectOneDescriptor<Long> |
getNumberOfElement(String elementName,
Class<? extends org.bonitasoft.engine.persistence.PersistentObject> clazz) |
static org.bonitasoft.engine.persistence.SelectOneDescriptor<Long> |
isCategoryExistsInProcess(long categoryId,
long processDefinitionId) |
public static org.bonitasoft.engine.persistence.SelectByIdDescriptor<org.bonitasoft.engine.core.category.model.SCategory> getCategory(long categoryId)
public static org.bonitasoft.engine.persistence.SelectOneDescriptor<org.bonitasoft.engine.core.category.model.SCategory> getCategory(String categoryName)
public static org.bonitasoft.engine.persistence.SelectOneDescriptor<Long> getNumberOfElement(String elementName, Class<? extends org.bonitasoft.engine.persistence.PersistentObject> clazz)
public static org.bonitasoft.engine.persistence.SelectListDescriptor<org.bonitasoft.engine.core.category.model.SCategory> getCategories(String field, org.bonitasoft.engine.persistence.OrderByType order, int fromIndex, int numberOfProcesses)
public static org.bonitasoft.engine.persistence.SelectListDescriptor<org.bonitasoft.engine.core.category.model.SCategory> getCategoriesOfProcess(long processId,
int fromIndex,
int numberOfCategories,
org.bonitasoft.engine.persistence.OrderByType order)
public static org.bonitasoft.engine.persistence.SelectListDescriptor<org.bonitasoft.engine.core.category.model.SCategory> getCategoriesUnrelatedToProcess(long processId,
int fromIndex,
int numberOfCategories,
org.bonitasoft.engine.persistence.OrderByType order)
public static org.bonitasoft.engine.persistence.SelectOneDescriptor<Long> getNumberOfCategoriesOfProcess(long processId)
public static org.bonitasoft.engine.persistence.SelectOneDescriptor<Long> getNumberOfCategoriesUnrelatedToProcess(long processId)
public static org.bonitasoft.engine.persistence.SelectOneDescriptor<Long> getNumberOfCategorizedProcessIds(List<Long> processIds)
public static org.bonitasoft.engine.persistence.SelectOneDescriptor<Long> isCategoryExistsInProcess(long categoryId, long processDefinitionId)
public static org.bonitasoft.engine.persistence.SelectListDescriptor<org.bonitasoft.engine.core.category.model.SProcessCategoryMapping> getCategoryMappingOfProcessAndCategories(long processDefinitionId,
List<Long> categoryIds,
int fromIndex,
int maxResults)
public static org.bonitasoft.engine.persistence.QueryOptions buildQueryOptionsForCategoryMappingOrderedByCategoryId(int fromIndex,
int maxResults,
org.bonitasoft.engine.persistence.OrderByType order)
Copyright © 2016 Bonitasoft S.A.. All rights reserved.