public class ProcessQueryCriteriaUtils extends Object
Modifier and Type | Method and Description |
---|---|
static de.xima.cmn.criteria.FilterCriterion |
getAttachmentsFilter(boolean withAttachments,
EProcessListView view) |
static de.xima.cmn.criteria.FilterCriterion |
getDateFilter(String key,
Date value,
de.xima.cmn.criteria.FilterCriterion.Operator operator,
EProcessListView view) |
static de.xima.cmn.criteria.FilterCriterion |
getFutureFilter(EProcessListView view,
Instant now) |
static 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 |
static de.xima.cmn.criteria.SortingCriterion |
getGridSortingCriteria(String sortField,
org.primefaces.model.SortOrder sortOrder) |
static de.xima.cmn.criteria.FilterCriterion |
getNotSavedFilter(EProcessListView view) |
static List<de.xima.cmn.criteria.FilterCriterion> |
getProjektTitleLikeCriteria(String value,
EProcessListView view) |
static de.xima.cmn.criteria.FilterCriterion |
getReadFilter(boolean read,
EProcessListView view) |
static de.xima.cmn.criteria.FilterCriterion |
getSavedFilter(EProcessListView view) |
static de.xima.cmn.criteria.FilterCriterion |
getStateFilter(de.xima.cmn.criteria.FilterCriterion.Operator operator,
EProcessListView view) |
static de.xima.cmn.criteria.FilterCriterion |
getStringFilter(String key,
String value,
EProcessListView view) |
static de.xima.cmn.criteria.FilterCriterion |
getVerifyUuidFilter(de.xima.cmn.criteria.FilterCriterion.Operator operator,
EProcessListView view) |
static boolean |
hasSortingCriteria(de.xima.cmn.criteria.AQueryCriteriaManager qcm,
de.xima.cmn.criteria.SortingCriterion sorting) |
public static final List<de.xima.cmn.criteria.FilterCriterion> getGridFilterCriteria(String field, Object value, Locale locale)
ExtendedEntityModel
<Vorgang
> (i.e. the form record data) by a
given field with the given valuefield
- determines which DB field of the process data should be filteredvalue
- the given field should containList
of FilterCriterion
s for the given key and valuepublic static final de.xima.cmn.criteria.SortingCriterion getGridSortingCriteria(String sortField, org.primefaces.model.SortOrder sortOrder)
public static final de.xima.cmn.criteria.FilterCriterion getStringFilter(String key, String value, EProcessListView view)
public static final de.xima.cmn.criteria.FilterCriterion getDateFilter(String key, Date value, de.xima.cmn.criteria.FilterCriterion.Operator operator, EProcessListView view)
public static final de.xima.cmn.criteria.FilterCriterion getFutureFilter(EProcessListView view, Instant now)
public static final de.xima.cmn.criteria.FilterCriterion getReadFilter(boolean read, EProcessListView view)
public static final de.xima.cmn.criteria.FilterCriterion getAttachmentsFilter(boolean withAttachments, EProcessListView view)
public static final de.xima.cmn.criteria.FilterCriterion getStateFilter(de.xima.cmn.criteria.FilterCriterion.Operator operator, EProcessListView view)
public static final de.xima.cmn.criteria.FilterCriterion getVerifyUuidFilter(de.xima.cmn.criteria.FilterCriterion.Operator operator, EProcessListView view)
public static final de.xima.cmn.criteria.FilterCriterion getSavedFilter(EProcessListView view)
public static final de.xima.cmn.criteria.FilterCriterion getNotSavedFilter(EProcessListView view)
public static final List<de.xima.cmn.criteria.FilterCriterion> getProjektTitleLikeCriteria(String value, EProcessListView view)
public static final boolean hasSortingCriteria(de.xima.cmn.criteria.AQueryCriteriaManager qcm, de.xima.cmn.criteria.SortingCriterion sorting)
Copyright © 2021 XIMA MEDIA GmbH. All rights reserved.