public final class ModelInstanceCriteria extends PagingCriteria
PagingCriteria.DynamicOrdering
Constructor and Description |
---|
ModelInstanceCriteria()
Default constructor with paging OFF.
|
ModelInstanceCriteria(int count)
Constructor with paging ON and given result count.
|
ModelInstanceCriteria(int index,
int count)
Constructor with paging ON and given index and result count.
|
ModelInstanceCriteria(ModelInstanceCriteria other)
Copy constructor.
|
Modifier and Type | Method and Description |
---|---|
Date |
getCreateFrom() |
Date |
getCreateTo() |
Collection<Long> |
getExcludeIds()
Returns the id exclude list.
|
String |
getFilterExpression()
Returns the filter expression.
|
Date |
getFinishedFrom() |
Date |
getFinishedTo() |
Long |
getId() |
Collection<Long> |
getIncludeIds()
Returns the id include list.
|
Long |
getModelId()
Returns the model id.
|
Long |
getModelInstanceId()
Gets the model instance id (the first item of id include list).
|
String |
getModelNamePattern()
Returns the model name pattern.
|
String |
getModelVersionPattern()
Returns the model version pattern.
|
ModelInstanceOrdering |
getOrdering()
Returns the ordering.
|
String |
getParameterPattern(String parameterName)
Returns parameter pattern for some parameter specified by name
|
Map<String,String> |
getParameterPatterns()
Returns parameter patterns
|
Long |
getParentModelInstanceId() |
Set<ModelInstanceState> |
getStates()
Returns the set of states.
|
boolean |
isIncludeProperties()
Returns true if process properties should be included.
|
void |
setCreateFrom(Date createFrom) |
void |
setCreateTo(Date createTo) |
void |
setExcludeIds(Collection<Long> ids)
Sets the id exclude list.
|
void |
setFilterExpression(String filterExpression)
Sets the filter expression.
|
void |
setFinishedFrom(Date finishedFrom) |
void |
setFinishedTo(Date finishedTo) |
void |
setId(Long id) |
void |
setIncludeIds(Collection<Long> ids)
Sets the id include list.
|
void |
setIncludeProperties(boolean includeProperties)
Sets whether process properties should be included.
|
void |
setModelId(Long modelId)
Sets the model id.
|
void |
setModelInstanceId(Long id)
Sets the model instance id (overrides the id include list).
|
void |
setModelNamePattern(String modelNamePattern)
Sets the model name pattern.
|
void |
setModelVersionPattern(String modelVersionPattern)
Sets the model version pattern.
|
void |
setOrdering(ModelInstanceColumn column)
Sets the ascending ordering using the given column.
|
void |
setOrdering(ModelInstanceColumn column,
OrderDirection direction)
Sets the ordering using the given column and direction.
|
void |
setOrdering(ModelInstanceOrdering ordering)
Sets the ordering.
|
ModelInstanceCriteria |
setParameterPattern(String parameterName,
String parameterPattern)
Sets the string pattern of a process parameter identified by given parameter name.
|
void |
setParentModelInstanceId(Long parentModelInstanceId) |
void |
setStates(Set<ModelInstanceState> states)
Sets the states.
|
getCount, getDynamicOrdering, getFilters, getIndex, isPaged, setCount, setDynamicOrdering, setFilters, setIndex
public ModelInstanceCriteria()
public ModelInstanceCriteria(int count)
count
- public ModelInstanceCriteria(int index, int count)
index
- count
- public ModelInstanceCriteria(ModelInstanceCriteria other)
other
- public void setStates(Set<ModelInstanceState> states)
states
- public Set<ModelInstanceState> getStates()
public void setModelInstanceId(Long id)
id
- public Long getModelInstanceId()
public void setIncludeIds(Collection<Long> ids)
ids
- public Collection<Long> getIncludeIds()
public void setExcludeIds(Collection<Long> ids)
ids
- public Collection<Long> getExcludeIds()
public Long getModelId()
public void setModelId(Long modelId)
modelId
- public String getModelNamePattern()
public void setModelNamePattern(String modelNamePattern)
modelNamePattern
- public String getModelVersionPattern()
public void setModelVersionPattern(String modelVersionPattern)
modelVersionPattern
- public Map<String,String> getParameterPatterns()
public String getParameterPattern(String parameterName)
parameterName
- public ModelInstanceCriteria setParameterPattern(String parameterName, String parameterPattern)
parameterName
- parameterPattern
- public ModelInstanceOrdering getOrdering()
public void setOrdering(ModelInstanceOrdering ordering)
ordering
- public void setOrdering(ModelInstanceColumn column)
column
- public void setOrdering(ModelInstanceColumn column, OrderDirection direction)
column
- direction
- public boolean isIncludeProperties()
public void setIncludeProperties(boolean includeProperties)
includeProperties
- public Date getCreateFrom()
public void setCreateFrom(Date createFrom)
createFrom
- the createFrom to setpublic Date getCreateTo()
public void setCreateTo(Date createTo)
createTo
- the createTo to setpublic String getFilterExpression()
public void setFilterExpression(String filterExpression)
filterExpression
- public void setId(Long id)
public Long getId()
public void setFinishedFrom(Date finishedFrom)
public Date getFinishedFrom()
public void setFinishedTo(Date finishedTo)
public Date getFinishedTo()
public Long getParentModelInstanceId()
public void setParentModelInstanceId(Long parentModelInstanceId)
Copyright © 2007-2020 Whitestein Technologies. All Rights Reserved.