Class ProcessQueryCriteriaUtils


  • public class ProcessQueryCriteriaUtils
    extends Object
    Author:
    XIMA MEDIA GmbH
    • Method Detail

      • getGridFilterCriteria

        public static final List<de.xima.cmn.criteria.FilterCriterion> getGridFilterCriteria​(String field,
                                                                                             Object value,
                                                                                             Locale locale)
        Gets the criteria for filtering ExtendedEntityModel<Vorgang> (i.e. the form record data) by a given field with the given value
        Parameters:
        field - determines which DB field of the process data should be filtered
        value - the given field should contain
        Returns:
        a List of FilterCriterions for the given key and value
      • getGridSortingCriteria

        public static final List<de.xima.cmn.criteria.SortingCriterion> getGridSortingCriteria​(String sortField,
                                                                                               org.primefaces.model.SortOrder sortOrder)
      • getDateFilter

        public static final de.xima.cmn.criteria.FilterCriterion getDateFilter​(String key,
                                                                               Date value,
                                                                               de.xima.cmn.criteria.FilterCriterion.Operator operator,
                                                                               EProcessListView view)
      • getFutureFilter

        public static final de.xima.cmn.criteria.FilterCriterion getFutureFilter​(EProcessListView view,
                                                                                 Instant now)
      • getReadFilter

        public static final de.xima.cmn.criteria.FilterCriterion getReadFilter​(boolean read,
                                                                               EProcessListView view)
      • getAttachmentsFilter

        public static final de.xima.cmn.criteria.FilterCriterion getAttachmentsFilter​(boolean withAttachments,
                                                                                      EProcessListView view)
      • getStateFilter

        public static final de.xima.cmn.criteria.FilterCriterion getStateFilter​(de.xima.cmn.criteria.FilterCriterion.Operator operator,
                                                                                EProcessListView view)
      • getVerifyUuidFilter

        public static final de.xima.cmn.criteria.FilterCriterion getVerifyUuidFilter​(de.xima.cmn.criteria.FilterCriterion.Operator operator,
                                                                                     EProcessListView view)
      • getSavedFilter

        public static final de.xima.cmn.criteria.FilterCriterion getSavedFilter​(EProcessListView view)
      • getNotSavedFilter

        public static final de.xima.cmn.criteria.FilterCriterion getNotSavedFilter​(EProcessListView view)
      • getProjektTitleLikeCriteria

        public static final List<de.xima.cmn.criteria.FilterCriterion> getProjektTitleLikeCriteria​(String value,
                                                                                                   EProcessListView view)
      • hasSortingCriteria

        public static final boolean hasSortingCriteria​(de.xima.cmn.criteria.AQueryCriteriaManager qcm,
                                                       de.xima.cmn.criteria.SortingCriterion sorting)