Package com.iplanet.am.sdk
Class AMSearchResults
- java.lang.Object
-
- com.iplanet.am.sdk.AMSearchResults
-
public class AMSearchResults extends Object
Deprecated.As of Sun Java System Access Manager 7.1.This classAMSearchResultsprovides to obtain the search results.
-
-
Field Summary
Fields Modifier and Type Field Description protected interrorCodeDeprecated.protected MapresultsMapDeprecated.protected SetsearchResultsDeprecated.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.static intUNDEFINED_RESULT_COUNTDeprecated.Value returned when the total number of search results could not be obtained.protected intvlvResponseCountDeprecated.
-
Constructor Summary
Constructors Constructor Description AMSearchResults(int count, Set results, int errorCode, Map map)Deprecated.Constructs theAMSearchResultsobject.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description intgetErrorCode()Deprecated.Method which returns the error code of search.MapgetResultAttributes()Deprecated.Method which returns the search results as a map containing DN's as key and the attribute value String.SetgetSearchResults()Deprecated.Method which returns the search results as an ordered set.intgetTotalResultCount()Deprecated.Method which returns the count of the all the results which match the search criteria.
-
-
-
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
-
UNDEFINED_RESULT_COUNT
public static final int UNDEFINED_RESULT_COUNT
Deprecated.Value returned when the total number of search results could not be obtained.- See Also:
- Constant Field Values
-
vlvResponseCount
protected int vlvResponseCount
Deprecated.
-
searchResults
protected Set searchResults
Deprecated.
-
resultsMap
protected Map resultsMap
Deprecated.
-
errorCode
protected int errorCode
Deprecated.
-
-
Method Detail
-
getResultAttributes
public Map getResultAttributes()
Deprecated.Method which returns the search results as a map containing DN's as key and the attribute value String. The attribute value- Returns:
- Map containing DN's as the key and Maps of attribute-values of the attributes specified as part of the search. The Maps contains attribute names as keys and Set containing values of those attributes. Returns an empty Map if no attributes were specified as part of search request.
-
getSearchResults
public Set getSearchResults()
Deprecated.Method which returns the search results as an ordered set.- Returns:
- Set of DNs of matching the search criteria
-
getTotalResultCount
public int getTotalResultCount()
Deprecated.Method which returns the count of the all the results which match the search criteria.- Returns:
- total count of results matching the VLV search. Other wise returns UNDEFINED_RESULT_COUNT
- See Also:
UNDEFINED_RESULT_COUNT
-
getErrorCode
public int getErrorCode()
Deprecated.Method which 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
-
-