|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.sun.identity.policy.ValidValues
This class ValidValues
provides search results and a error
code indicating if the search was successfully or time limit exceeded or
search limit exceeded.
Field Summary | |
static int |
SIZE_LIMIT_EXCEEDED
Code used to indicate that the search was unsuccessful as the size limit exceeded during the search process. |
static int |
SUCCESS
Code used to indicate a successful search |
static int |
TIME_LIMIT_EXCEEDED
Code used to indicate that the search was unsuccessful as the time limit exceeded during the search process. |
Constructor Summary | |
ValidValues(int errorCode,
java.util.Set results)
Constructs a ValidValues given errorCode
and a set of values |
Method Summary | |
int |
getErrorCode()
Method which returns the error code of search. |
java.util.Set |
getSearchResults()
Method which returns the search results as a set. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final int SUCCESS
public static final int SIZE_LIMIT_EXCEEDED
public static final int TIME_LIMIT_EXCEEDED
Constructor Detail |
public ValidValues(int errorCode, java.util.Set results)
ValidValues
given errorCode
and a set of values
errorCode
- error coderesults
- set of values to be includedSUCCESS
,
SIZE_LIMIT_EXCEEDED
,
TIME_LIMIT_EXCEEDED
Method Detail |
public java.util.Set getSearchResults()
public int getErrorCode()
SUCCESS
, SIZE_LIMIT_EXCEEDED
and TIME_LIMIT_EXCEEDED
SUCCESS
,
SIZE_LIMIT_EXCEEDED
,
TIME_LIMIT_EXCEEDED
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |