Package com.soffid.iam.model.criteria
Class CriteriaSearchConfiguration
- java.lang.Object
-
- com.soffid.iam.model.criteria.CriteriaSearchConfiguration
-
public class CriteriaSearchConfiguration extends Object
Contains configuration parameters for aCriteriaSearch.- Author:
- Stefan Reichert, Peter Friese
-
-
Constructor Summary
Constructors Constructor Description CriteriaSearchConfiguration()Constructs a new CriteriaSearchConfiguration instance with all fields set to eithernullorfalse.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IntegergetFetchSize()Gets the fetch size.IntegergetFirstResult()Gets the first result to retrieve.IntegergetMaximumResultSize()Gets the maximum size of the search result.booleanisForceEagerLoading()Returns whether or not eager loading is enabled.voidsetFetchSize(Integer fetchSize)Sets the fetch size.voidsetFirstResult(Integer firstResult)Sets the first result to retrieve.voidsetForceEagerLoading(boolean forceEagerLoading)Sets whether or not eager loading is to be enabled.voidsetMaximumResultSize(Integer maximumResultSize)Sets the maxmimum size of the result.
-
-
-
Method Detail
-
isForceEagerLoading
public boolean isForceEagerLoading()
Returns whether or not eager loading is enabled.- Returns:
trueif eager loading is enabled,falseotherwise
-
setForceEagerLoading
public void setForceEagerLoading(boolean forceEagerLoading)
Sets whether or not eager loading is to be enabled.- Parameters:
forceEagerLoading-trueif eager loading is to be enabled,falseotherwise
-
getFirstResult
public Integer getFirstResult()
Gets the first result to retrieve.- Returns:
- the first result to retrieve
-
setFirstResult
public void setFirstResult(Integer firstResult)
Sets the first result to retrieve.- Parameters:
firstResult- the first result to retrieve
-
getFetchSize
public Integer getFetchSize()
Gets the fetch size.- Returns:
- the fetch size
-
setFetchSize
public void setFetchSize(Integer fetchSize)
Sets the fetch size.- Parameters:
fetchSize- the fetch size
-
getMaximumResultSize
public Integer getMaximumResultSize()
Gets the maximum size of the search result.- Returns:
- the maximum size of the search result.
-
setMaximumResultSize
public void setMaximumResultSize(Integer maximumResultSize)
Sets the maxmimum size of the result.- Parameters:
maximumResultSize- A number indicating how many results will be returned.
-
-