Package de.xima.fc.inbox.utils
Class ProcessQueryCriteriaUtils
- java.lang.Object
-
- de.xima.fc.inbox.utils.ProcessQueryCriteriaUtils
-
public class ProcessQueryCriteriaUtils extends Object
- Author:
- XIMA MEDIA GmbH
-
-
Method Summary
All Methods Static Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static de.xima.cmn.criteria.FilterCriterion
getAttachmentsFilter(boolean withAttachments, EProcessListView view)
Deprecated.static de.xima.cmn.criteria.FilterCriterion
getCreatorFilter(EProcessListView view, IUser user)
Deprecated.static de.xima.cmn.criteria.FilterCriterion
getDateFilter(String key, Date value, de.xima.cmn.criteria.FilterCriterion.Operator operator, EProcessListView view)
Deprecated.static de.xima.cmn.criteria.FilterCriterion
getDeletableFilter(EProcessListView view, boolean isDeletable)
Deprecated.static de.xima.cmn.criteria.FilterCriterion
getEditorFilter(EProcessListView view, IUser user)
Deprecated.static de.xima.cmn.criteria.FilterCriterion
getExcludeLockedFilter(EProcessListView view)
Get a filter that excludes locked form records.static de.xima.cmn.criteria.FilterCriterion
getFutureFilter(EProcessListView view, Instant now)
Deprecated.static List<de.xima.cmn.criteria.FilterCriterion>
getGridFilterCriteria(String field, Object value, Locale locale)
Deprecated.static List<de.xima.cmn.criteria.SortingCriterion>
getGridSortingCriteria(String sortField, org.primefaces.model.SortOrder sortOrder)
Deprecated.static de.xima.cmn.criteria.FilterCriterion
getHasStateFilter(EProcessListView view)
Deprecated.static de.xima.cmn.criteria.FilterCriterion
getNoStateFilter(EProcessListView view)
Deprecated.static de.xima.cmn.criteria.FilterCriterion
getNotSavedFilter(EProcessListView view)
Deprecated.static List<de.xima.cmn.criteria.FilterCriterion>
getProjektTitleLikeCriteria(String value, EProcessListView view)
Deprecated.static de.xima.cmn.criteria.FilterCriterion
getReadFilter(boolean read, EProcessListView view)
Deprecated.static de.xima.cmn.criteria.FilterCriterion
getSavedFilter(EProcessListView view)
Deprecated.static de.xima.cmn.criteria.FilterCriterion
getStateFilter(de.xima.cmn.criteria.FilterCriterion.Operator operator, EProcessListView view)
Deprecated.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.static de.xima.cmn.criteria.FilterCriterion
getStringFilter(String key, String value, EProcessListView view, Locale locale, Mandant client)
Deprecated.static de.xima.cmn.criteria.FilterCriterion
getVerifyUuidFilter(de.xima.cmn.criteria.FilterCriterion.Operator operator, EProcessListView view)
Deprecated.static boolean
hasSortingCriteria(de.xima.cmn.criteria.AQueryCriteriaManager qcm, de.xima.cmn.criteria.SortingCriterion sorting)
Deprecated.
-
-
-
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 filteringExtendedEntityModel
<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 filteredvalue
- the given field should contain- Returns:
- a
List
ofFilterCriterion
s 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.
-
getStringFilter
@Deprecated public static final de.xima.cmn.criteria.FilterCriterion getStringFilter(String key, String value, EProcessListView view, Locale locale, Mandant client)
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.
-
getFutureFilter
@Deprecated public static final de.xima.cmn.criteria.FilterCriterion getFutureFilter(EProcessListView view, Instant now)
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.
-
getEditorFilter
@Deprecated public static final de.xima.cmn.criteria.FilterCriterion getEditorFilter(EProcessListView view, IUser user)
Deprecated.
-
getCreatorFilter
@Deprecated public static final de.xima.cmn.criteria.FilterCriterion getCreatorFilter(EProcessListView view, IUser user)
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 byclient
- the client to filter bylocale
- the locale to translate system stateswfStateProp
- 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)
-
-