Class CaseEventCriteria
java.lang.Object
com.aquima.interactions.process.search.CaseEventCriteria
This class may be used to create selection criteria for case events
- Since:
- 9.6
- Author:
- Voicu Moldovan
-
Constructor Summary
ConstructorsConstructorDescriptionCaseEventCriteria
(Integer page, Integer pageSize, String sort) Criteria for searching case events.CaseEventCriteria
(Long caseId, Integer page, Integer pageSize, String sort) Criteria for searching case events. -
Method Summary
Modifier and TypeMethodDescriptionThis method returns the caseid filterThis method returns the id filterThis method returns the name filtergetOrder()
getPage()
String[]
This method returns the replayedeventid filterThis method returns the status filterThis method returns the taskid filterThis method returns the timestamp filtergetTotal()
This method returns the type filterThis method returns the username filterboolean
This method returns an indicator whether this criteria has a caseid filter.boolean
This method returns an indicator whether this criteria has an id filter.boolean
This method returns an indicator whether this criteria has a name filter.boolean
This method returns an indicator whether this criteria has a replayedeventid filter.boolean
This method returns an indicator whether this criteria has a status filter.boolean
This method returns an indicator whether this criteria has a taskid filter.boolean
This method returns an indicator whether this criteria has a timestamp filter.boolean
This method returns an indicator whether this criteria has a type filter.boolean
This method returns an indicator whether this criteria has a username filter.void
Sets filtering by case ID.This method sets a caseid filter to the criteria.This method sets an id filter to the criteria.This method sets a name filter to the criteria.void
Sets the sorting order.void
Sets the page to retrieve.void
setPageSize
(Integer pageSize) Sets the page size.void
setProperties
(String[] properties) Sets the case event properties to sort byThis method sets a replayedeventid filter to the criteria.This method sets a status filter to the criteria.This method sets a taskid filter to the criteria.This method sets a timestamp filter to the criteria.void
Sets the total number of results without paging applied.This method sets a type filter to the criteria.This method sets a username filter to the criteria.
-
Constructor Details
-
CaseEventCriteria
Criteria for searching case events.- Parameters:
caseId
- the case id, may be nullpage
- the page to retrieve, may be nullpageSize
- the page size, may be nullsort
- the case event properties to sort by, comma separated without spaces. may be null
-
CaseEventCriteria
Criteria for searching case events.- Parameters:
page
- the page to retrieve, may be nullpageSize
- the page size, may be nullsort
- the case event properties to sort by, comma separated without spaces. may be null
-
-
Method Details
-
getTotal
- Returns:
- the total number of results, without paging applied.
-
setTotal
Sets the total number of results without paging applied. This property is set by the persistence layer.- Parameters:
total
- the total number of results
-
getPage
- Returns:
- the current page if paging is used, null otherwise
-
setPage
Sets the page to retrieve. If null, no paging will be used.- Parameters:
page
- the page number (first page = 0)
-
getPageSize
- Returns:
- the page size if paging is used, null otherwise
-
setPageSize
Sets the page size. If null, no paging will be used.- Parameters:
pageSize
- the page size
-
getCaseId
- Returns:
- The case ID filter
-
setCaseId
Sets filtering by case ID.- Parameters:
caseId
- the case ID to filter by
-
getProperties
- Returns:
- the case event properties to sort by
-
setProperties
Sets the case event properties to sort by- Parameters:
properties
- the case event properties
-
getOrder
- Returns:
- the sorting order
-
setOrder
Sets the sorting order. If something other than "asc" or "desc" is passed, the order is set to asc- Parameters:
order
- String containing "asc" or "desc"
-
hasIdFilter
public boolean hasIdFilter()This method returns an indicator whether this criteria has an id filter.- Returns:
- Indicator of having an id filter.
-
getIdFilter
This method returns the id filter- Returns:
- The id filter.
-
setIdFilter
This method sets an id filter to the criteria.- Returns:
- The filter.
-
hasNameFilter
public boolean hasNameFilter()This method returns an indicator whether this criteria has a name filter.- Returns:
- Indicator of having a name filter.
-
getNameFilter
This method returns the name filter- Returns:
- The name filter.
-
setNameFilter
This method sets a name filter to the criteria.- Returns:
- The filter.
-
hasStatusFilter
public boolean hasStatusFilter()This method returns an indicator whether this criteria has a status filter.- Returns:
- Indicator of having a status filter.
-
getStatusFilter
This method returns the status filter- Returns:
- The status filter.
-
setStatusFilter
This method sets a status filter to the criteria.- Returns:
- The filter.
-
hasTimestampFilter
public boolean hasTimestampFilter()This method returns an indicator whether this criteria has a timestamp filter.- Returns:
- Indicator of having a timestamp filter.
-
getTimestampFilter
This method returns the timestamp filter- Returns:
- The timestamp filter.
-
setTimestampFilter
This method sets a timestamp filter to the criteria.- Returns:
- The filter.
-
hasTypeFilter
public boolean hasTypeFilter()This method returns an indicator whether this criteria has a type filter.- Returns:
- Indicator of having a type filter.
-
getTypeFilter
This method returns the type filter- Returns:
- The type filter.
-
setTypeFilter
This method sets a type filter to the criteria.- Returns:
- The filter.
-
hasUserNameFilter
public boolean hasUserNameFilter()This method returns an indicator whether this criteria has a username filter.- Returns:
- Indicator of having a username filter.
-
getUserNameFilter
This method returns the username filter- Returns:
- The username filter.
-
setUserNameFilter
This method sets a username filter to the criteria.- Returns:
- The filter.
-
hasCaseIdFilter
public boolean hasCaseIdFilter()This method returns an indicator whether this criteria has a caseid filter.- Returns:
- Indicator of having a caseid filter.
-
getCaseIdFilter
This method returns the caseid filter- Returns:
- The caseid filter.
-
setCaseIdFilter
This method sets a caseid filter to the criteria.- Returns:
- The filter.
-
hasTaskIdFilter
public boolean hasTaskIdFilter()This method returns an indicator whether this criteria has a taskid filter.- Returns:
- Indicator of having a taskid filter.
-
getTaskIdFilter
This method returns the taskid filter- Returns:
- The taskid filter.
-
setTaskIdFilter
This method sets a taskid filter to the criteria.- Returns:
- The filter.
-
hasReplayedEventIdFilter
public boolean hasReplayedEventIdFilter()This method returns an indicator whether this criteria has a replayedeventid filter.- Returns:
- Indicator of having a replayedeventid filter.
-
getReplayedEventIdFilter
This method returns the replayedeventid filter- Returns:
- The replayedeventid filter.
-
setReplayedEventIdFilter
This method sets a replayedeventid filter to the criteria.- Returns:
- The filter.
-