Package com.sun.identity.policy
Class ValidValues
java.lang.Object
com.sun.identity.policy.ValidValues
Deprecated.
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
FieldsModifier and TypeFieldDescriptionstatic final intDeprecated.Code used to indicate that the search was unsuccessful as the size limit exceeded during the search process.static final intDeprecated.Code used to indicate a successful searchstatic final intDeprecated.Code used to indicate that the search was unsuccessful as the time limit exceeded during the search process. -
Constructor Summary
ConstructorsConstructorDescriptionValidValues(int errorCode, Set results) Deprecated.Constructs aValidValuesgivenerrorCodeand a set of values -
Method Summary
Modifier and TypeMethodDescriptionintDeprecated.Returns the error code of search.Deprecated.Returns the search results as a set.
-
Field Details
-
SUCCESS
public static final int SUCCESSDeprecated.Code used to indicate a successful search- See Also:
-
SIZE_LIMIT_EXCEEDED
public static final int SIZE_LIMIT_EXCEEDEDDeprecated.Code used to indicate that the search was unsuccessful as the size limit exceeded during the search process.- See Also:
-
TIME_LIMIT_EXCEEDED
public static final int TIME_LIMIT_EXCEEDEDDeprecated.Code used to indicate that the search was unsuccessful as the time limit exceeded during the search process.- See Also:
-
-
Constructor Details
-
ValidValues
Deprecated.Constructs aValidValuesgivenerrorCodeand a set of values- Parameters:
errorCode- error coderesults- set of values to be included- See Also:
-
-
Method Details
-
getSearchResults
Deprecated.Returns the search results as a set.- Returns:
- set of entries matching the search criteria. Each element in the Set is a String.
-
getErrorCode
public int getErrorCode()Deprecated.Returns the error code of search.- Returns:
- Error code of search. The possible values are
SUCCESS,SIZE_LIMIT_EXCEEDEDandTIME_LIMIT_EXCEEDED - See Also:
-
com.sun.identity.entitlementinstead asEntitlementhas replacedPolicy.