Package com.sun.identity.policy
Class ValidValues
- java.lang.Object
-
- com.sun.identity.policy.ValidValues
-
@Deprecated public class ValidValues extends Object
Deprecated.since 12.0.0This classValidValuesprovides search results and a error code indicating if the search was successfully or time limit exceeded or search limit exceeded.
-
-
Field Summary
Fields Modifier and Type Field Description static intSIZE_LIMIT_EXCEEDEDDeprecated.Code used to indicate that the search was unsuccessful as the size limit exceeded during the search process.static intSUCCESSDeprecated.Code used to indicate a successful searchstatic intTIME_LIMIT_EXCEEDEDDeprecated.Code used to indicate that the search was unsuccessful as the time limit exceeded during the search process.
-
Constructor Summary
Constructors Constructor Description ValidValues(int errorCode, Set results)Deprecated.Constructs aValidValuesgivenerrorCodeand a set of values
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description intgetErrorCode()Deprecated.Returns the error code of search.SetgetSearchResults()Deprecated.Returns the search results as a set.
-
-
-
Field Detail
-
SUCCESS
public static final int SUCCESS
Deprecated.Code used to indicate a successful search- See Also:
- Constant Field Values
-
SIZE_LIMIT_EXCEEDED
public static final int SIZE_LIMIT_EXCEEDED
Deprecated.Code used to indicate that the search was unsuccessful as the size limit exceeded during the search process.- See Also:
- Constant Field Values
-
TIME_LIMIT_EXCEEDED
public static final int TIME_LIMIT_EXCEEDED
Deprecated.Code used to indicate that the search was unsuccessful as the time limit exceeded during the search process.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
ValidValues
public ValidValues(int errorCode, Set results)Deprecated.Constructs aValidValuesgivenerrorCodeand a set of values- Parameters:
errorCode- error coderesults- set of values to be included- See Also:
SUCCESS,SIZE_LIMIT_EXCEEDED,TIME_LIMIT_EXCEEDED
-
-
Method Detail
-
getSearchResults
public Set 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:
SUCCESS,SIZE_LIMIT_EXCEEDED,TIME_LIMIT_EXCEEDED
-
-