public class AMSearchResults extends Object
AMSearchResults
provides to obtain the search
results.Modifier and Type | Field and Description |
---|---|
protected int |
errorCode
Deprecated.
|
protected Map |
resultsMap
Deprecated.
|
protected Set |
searchResults
Deprecated.
|
static int |
SIZE_LIMIT_EXCEEDED
Deprecated.
Code used to indicate that the search was unsuccessful as the size limit
exceeded during the search process.
|
static int |
SUCCESS
Deprecated.
Code used to indicate a successful search
|
static int |
TIME_LIMIT_EXCEEDED
Deprecated.
Code used to indicate that the search was unsuccessful as the time limit
exceeded during the search process.
|
static int |
UNDEFINED_RESULT_COUNT
Deprecated.
Value returned when the total number of search results could not be
obtained.
|
protected int |
vlvResponseCount
Deprecated.
|
Constructor and Description |
---|
AMSearchResults(int count,
Set results,
int errorCode,
Map map)
Deprecated.
Constructs the
AMSearchResults object. |
Modifier and Type | Method and Description |
---|---|
int |
getErrorCode()
Deprecated.
Method which returns the error code of search.
|
Map |
getResultAttributes()
Deprecated.
Method which returns the search results as a map containing DN's as key
and the attribute value String.
|
Set |
getSearchResults()
Deprecated.
Method which returns the search results as an ordered set.
|
int |
getTotalResultCount()
Deprecated.
Method which returns the count of the all the results which match the
search criteria.
|
public static final int SUCCESS
public static final int SIZE_LIMIT_EXCEEDED
public static final int TIME_LIMIT_EXCEEDED
public static final int UNDEFINED_RESULT_COUNT
protected int vlvResponseCount
protected Set searchResults
protected Map resultsMap
protected int errorCode
public AMSearchResults(int count, Set results, int errorCode, Map map)
AMSearchResults
object.count
- Number of entriesresults
- Set of DNs
from the searcherrorCode
- Error Codemap
- Map of attributes and values if requested forpublic Map getResultAttributes()
public Set getSearchResults()
public int getTotalResultCount()
AMSearchResults.UNDEFINED_RESULT_COUNT
public int getErrorCode()
SUCCESS
, SIZE_LIMIT_EXCEEDED
and
TIME_LIMIT_EXCEEDED
AMSearchResults.SUCCESS
,
AMSearchResults.SIZE_LIMIT_EXCEEDED
,
AMSearchResults.TIME_LIMIT_EXCEEDED
Copyright © 2010-2014, ForgeRock All Rights Reserved.