|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.kuali.rice.core.api.criteria.QueryByCriteria.Builder
public static final class QueryByCriteria.Builder
Method Summary | |
---|---|
QueryByCriteria |
build()
Returns an instance of the object being built by this builder based on the current state of the builder. |
static QueryByCriteria.Builder |
create()
|
static QueryByCriteria |
fromPredicates(Predicate... predicates)
convenience method to create an immutable criteria from one or more predicates. |
CountFlag |
getCountFlag()
|
Integer |
getMaxResults()
|
Predicate[] |
getPredicates()
will return an array of the predicates. |
Integer |
getStartAtIndex()
|
void |
setCountFlag(CountFlag countFlag)
|
void |
setMaxResults(Integer maxResults)
|
void |
setPredicates(Predicate... predicates)
Sets the predicates. |
void |
setStartAtIndex(Integer startAtIndex)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static QueryByCriteria.Builder create()
public Integer getStartAtIndex()
public void setStartAtIndex(Integer startAtIndex)
public Integer getMaxResults()
public void setMaxResults(Integer maxResults)
public CountFlag getCountFlag()
public void setCountFlag(CountFlag countFlag)
public Predicate[] getPredicates()
public void setPredicates(Predicate... predicates)
predicates
- the predicates to set.public QueryByCriteria build()
ModelBuilder
build
in interface ModelBuilder
public static QueryByCriteria fromPredicates(Predicate... predicates)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |