|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.ofbiz.entity.util.EntityFindOptions
public class EntityFindOptions
Contains a number of variables used to select certain advanced finding options.
Field Summary | |
---|---|
static int |
CONCUR_READ_ONLY
Concurrency constant from the java.sql.ResultSet object for convenience |
static int |
CONCUR_UPDATABLE
Concurrency constant from the java.sql.ResultSet object for convenience |
protected boolean |
distinct
|
protected int |
fetchSize
|
protected int |
maxRows
|
protected int |
resultSetConcurrency
|
protected int |
resultSetType
|
protected boolean |
specifyTypeAndConcur
|
static int |
TYPE_FORWARD_ONLY
Type constant from the java.sql.ResultSet object for convenience |
static int |
TYPE_SCROLL_INSENSITIVE
Type constant from the java.sql.ResultSet object for convenience |
static int |
TYPE_SCROLL_SENSITIVE
Type constant from the java.sql.ResultSet object for convenience |
Constructor Summary | |
---|---|
EntityFindOptions()
Default constructor. |
|
EntityFindOptions(boolean specifyTypeAndConcur,
int resultSetType,
int resultSetConcurrency,
boolean distinct)
|
|
EntityFindOptions(boolean specifyTypeAndConcur,
int resultSetType,
int resultSetConcurrency,
int fetchSize,
int maxRows,
boolean distinct)
|
Method Summary | |
---|---|
boolean |
getDistinct()
Specifies whether the values returned should be filtered to remove duplicate values. |
int |
getFetchSize()
Specifies the fetch size for this query. |
int |
getMaxRows()
Specifies the max number of rows to return, 0 means all rows. |
int |
getResultSetConcurrency()
Specifies whether or not the ResultSet can be updated. |
int |
getResultSetType()
Specifies how the ResultSet will be traversed. |
boolean |
getSpecifyTypeAndConcur()
If true the following two parameters (resultSetType and resultSetConcurrency) will be used to specify how the results will be used; if false the default values for the JDBC driver will be used |
void |
setDistinct(boolean distinct)
Specifies whether the values returned should be filtered to remove duplicate values. |
void |
setFetchSize(int fetchSize)
Specifies the fetch size for this query. |
void |
setMaxRows(int maxRows)
Specifies the max number of rows to return, 0 means all rows. |
void |
setResultSetConcurrency(int resultSetConcurrency)
Specifies whether or not the ResultSet can be updated. |
void |
setResultSetType(int resultSetType)
Specifies how the ResultSet will be traversed. |
void |
setSpecifyTypeAndConcur(boolean specifyTypeAndConcur)
If true the following two parameters (resultSetType and resultSetConcurrency) will be used to specify how the results will be used; if false the default values for the JDBC driver will be used |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int TYPE_FORWARD_ONLY
public static final int TYPE_SCROLL_INSENSITIVE
public static final int TYPE_SCROLL_SENSITIVE
public static final int CONCUR_READ_ONLY
public static final int CONCUR_UPDATABLE
protected boolean specifyTypeAndConcur
protected int resultSetType
protected int resultSetConcurrency
protected int fetchSize
protected int maxRows
protected boolean distinct
Constructor Detail |
---|
public EntityFindOptions()
public EntityFindOptions(boolean specifyTypeAndConcur, int resultSetType, int resultSetConcurrency, int fetchSize, int maxRows, boolean distinct)
public EntityFindOptions(boolean specifyTypeAndConcur, int resultSetType, int resultSetConcurrency, boolean distinct)
Method Detail |
---|
public boolean getSpecifyTypeAndConcur()
public void setSpecifyTypeAndConcur(boolean specifyTypeAndConcur)
public int getResultSetType()
public void setResultSetType(int resultSetType)
public int getResultSetConcurrency()
public void setResultSetConcurrency(int resultSetConcurrency)
public int getFetchSize()
public void setFetchSize(int fetchSize)
public int getMaxRows()
public void setMaxRows(int maxRows)
public boolean getDistinct()
public void setDistinct(boolean distinct)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |