Class ProcessQueryCriteriaUtils


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

      • getExcludeLockedFilter

        @NotNull
        public static de.xima.cmn.criteria.FilterCriterion getExcludeLockedFilter​(EProcessListView view)
        Get a filter that excludes locked form records. Can be used in queries.
        Parameters:
        view - the view to get the filter for.
        Returns:
        the filter.
      • getGridFilterCriteria

        @Deprecated
        public static final List<de.xima.cmn.criteria.FilterCriterion> getGridFilterCriteria​(String field,
                                                                                             Object value,
                                                                                             Locale locale)
        Deprecated.
        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

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

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

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

        @Deprecated
        public static final de.xima.cmn.criteria.FilterCriterion getNoStateFilter​(EProcessListView view)
        Deprecated.
      • getHasStateFilter

        @Deprecated
        public static final de.xima.cmn.criteria.FilterCriterion getHasStateFilter​(EProcessListView view)
        Deprecated.
      • getDeletableFilter

        @Deprecated
        public static final de.xima.cmn.criteria.FilterCriterion getDeletableFilter​(EProcessListView view,
                                                                                    boolean isDeletable)
        Deprecated.
      • getAttachmentsFilter

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

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

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

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

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

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

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

        public static de.xima.cmn.criteria.FilterCriterion getStateNameFilter​(String stateName,
                                                                              Mandant client,
                                                                              Locale locale,
                                                                              String wfStateProp,
                                                                              String statusProp,
                                                                              String idProp)
        Gets the filter criterion for filtering form records by the given state name.
        Parameters:
        stateName - the name of the state to filter by
        client - the client to filter by
        locale - the locale to translate system states
        wfStateProp - the property name of the workflow state (ID)
        statusProp - the property name of the status (ID)
        idProp - the property name of the entity ID (needed for never filter)