public class TodoListCriteria extends PagingCriteria implements TodoIncludes
PagingCriteria.DynamicOrdering| Constructor and Description |
|---|
TodoListCriteria()
Default constructor with paging OFF.
|
TodoListCriteria(int count)
Constructor with paging ON and given result count.
|
TodoListCriteria(int index,
int count)
Constructor with paging ON and given index and result count.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.Long |
getModelInstanceId() |
java.lang.String |
getTitle()
Returns the todo title.
|
java.lang.String |
getTitlePattern()
Returns title pattern.
|
boolean |
isIncludeAllocatedByOthers()
Returns whether to include todos that are allocated by others.
|
boolean |
isIncludeContent()
Returns true if todo content should be included.
|
boolean |
isIncludePerformers()
Returns true if todo performers should be included.
|
boolean |
isIncludeSubstituted()
Returns whether to include todos of substituted persons.
|
boolean |
isTitlePatternCaseInsensitive()
Returns a flag indicating whether the title pattern is case insensitive or not.
|
void |
setIncludeAllocatedByOthers(boolean includeAllocatedByOthers)
Sets whether to include todos that are allocated by others.
|
void |
setIncludeContent(boolean includeContent)
Sets whether to include todo content, default
false. |
void |
setIncludePerformers(boolean includePerformers)
Sets whether to include todo performers, default
false. |
void |
setIncludeSubstituted(boolean includeSubstituted)
Sets whether to include todos of substituted persons, default
true. |
void |
setModelInstanceId(java.lang.Long modelInstanceId)
Sets the model instance if, may be
null. |
void |
setTitle(java.lang.String title)
Sets the title.
|
void |
setTitlePattern(java.lang.String titlePattern)
Sets todo title pattern.
|
void |
setTitlePatternCaseInsensitive(boolean titlePatternCaseInsensitive)
Sets the flag indicating that title pattern is case insensitive.
|
getCount, getDynamicOrdering, getFilters, getIndex, isPaged, setCount, setDynamicOrdering, setFilters, setIndexpublic TodoListCriteria()
public TodoListCriteria(int count)
count - public TodoListCriteria(int index,
int count)
index - count - public void setIncludeContent(boolean includeContent)
false.includeContent - public boolean isIncludeContent()
TodoIncludesisIncludeContent in interface TodoIncludespublic void setIncludePerformers(boolean includePerformers)
false.includePerformers - public boolean isIncludePerformers()
TodoIncludesisIncludePerformers in interface TodoIncludespublic void setIncludeSubstituted(boolean includeSubstituted)
true.includeSubstituted - public boolean isIncludeSubstituted()
public void setIncludeAllocatedByOthers(boolean includeAllocatedByOthers)
includeAllocatedByOthers - public boolean isIncludeAllocatedByOthers()
public java.lang.String getTitle()
public void setTitle(java.lang.String title)
setTitlePattern(String),
this will create a query where equals is used to compare todo title.title - public java.lang.String getTitlePattern()
public void setTitlePattern(java.lang.String titlePattern)
titlePattern - public boolean isTitlePatternCaseInsensitive()
public void setTitlePatternCaseInsensitive(boolean titlePatternCaseInsensitive)
titlePatternCaseInsensitive - public java.lang.Long getModelInstanceId()
nullpublic void setModelInstanceId(java.lang.Long modelInstanceId)
null.modelInstanceId - Copyright © 2007-2020 Whitestein Technologies. All Rights Reserved.