public class ModuleCriteria extends PagingCriteria
PagingCriteria.DynamicOrdering
Constructor and Description |
---|
ModuleCriteria()
Default constructor
|
ModuleCriteria(int count) |
ModuleCriteria(int index,
int count) |
Modifier and Type | Method and Description |
---|---|
String |
getDescriptionPattern() |
Boolean |
getExecatubale() |
String |
getHash()
Returns the module hash.
|
Long |
getId() |
String |
getNamePattern()
getter for name pattern
|
ModuleOrdering |
getOrdering()
Returns the ordering.
|
Date |
getUploadedFrom() |
Date |
getUploadedTo() |
String |
getVersionPattern()
gets version pattern
|
boolean |
isIncludeEntries()
Returns true if the module entries are to be included (default false).
|
boolean |
isIncludeExecutableOnly()
Returns true if only the executable modules are to be included (default false).
|
boolean |
isIncludeImports()
Returns true if the imported modules are to be included (default false).
|
boolean |
isIncludeLatestOnly()
Returns true if only the latest uploaded modules should be included (default false).
|
boolean |
isIncludeSystem()
Returns true if the system modules are to be included (default false).
|
boolean |
isIncludeUnloaded()
Returns true if the unloaded modules are to be included (default false).
|
boolean |
isNamePatternCaseInsensitive() |
boolean |
isVersionPatternCaseInsensitive() |
void |
setDescriptionPattern(String pattern) |
void |
setExecutable(Boolean value) |
void |
setHash(String hash)
Sets the module hash
|
void |
setId(Long id) |
void |
setIncludeEntries(boolean includeEntries)
Sets whether the module entries are to be included (default false).
|
void |
setIncludeExecutableOnly(boolean includeExecutableOnly)
Sets whether only the executable modules are to be included (default false).
|
void |
setIncludeImports(boolean includeImports)
Sets whether the imported modules are to be included (default false).
|
void |
setIncludeLatestOnly(boolean latestOnly)
Sets including of only the latest uploaded modules (default false).
|
void |
setIncludeSystem(boolean includeSystem)
Sets whether the system modules are to be included (default false).
|
void |
setIncludeUnloaded(boolean includeUnloaded)
Sets whether the unloaded modules are to be included (default false).
|
void |
setNamePattern(String namePattern)
set name pattern
|
void |
setNamePatternCaseInsensitive(boolean namePatternCaseInsensitive)
Sets the value of a flag specifying whether the name pattern is case
insensitive.
|
void |
setOrdering(ModuleColumn column,
OrderDirection direction)
Sets the ordering using the given column and direction.
|
void |
setUploadedFrom(Date from) |
void |
setUploadedTo(Date to) |
void |
setVersionPattern(String versionPattern)
setter for version pattern
|
void |
setVersionPatternCaseInsensitive(boolean versionPatternCaseInsensitive)
Sets the value of a flag specifying whether the version pattern is case
insensitive.
|
getCount, getDynamicOrdering, getFilters, getIndex, isPaged, setCount, setDynamicOrdering, setFilters, setIndex
public ModuleCriteria()
public ModuleCriteria(int index, int count)
index
- count
- public ModuleCriteria(int count)
count
- public String getNamePattern()
public void setNamePattern(String namePattern)
namePattern
- public boolean isNamePatternCaseInsensitive()
true
if the name pattern is case insensitivepublic void setNamePatternCaseInsensitive(boolean namePatternCaseInsensitive)
namePatternCaseInsensitive
- public String getVersionPattern()
public void setVersionPattern(String versionPattern)
versionPattern
- public boolean isVersionPatternCaseInsensitive()
true
if the version pattern is case insensitivepublic void setVersionPatternCaseInsensitive(boolean versionPatternCaseInsensitive)
versionPatternCaseInsensitive
- public String getHash()
public void setHash(String hash)
hash
- public boolean isIncludeLatestOnly()
public void setIncludeLatestOnly(boolean latestOnly)
latestOnly
- public boolean isIncludeSystem()
public void setIncludeSystem(boolean includeSystem)
includeSystem
- public boolean isIncludeUnloaded()
public void setIncludeUnloaded(boolean includeUnloaded)
includeUnloaded
- public boolean isIncludeImports()
public void setIncludeImports(boolean includeImports)
includeImports
- public boolean isIncludeEntries()
public void setIncludeEntries(boolean includeEntries)
includeEntries
- public boolean isIncludeExecutableOnly()
public void setIncludeExecutableOnly(boolean includeExecutableOnly)
includeExecutableOnly
- public void setId(Long id)
public Long getId()
public void setDescriptionPattern(String pattern)
public String getDescriptionPattern()
public void setUploadedFrom(Date from)
public Date getUploadedFrom()
public void setUploadedTo(Date to)
public Date getUploadedTo()
public void setExecutable(Boolean value)
public Boolean getExecatubale()
public void setOrdering(ModuleColumn column, OrderDirection direction)
column
- direction
- public ModuleOrdering getOrdering()
Copyright © 2007-2020 Whitestein Technologies. All Rights Reserved.