Class SelectDescriptorBuilder


  • public class SelectDescriptorBuilder
    extends java.lang.Object
    Author:
    Yanyan Liu, Matthieu Chaffotte, Celine Souchet
    • Constructor Detail

      • SelectDescriptorBuilder

        public SelectDescriptorBuilder()
    • Method Detail

      • getNumberOfElement

        public static SelectOneDescriptor<java.lang.Long> getNumberOfElement​(java.lang.String elementName,
                                                                             java.lang.Class<? extends PersistentObject> clazz)
      • getNumberOfCategoriesOfProcess

        public static SelectOneDescriptor<java.lang.Long> getNumberOfCategoriesOfProcess​(long processId)
      • getNumberOfCategoriesUnrelatedToProcess

        public static SelectOneDescriptor<java.lang.Long> getNumberOfCategoriesUnrelatedToProcess​(long processId)
      • getNumberOfCategorizedProcessIds

        public static SelectOneDescriptor<java.lang.Long> getNumberOfCategorizedProcessIds​(java.util.List<java.lang.Long> processIds)
      • isCategoryExistsInProcess

        public static SelectOneDescriptor<java.lang.Long> isCategoryExistsInProcess​(long categoryId,
                                                                                    long processDefinitionId)
      • getCategoryMappingOfProcessAndCategories

        public static SelectListDescriptor<SProcessCategoryMapping> getCategoryMappingOfProcessAndCategories​(long processDefinitionId,
                                                                                                             java.util.List<java.lang.Long> categoryIds,
                                                                                                             int fromIndex,
                                                                                                             int maxResults)
      • buildQueryOptionsForCategoryMappingOrderedByCategoryId

        public static QueryOptions buildQueryOptionsForCategoryMappingOrderedByCategoryId​(int fromIndex,
                                                                                          int maxResults,
                                                                                          OrderByType order)