|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.ibm.itim.dataservices.model.system.SystemUserSearch
Provides an interface for searching for SystemUserEntity(s). This interface is supplied to clients so that they can search in a more direct manner without having to traverse data model relationships to retrieve SystemUserEntity(s). It should be noted that, like all other classes in the com.ibm.itim.dataservices package and its sub-packages, this class is not remote able. It should be used from local customization code such as JavaScript extensions, but not from code deployed outside the platform. It should also be noted that, like all other search classes in the com.ibm.itim.dataservices package and its sub-packages, this search class does not check ACIs to filter out results. A remote able equivalent that performs ACI checking is available in the com.ibm.itim.apps.provisioning.AccountManager class.
SystemUserEntity
Constructor Summary | |
---|---|
SystemUserSearch()
Default constructor. |
Method Summary | |
---|---|
SystemUserEntity |
lookup(DistinguishedName dn)
Retrieves the SystemUser from the data store with the given distinguished name. |
SearchResults |
searchByDelegate(DistinguishedName tenantDN,
DistinguishedName delegateDN,
SearchParameters params)
Searches for system users that have the specified delegate. |
SearchResults |
searchByFilter(CompoundDN searchContext,
java.lang.String filter,
SearchParameters params)
Searches for system users that meet the criteria defined within the given filter. |
SearchResults |
searchByFilter(DistinguishedName tenantDN,
java.lang.String filter,
SearchParameters params)
Searches for system users that meet the criteria defined within the given filter. |
SearchResults |
searchByOwner(DistinguishedName ownerDN,
SearchParameters params)
Searches for system users (platform accounts) owned by the given person (identity). |
SearchResults |
searchByRole(DistinguishedName roleDN,
SearchParameters params)
Searches for system users (platform accounts) that are members of the given system role (group). |
SystemUserEntity |
searchByUserID(DistinguishedName tenantDN,
java.lang.String userID)
Retrieves the system user with the given id. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public SystemUserSearch()
Method Detail |
public SystemUserEntity lookup(DistinguishedName dn) throws ModelCommunicationException, ObjectNotFoundException
dn
- DistinguishedName of the SystemUser.
ModelCommunicationException
- Thrown if unable to communicate
with the data store.
ObjectNotFoundException
- Thrown if unable to locate the
entity in the data store. This may be due to an invalid
distinguished name, or the entity may have been removed by
another client.public SystemUserEntity searchByUserID(DistinguishedName tenantDN, java.lang.String userID) throws ModelCommunicationException, ObjectNotFoundException
tenantDN
- DistinguishedName of the tenant (system root) to use
as the base of the search.userID
- Id of the system user to search for.
ModelCommunicationException
- Thrown if unable to communicate
with the data store.
ObjectNotFoundException
- Thrown if search base is invalid or
no system user has the given id in the data store.public SearchResults searchByFilter(DistinguishedName tenantDN, java.lang.String filter, SearchParameters params) throws ModelCommunicationException, ObjectNotFoundException
tenantDN
- DistinguishedName of the tenant (system root) to use
as the base of the search.filter
- Filter that defines the criteria for returned
SystemUserEntities to meet. The filter must be in the
format defined by RFC2254.params
- SearchParameters that provide additional context for
how the search should be performed. Scope is not
supported.
ModelCommunicationException
- Thrown if unable to communicate
with the data store.
ObjectNotFoundException
- Thrown if search base is invalid.public SearchResults searchByFilter(CompoundDN searchContext, java.lang.String filter, SearchParameters params) throws ModelCommunicationException, ObjectNotFoundException
searchContext
- CompoundDN with only one DistinguishedName
identifying the tenant (system root) to use
as the base of the search.filter
- Filter that defines the criteria for returned
SystemUserEntities to meet. The filter must be in the
format defined by RFC2254.params
- SearchParameters that provide additional context for
how the search should be performed. Scope is not
supported.
ModelCommunicationException
- Thrown if unable to communicate
with the data store.
ObjectNotFoundException
- Thrown if search base is invalid.public SearchResults searchByOwner(DistinguishedName ownerDN, SearchParameters params) throws ModelCommunicationException, ObjectNotFoundException
ownerDN
- DistinguishedName of the person (identity) who is
the subject of the search.params
- SearchParameters that provide additional context for
how the search should be performed. Scope is not
supported.
ModelCommunicationException
- Thrown if unable to communicate
with the data store.
ObjectNotFoundException
- Thrown if unable to locate the
owner in the data store. This may be due to an invalid
distinguished name, or the entity may have been removed by
another client.public SearchResults searchByRole(DistinguishedName roleDN, SearchParameters params) throws ModelCommunicationException, ObjectNotFoundException
roleDN
- DistinguishedName of the role (group) that is
the subject of the search.params
- SearchParameters that provide additional context for
how the search should be performed. Scope is not
supported.
ModelCommunicationException
- Thrown if unable to communicate
with the data store.
ObjectNotFoundException
- Thrown if unable to locate the
role in the data store. This may be due to an invalid
distinguished name, or the entity may have been removed by
another client.public SearchResults searchByDelegate(DistinguishedName tenantDN, DistinguishedName delegateDN, SearchParameters params) throws ModelCommunicationException, ObjectNotFoundException
tenantDN
- DistinguishedName of the tenant (system root) to use
as the base of the search.delegateDN
- The DistinguishedName of the delegate (system user).params
- SearchParameters that provide additional context for
how the search should be performed. Scope is not
supported.
ModelCommunicationException
- Thrown if unable to communicate
with the data store.
ObjectNotFoundException
- Thrown if search base is invalid.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |