public class TodoCriteria extends PagingCriteria implements TodoIncludes
Todo
-s.PagingCriteria.DynamicOrdering
Constructor and Description |
---|
TodoCriteria()
Default constructor.
|
TodoCriteria(int count)
Constructor with paging ON and given result count.
|
TodoCriteria(int index,
int count)
Constructor with paging ON and given index and result count.
|
TodoCriteria(TodoCriteria other)
Copy constructor.
|
Modifier and Type | Method and Description |
---|---|
String |
getAllocatedToLoginAndFullName() |
Date |
getFinishedFrom() |
Date |
getFinishedTo() |
Long |
getId() |
String |
getInterruptionReason()
Returns interruption reason used for filtering interrupted to-dos by reason.
|
Date |
getIssuedFrom() |
Date |
getIssuedTo() |
Long |
getModelInstanceId()
Returns the process id.
|
TodoOrdering |
getOrdering()
Returns the ordering.
|
String |
getRejectedBy()
Returns person's id used for filtering rejected to-dos.
|
Set<TodoStatus> |
getStatuses()
Returns the todo statuses.
|
String |
getTaskNamespace() |
String |
getTitle()
Returns the todo title.
|
String |
getTitlePattern()
Returns the todo title pattern.
|
String |
getType()
Returns the todo type.
|
boolean |
isIncludeContent()
Returns true if todo content should be included.
|
boolean |
isIncludePerformers()
Returns true if todo performers should be included.
|
boolean |
isInterruptionReasonCaseInsensitive()
Returns the value of interruption reason case insensitive flag.
|
boolean |
isOrphaned()
Returns true if orphaned todos are requested.
|
boolean |
isTitlePatternCaseInsensitive()
Returns a flag indicating whether the title pattern is case insensitive or not.
|
void |
setAllocatedToLoginAndFullName(String allocatedTo) |
void |
setFinishedFrom(Date from) |
void |
setFinishedTo(Date to) |
void |
setId(Long id) |
void |
setIncludeContent(boolean includeContent)
Sets whether the todo content should be included, default
false . |
TodoCriteria |
setIncludePerformers(boolean includePerformers)
Sets whether the todo performers should be included, default
false . |
void |
setInterruptionReason(String interruptionReason)
Sets interruption reason for filtering interrupted to-dos by reason.
|
void |
setInterruptionReasonCaseInsensitive(boolean interruptionReasonCaseInsensitive)
Sets the value of interruption reason case insensitive flag.
|
void |
setIssuedFrom(Date issuedFrom) |
void |
setIssuedTo(Date to) |
void |
setModelInstanceId(Long modelInstanceId)
Sets the process id.
|
void |
setOrdering(TodoColumn column)
Sets the ascending ordering using the given column.
|
void |
setOrdering(TodoColumn column,
OrderDirection direction)
Sets the ordering using the given column and direction.
|
void |
setOrdering(TodoOrdering ordering)
Sets the ordering.
|
void |
setOrphaned(boolean orphaned)
Sets flag for requesting orphaned todos.
|
void |
setRejectedBy(String rejectedBy)
Sets person's id for filtering rejected to-dos.
|
void |
setStatuses(Set<TodoStatus> statuses)
Sets the todo statuses.
|
void |
setTaskNamespace(String value) |
void |
setTitle(String title)
Sets the title.
|
void |
setTitlePattern(String titlePattern)
Sets the todo title pattern.
|
void |
setTitlePatternCaseInsensitive(boolean titlePatternCaseInsensitive)
Sets the flag indicating that title pattern is case insensitive.
|
void |
setType(String type)
Sets the todo type.
|
getCount, getDynamicOrdering, getFilters, getIndex, isPaged, setCount, setDynamicOrdering, setFilters, setIndex
public TodoCriteria()
public TodoCriteria(int count)
count
- public TodoCriteria(int index, int count)
index
- count
- public TodoCriteria(TodoCriteria other)
other
- public Long getModelInstanceId()
public void setModelInstanceId(Long modelInstanceId)
modelInstanceId
- public Set<TodoStatus> getStatuses()
public void setStatuses(Set<TodoStatus> statuses)
statuses
- public String getType()
public void setType(String type)
type
- public String getTitle()
public void setTitle(String title)
setTitlePattern(String)
,
this will create a query where equals is used to compare todo title.title
- public String getTitlePattern()
public void setTitlePattern(String titlePattern)
titlePattern
- public boolean isTitlePatternCaseInsensitive()
public void setTitlePatternCaseInsensitive(boolean titlePatternCaseInsensitive)
titlePatternCaseInsensitive
- public boolean isIncludeContent()
TodoIncludes
isIncludeContent
in interface TodoIncludes
public void setIncludeContent(boolean includeContent)
false
.includeContent
- public boolean isIncludePerformers()
TodoIncludes
isIncludePerformers
in interface TodoIncludes
public TodoCriteria setIncludePerformers(boolean includePerformers)
false
.includePerformers
- public boolean isOrphaned()
public void setOrphaned(boolean orphaned)
orphaned
- public String getRejectedBy()
public void setRejectedBy(String rejectedBy)
rejectedBy
- person's idpublic String getInterruptionReason()
public void setInterruptionReason(String interruptionReason)
interruptionReason
- interruption reasonpublic boolean isInterruptionReasonCaseInsensitive()
public void setInterruptionReasonCaseInsensitive(boolean interruptionReasonCaseInsensitive)
interruptionReasonCaseInsensitive
- public void setOrdering(TodoOrdering ordering)
ordering
- public void setOrdering(TodoColumn column)
column
- public void setOrdering(TodoColumn column, OrderDirection direction)
column
- direction
- public TodoOrdering getOrdering()
public Date getIssuedFrom()
public void setIssuedFrom(Date issuedFrom)
public void setIssuedTo(Date to)
public Date getIssuedTo()
public void setId(Long id)
public Long getId()
public String getAllocatedToLoginAndFullName()
public void setAllocatedToLoginAndFullName(String allocatedTo)
public void setTaskNamespace(String value)
public String getTaskNamespace()
public void setFinishedFrom(Date from)
public Date getFinishedFrom()
public void setFinishedTo(Date to)
public Date getFinishedTo()
Copyright © 2007-2020 Whitestein Technologies. All Rights Reserved.