|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.cgiams.esl.service.ValueListSearchContextImpl
Field Summary |
Fields inherited from interface com.cgiams.esl.service.ValueListSearchContext |
UNDEFINED_MAX_ROWS |
Constructor Summary | |
ValueListSearchContextImpl()
Default constructor. |
Method Summary | |
java.lang.String |
getListID()
This method retrieves the unique ID associated with this is list context. |
int |
getMaxValues()
Gets the maximum number of values that should be returned for the list. |
java.lang.Object |
getSearchCriteria()
The incoming object should provide the necessary details to instruct the ValueListHandler service on where to go and how to query for the value objects. |
boolean |
moreValues()
Determines whether the incoming search request is asking for the next set of values associated with this list id. |
void |
setGetMoreValues(boolean ab_more_values)
Sets whether the ValueListHandler should retrieve the next set of values for an existing list id. |
void |
setListID(java.lang.String as_id)
This method assigns an ID to the eventual list of value objects that will be returned after calling the ValueListHandler.getValueObjects() method. |
void |
setMaxValues(int ai_max_values)
Set the maximum number of values that should be returned for the list. |
void |
setSearchCriteria(java.lang.Object ao_search_criteria)
The incoming object should provide the necessary details to instruct the ValueListHandler service on where to go and how to query for the value objects. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ValueListSearchContextImpl()
Method Detail |
public void setListID(java.lang.String as_id)
setListID
in interface ValueListSearchContext
as_id
- A unique identifier for the list being returned.public java.lang.String getListID()
getListID
in interface ValueListSearchContext
java.lang.IllegalStateException
- If the list ID is not specified.public void setMaxValues(int ai_max_values) throws java.lang.IllegalArgumentException
setMaxValues
in interface ValueListSearchContext
ai_max_values
- The maximum number of rows to return in a list.
java.lang.IllegalArgumentException
- If a negative number or zero is provided.public int getMaxValues()
getMaxValues
in interface ValueListSearchContext
public void setSearchCriteria(java.lang.Object ao_search_criteria) throws java.lang.IllegalArgumentException
setSearchCriteria
in interface ValueListSearchContext
ao_search_criteria
- A generic object.
java.lang.IllegalArgumentException
- If the incoming search criteria is null.public java.lang.Object getSearchCriteria()
getSearchCriteria
in interface ValueListSearchContext
java.lang.IllegalStateException
- If the incoming search criteria is null.public void setGetMoreValues(boolean ab_more_values)
setGetMoreValues
in interface ValueListSearchContext
ab_more_values
- True if more values should be returned, False if
this is the initial request.public boolean moreValues()
moreValues
in interface ValueListSearchContext
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |