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 eithernull
orfalse
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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.
-
-
-
Method Detail
-
isForceEagerLoading
public boolean isForceEagerLoading()
Returns whether or not eager loading is enabled.- Returns:
true
if eager loading is enabled,false
otherwise
-
setForceEagerLoading
public void setForceEagerLoading(boolean forceEagerLoading)
Sets whether or not eager loading is to be enabled.- Parameters:
forceEagerLoading
-true
if eager loading is to be enabled,false
otherwise
-
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.
-
-