Class CaseEventCriteria

java.lang.Object
com.aquima.interactions.process.search.CaseEventCriteria

public class CaseEventCriteria extends Object
This class may be used to create selection criteria for case events
Since:
9.6
Author:
Voicu Moldovan
  • Constructor Details

    • CaseEventCriteria

      public CaseEventCriteria(Long caseId, Integer page, Integer pageSize, String sort)
      Criteria for searching case events.
      Parameters:
      caseId - the case id, may be null
      page - the page to retrieve, may be null
      pageSize - the page size, may be null
      sort - the case event properties to sort by, comma separated without spaces. may be null
    • CaseEventCriteria

      public CaseEventCriteria(Integer page, Integer pageSize, String sort)
      Criteria for searching case events.
      Parameters:
      page - the page to retrieve, may be null
      pageSize - the page size, may be null
      sort - the case event properties to sort by, comma separated without spaces. may be null
  • Method Details

    • getTotal

      public Integer getTotal()
      Returns:
      the total number of results, without paging applied.
    • setTotal

      public void setTotal(Integer total)
      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

      public Integer getPage()
      Returns:
      the current page if paging is used, null otherwise
    • setPage

      public void setPage(Integer page)
      Sets the page to retrieve. If null, no paging will be used.
      Parameters:
      page - the page number (first page = 0)
    • getPageSize

      public Integer getPageSize()
      Returns:
      the page size if paging is used, null otherwise
    • setPageSize

      public void setPageSize(Integer pageSize)
      Sets the page size. If null, no paging will be used.
      Parameters:
      pageSize - the page size
    • getCaseId

      public Long getCaseId()
      Returns:
      The case ID filter
    • setCaseId

      public void setCaseId(Long caseId)
      Sets filtering by case ID.
      Parameters:
      caseId - the case ID to filter by
    • getProperties

      public String[] getProperties()
      Returns:
      the case event properties to sort by
    • setProperties

      public void setProperties(String[] properties)
      Sets the case event properties to sort by
      Parameters:
      properties - the case event properties
    • getOrder

      public String getOrder()
      Returns:
      the sorting order
    • setOrder

      public void setOrder(String order)
      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

      public PropertyFilter getIdFilter()
      This method returns the id filter
      Returns:
      The id filter.
    • setIdFilter

      public PropertyFilter 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

      public PropertyFilter getNameFilter()
      This method returns the name filter
      Returns:
      The name filter.
    • setNameFilter

      public PropertyFilter 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

      public PropertyFilter getStatusFilter()
      This method returns the status filter
      Returns:
      The status filter.
    • setStatusFilter

      public PropertyFilter 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

      public PropertyFilter getTimestampFilter()
      This method returns the timestamp filter
      Returns:
      The timestamp filter.
    • setTimestampFilter

      public PropertyFilter 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

      public PropertyFilter getTypeFilter()
      This method returns the type filter
      Returns:
      The type filter.
    • setTypeFilter

      public PropertyFilter 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

      public PropertyFilter getUserNameFilter()
      This method returns the username filter
      Returns:
      The username filter.
    • setUserNameFilter

      public PropertyFilter 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

      public PropertyFilter getCaseIdFilter()
      This method returns the caseid filter
      Returns:
      The caseid filter.
    • setCaseIdFilter

      public PropertyFilter 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

      public PropertyFilter getTaskIdFilter()
      This method returns the taskid filter
      Returns:
      The taskid filter.
    • setTaskIdFilter

      public PropertyFilter 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

      public PropertyFilter getReplayedEventIdFilter()
      This method returns the replayedeventid filter
      Returns:
      The replayedeventid filter.
    • setReplayedEventIdFilter

      public PropertyFilter setReplayedEventIdFilter()
      This method sets a replayedeventid filter to the criteria.
      Returns:
      The filter.