public class RepoSearchResults extends Object
RepoSearchResults
provides to obtain the search
results.Modifier and Type | Field and Description |
---|---|
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.
|
static int |
UNDEFINED_RESULT_COUNT
Value returned when the total number of search results could not be
obtained.
|
Constructor and Description |
---|
RepoSearchResults(Set results,
int errorCode,
Map map,
IdType type)
Constructs the
RepoSearchResults object. |
Modifier and Type | Method and Description |
---|---|
int |
getErrorCode()
Method which returns the error code of search.
|
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.
|
IdType |
getType() |
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 Set searchResults
protected Map resultsMap
protected int errorCode
public Map getResultAttributes()
public Set getSearchResults()
public int getErrorCode()
SUCCESS
, SIZE_LIMIT_EXCEEDED
and
TIME_LIMIT_EXCEEDED
SUCCESS
,
SIZE_LIMIT_EXCEEDED
,
TIME_LIMIT_EXCEEDED
public IdType getType()
Copyright © 2010–2025 Open Identity Platform Community. All rights reserved.