public class CriteriaSearchConfiguration extends Object
CriteriaSearch.| Constructor and Description |
|---|
CriteriaSearchConfiguration()
Constructs a new CriteriaSearchConfiguration instance with all fields set to
either
null or false. |
| Modifier and Type | Method and Description |
|---|---|
Integer |
getFetchSize()
Gets the fetch size.
|
Integer |
getFirstResult()
Gets the first result to retrieve.
|
Integer |
getMaximumResultSize()
Gets the maximum size of the search result.
|
boolean |
isForceEagerLoading()
Returns whether or not eager loading is enabled.
|
void |
setFetchSize(Integer fetchSize)
Sets the fetch size.
|
void |
setFirstResult(Integer firstResult)
Sets the first result to retrieve.
|
void |
setForceEagerLoading(boolean forceEagerLoading)
Sets whether or not eager loading is to be enabled.
|
void |
setMaximumResultSize(Integer maximumResultSize)
Sets the maxmimum size of the result.
|
public CriteriaSearchConfiguration()
null or false.public boolean isForceEagerLoading()
true if eager loading is enabled, false otherwisepublic void setForceEagerLoading(boolean forceEagerLoading)
forceEagerLoading - true if eager loading is to be enabled, false otherwisepublic Integer getFirstResult()
public void setFirstResult(Integer firstResult)
firstResult - the first result to retrievepublic Integer getFetchSize()
public void setFetchSize(Integer fetchSize)
fetchSize - the fetch sizepublic Integer getMaximumResultSize()
public void setMaximumResultSize(Integer maximumResultSize)
maximumResultSize - A number indicating how many results will be returned.Copyright © 2013. All Rights Reserved.