|
|||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | ||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | ||||||||
java.lang.Objectcom.sun.identity.idm.IdSearchResults
public class IdSearchResults
This class IdSearchResults provides to obtain the search
results.
| フィールドの概要 | |
|---|---|
protected int |
errorCode
|
protected Map |
resultsMap
|
protected Set |
searchResults
|
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. |
| コンストラクタの概要 | |
|---|---|
IdSearchResults(IdType type,
String orgName)
|
|
| メソッドの概要 | |
|---|---|
void |
addResult(AMIdentity id,
Map attrs)
Adds an AMIdentity object to this search result. |
int |
getErrorCode()
Method which returns the error code of search. |
protected String |
getOrgName()
|
Map |
getResultAttributes()
Method which returns the search results as a map containing AMIdentity objects as key and the attribute value String. |
Set |
getSearchResults()
Method which returns the search results as an ordered set. |
protected IdType |
getType()
|
void |
setErrorCode(int error)
Set the error code for this Search Result |
String |
toString()
Returns String representation of the IdSearchResults object. |
| フィールドの詳細 |
|---|
public static final int SUCCESS
public static final int SIZE_LIMIT_EXCEEDED
public static final int TIME_LIMIT_EXCEEDED
protected Set searchResults
protected Map resultsMap
protected int errorCode
| コンストラクタの詳細 |
|---|
public IdSearchResults(IdType type,
String orgName)
| メソッドの詳細 |
|---|
public Map getResultAttributes()
public Set getSearchResults()
public int getErrorCode()
SUCCESS, SIZE_LIMIT_EXCEEDED and
TIME_LIMIT_EXCEEDEDIdSearchResults.SUCCESS,
IdSearchResults.SIZE_LIMIT_EXCEEDED,
IdSearchResults.TIME_LIMIT_EXCEEDED
public void addResult(AMIdentity id,
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.IdSearchResults.SUCCESS,
IdSearchResults.SIZE_LIMIT_EXCEEDED,
IdSearchResults.TIME_LIMIT_EXCEEDEDprotected IdType getType()
protected String getOrgName()
public String toString()
IdSearchResults object.
It returns identity names and attributes
Object 内の toStringServiceConfig object.
|
|||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | ||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | ||||||||