public class SailPointContext
extends java.lang.Object
| Constructor and Description |
|---|
SailPointContext() |
| Modifier and Type | Method and Description |
|---|---|
int |
countObjects(java.lang.Class className,
QueryOptions queryOptions)
Query the context to get the number of objects for the given query
|
sailpoint.object.ObjectConfig |
getObject(java.lang.Class className,
java.lang.String identity) |
Identity |
getObjectById(java.lang.Class<Identity> identityClass,
java.lang.String id) |
<T> java.lang.Object |
getObjectByName(java.lang.Class className,
java.lang.String name)
Query the context to get an object by name
|
<T> java.util.List<T> |
getObjects(java.lang.Class className,
QueryOptions queryOptions)
Query the context to get a list of objects for the given query
|
<T> java.lang.Object |
getUniqueObject(java.lang.Class className,
Filter... filters)
Query the context to get a unique object with filters
|
<T> java.util.Iterator<T> |
search(java.lang.Class className,
QueryOptions queryOptions)
Query the context to get a list of results that match the given query
|
java.util.Iterator<java.lang.Object[]> |
search(java.lang.Class className,
QueryOptions queryOptions,
java.lang.String attributes)
Query the context to get a list of results only including the attributes provided that match the given query
|
public int countObjects(java.lang.Class className,
QueryOptions queryOptions)
throws sailpoint.tools.GeneralException
className - Identity or Link classqueryOptions - options to filter resultssailpoint.tools.GeneralExceptionpublic <T> java.util.List<T> getObjects(java.lang.Class className,
QueryOptions queryOptions)
className - Identity or Link classqueryOptions - options to filter resultspublic java.util.Iterator<java.lang.Object[]> search(java.lang.Class className,
QueryOptions queryOptions,
java.lang.String attributes)
className - Identity or Link classqueryOptions - options to filter resultsattributes - the attributes to returnpublic <T> java.util.Iterator<T> search(java.lang.Class className,
QueryOptions queryOptions)
throws sailpoint.tools.GeneralException
className - Identity or Link classqueryOptions - options to filter resultssailpoint.tools.GeneralExceptionpublic <T> java.lang.Object getObjectByName(java.lang.Class className,
java.lang.String name)
className - Identity or Link classname - the name of the object to fetchpublic <T> java.lang.Object getUniqueObject(java.lang.Class className,
Filter... filters)
className - Identity or Link classfilters - options to filter bypublic Identity getObjectById(java.lang.Class<Identity> identityClass, java.lang.String id) throws sailpoint.tools.GeneralException
sailpoint.tools.GeneralExceptionpublic sailpoint.object.ObjectConfig getObject(java.lang.Class className,
java.lang.String identity)
throws sailpoint.tools.GeneralException
sailpoint.tools.GeneralException