|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface SearchCriteria
Contains methods common to all search criteria.
| Field Summary | |
|---|---|
static int |
DEFAULT_MAX_RESULTS
Default number of maximum results |
static int |
SINGLE_RESULT
Default number for single result |
static int |
UNLIMITED_RESULTS
Constant that can be used with setMaxResults(int) to specify
unlimited results. |
static int |
WS_MAX_RESULTS
Maximum results for web service calls |
| Method Summary | |
|---|---|
String |
getEjbQL()
Returns the EJB-QL for this search criteria. |
int |
getFirstResult()
This returns the position of the first result to return for this criteria. |
boolean |
getLoadLazyProperties()
This returns whether lazy properties should be loaded for all search results. |
int |
getMaxResults()
This returns the maximum number of results to return for this criteria. |
Long |
getUid()
This returns the uid for the search object. |
boolean |
isEmpty()
Returns whether any search criteria exists. |
void |
setFirstResult(int i)
This sets the position of the first result to return for this criteria. |
void |
setLoadLazyProperties(boolean b)
This sets whether to lazy properties should be loaded for all search results. |
void |
setMaxResults(int i)
This sets the maximum number of results to return for this criteria. |
void |
setUid(Long l)
This sets the uid for the search object. |
| Field Detail |
|---|
static final int UNLIMITED_RESULTS
setMaxResults(int) to specify
unlimited results.
static final int SINGLE_RESULT
static final int DEFAULT_MAX_RESULTS
static final int WS_MAX_RESULTS
| Method Detail |
|---|
Long getUid()
Longvoid setUid(Long l)
l - Longint getMaxResults()
intvoid setMaxResults(int i)
i - intint getFirstResult()
intvoid setFirstResult(int i)
i - intboolean getLoadLazyProperties()
booleanvoid setLoadLazyProperties(boolean b)
b - booleanString getEjbQL()
Stringboolean isEmpty()
boolean
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||