public class SavedDocumentCriteria extends PagingCriteria
Todo
-s.PagingCriteria.DynamicOrdering
Constructor and Description |
---|
SavedDocumentCriteria()
Default constructor.
|
SavedDocumentCriteria(int count)
Constructor with paging ON and given result count.
|
SavedDocumentCriteria(int index,
int count)
Constructor with paging ON and given index and result count.
|
SavedDocumentCriteria(SavedDocumentCriteria other)
Copy constructor.
|
Modifier and Type | Method and Description |
---|---|
String |
getDocumentIdPattern() |
Long |
getId() |
SavedDocumentOrdering |
getOrdering()
Returns the ordering.
|
String |
getSavedBy()
Returns id of person for which saved document should be selected.
|
Date |
getSavedFrom()
Returns saved from.
|
Date |
getSavedTo()
Returns saved to.
|
String |
getTitlePattern()
Returns the title pattern.
|
boolean |
isDocumentIdPatternCaseInsensitive()
Returns a flag indicating whether the documentId pattern is case insensitive or not.
|
boolean |
isIncludeContent()
Returns true if content should be included.
|
boolean |
isTitlePatternCaseInsensitive()
Returns a flag indicating whether the title pattern is case insensitive or not.
|
void |
setDocumentIdPattern(String documentId)
Sets the documentId pattern.
|
void |
setDocumentIdPatternCaseInsensitive(boolean documentIdPatternCaseInsensitive)
Sets the flag indicating that documentId pattern is case insensitive.
|
void |
setId(Long id)
Sets id of saved document.
|
void |
setIncludeContent(boolean includeContent)
Sets whether the content should be included, default
false . |
void |
setOrdering(SavedDocumentColumn column)
Sets the ascending ordering using the given column.
|
void |
setOrdering(SavedDocumentColumn column,
OrderDirection direction)
Sets the ordering using the given column and direction.
|
void |
setOrdering(SavedDocumentOrdering ordering)
Sets the ordering.
|
void |
setSavedBy(String savedBy)
Sets id of person for which saved document should be selected.
|
void |
setSavedFrom(Date savedFrom)
Sets saved from.
|
void |
setSavedTo(Date savedTo)
Sets saved to.
|
void |
setTitlePattern(String titlePattern)
Sets the title pattern.
|
void |
setTitlePatternCaseInsensitive(boolean titlePatternCaseInsensitive)
Sets the flag indicating that title pattern is case insensitive.
|
getCount, getDynamicOrdering, getFilters, getIndex, isPaged, setCount, setDynamicOrdering, setFilters, setIndex
public SavedDocumentCriteria()
public SavedDocumentCriteria(int count)
count
- public SavedDocumentCriteria(int index, int count)
index
- count
- public SavedDocumentCriteria(SavedDocumentCriteria other)
other
- public Long getId()
null
public void setId(Long id)
id
- public String getDocumentIdPattern()
null
public void setDocumentIdPattern(String documentId)
documentId
- public boolean isDocumentIdPatternCaseInsensitive()
public void setDocumentIdPatternCaseInsensitive(boolean documentIdPatternCaseInsensitive)
documentIdPatternCaseInsensitive
- public String getSavedBy()
public void setSavedBy(String savedBy)
savedBy
- public String getTitlePattern()
public void setTitlePattern(String titlePattern)
titlePattern
- public boolean isTitlePatternCaseInsensitive()
public void setTitlePatternCaseInsensitive(boolean titlePatternCaseInsensitive)
titlePatternCaseInsensitive
- public Date getSavedFrom()
public void setSavedFrom(Date savedFrom)
savedFrom
- public Date getSavedTo()
public void setSavedTo(Date savedTo)
savedTo
- public boolean isIncludeContent()
public void setIncludeContent(boolean includeContent)
false
.includeContent
- public void setOrdering(SavedDocumentOrdering ordering)
ordering
- public void setOrdering(SavedDocumentColumn column)
column
- public void setOrdering(SavedDocumentColumn column, OrderDirection direction)
column
- direction
- public SavedDocumentOrdering getOrdering()
Copyright © 2007-2020 Whitestein Technologies. All Rights Reserved.