|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.sun.identity.idm.IdSearchResults
This class IdSearchResults
provides to obtain the search
results.
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 | |
IdSearchResults(IdType type,
java.lang.String orgName)
|
Method Summary | |
void |
addResult(AMIdentity id,
java.util.Map attrs)
Adds an AMIdentity object to this search result. |
int |
getErrorCode()
Method which returns the error code of search. |
java.util.Map |
getResultAttributes()
Method which returns the search results as a map containing AMIdentity objects as key and the attribute value String. |
java.util.Set |
getSearchResults()
Method which returns the search results as an ordered set. |
void |
setErrorCode(int error)
Set the error code for this Search Result |
java.lang.String |
toString()
Returns String representation of the IdSearchResults object. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, 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 IdSearchResults(IdType type, java.lang.String orgName)
Method Detail |
public java.util.Map getResultAttributes()
public java.util.Set getSearchResults()
public int getErrorCode()
SUCCESS
, SIZE_LIMIT_EXCEEDED
and TIME_LIMIT_EXCEEDED
SUCCESS
,
SIZE_LIMIT_EXCEEDED
,
TIME_LIMIT_EXCEEDED
public void addResult(AMIdentity id, java.util.Map attrs)
id
- AMIdentity representing the entity.attrs
- Map of attrbibutes obtained while performing the searchpublic void setErrorCode(int error)
error
- Error code of Search Result.SUCCESS
,
SIZE_LIMIT_EXCEEDED
,
TIME_LIMIT_EXCEEDED
public java.lang.String toString()
IdSearchResults
object.
It returns identity names and attributes
IdSearchResults
object.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |