|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.ibm.itim.dataservices.model.domain.AccountTable
Class that provides an interface for searching and performing operations on accounts within the context of a defining service. Given the context of a service, single operations can be made against all accounts for that service.
Constructor Summary | |
---|---|
AccountTable(ServiceEntity service)
Constructs the AccountTable with a service as its context. |
Method Summary | |
---|---|
SearchResults |
getAll()
Returns all accounts hosted by the service including account on concrete and hosted services. |
SearchResults |
getByFilter(java.lang.String filter)
Returns all accounts matching the given filter. |
SearchResults |
getByOwner(DistinguishedName ownerDN)
Returns all accounts owned by the specified person. |
SearchResults |
getByUserID(java.lang.String userID)
Returns all accounts hosted by the service with the given user id. |
SearchResults |
getFlaggedNoncompliant()
Returns all accounts hosted by the service including account on concrete and hosted services that have been flagged as non-compliant. |
SearchResults |
getOrphaned()
Returns all orphaned accounts hosted by the service. |
SearchResults |
getOrphansByFilter(java.lang.String filter,
SearchParameters params)
Returns all orphaned accounts hosted by the service with the given user id. |
SearchResults |
getOrphansByUserID(java.lang.String userID)
Returns all orphaned accounts hosted by the service with the given user id. |
SearchResults |
getOwned()
Returns all owned accounts hosted by the service. |
void |
removeAll()
Removes all accounts hosted by the service. |
void |
removeOrphaned()
Removes all orphaned accounts hosted by the service. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public AccountTable(ServiceEntity service)
service
- ServiceEntity for context.Method Detail |
public SearchResults getAll() throws ModelCommunicationException, ObjectNotFoundException
ModelCommunicationException
- Thrown if unable to communicate
with the data store.
ObjectNotFoundException
- Thrown if unable to locate the
service 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 getFlaggedNoncompliant() throws ModelCommunicationException, ObjectNotFoundException
ModelCommunicationException
- Thrown if unable to communicate
with the data store.
ObjectNotFoundException
- Thrown if unable to locate the
service 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 getOwned() throws ModelCommunicationException, ObjectNotFoundException
ModelCommunicationException
- Thrown if unable to communicate
with the data store.
ObjectNotFoundException
- Thrown if unable to locate the
service 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 getOrphaned() throws ModelCommunicationException, ObjectNotFoundException
ModelCommunicationException
- Thrown if unable to communicate
with the data store.
ObjectNotFoundException
- Thrown if unable to locate the
service in the data store. This may be due to an invalid
distinguished name, or the entity may have been removed by
another client.public void removeAll() throws ModelCommunicationException, ObjectNotFoundException, ModelRemoveException
ModelCommunicationException
- Thrown if unable to communicate
with the data store.
ModelRemoveException
- Thrown if unable to remove an object
of the data store.
ObjectNotFoundException
- Thrown if unable to locate the
service in the data store. This may be due to an invalid
distinguished name, or the entity may have been removed by
another client.public void removeOrphaned() throws ModelCommunicationException, ModelRemoveException, ObjectNotFoundException
ModelCommunicationException
- Thrown if unable to communicate
with the data store.
ModelRemoveException
- Thrown if unable to remove an object
of the data store.
ObjectNotFoundException
- Thrown if unable to locate the
service 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 getByOwner(DistinguishedName ownerDN) throws ModelCommunicationException, ObjectNotFoundException
ownerDN
- DistinguishedName of the Person who owns the
returned accounts.
ModelCommunicationException
- Thrown if unable to communicate
with the data store.
ObjectNotFoundException
- Thrown if unable to locate the
service 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 getByFilter(java.lang.String filter) throws ModelCommunicationException, ObjectNotFoundException
filter
- Filter that defines the criteria for returned
AccountEntity to meet.
ModelCommunicationException
- Thrown if unable to communicate
with the data store.
ObjectNotFoundException
- Thrown if unable to locate the
service 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 getByUserID(java.lang.String userID) throws ModelCommunicationException, ObjectNotFoundException
userID
- User id to match.
ModelCommunicationException
- Thrown if unable to communicate
with the data store.
ObjectNotFoundException
- Thrown if unable to locate the
service 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 getOrphansByUserID(java.lang.String userID) throws ModelCommunicationException, ObjectNotFoundException
userID
- User id to match.
ModelCommunicationException
- Thrown if unable to communicate
with the data store.
ObjectNotFoundException
- Thrown if unable to locate the
service 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 getOrphansByFilter(java.lang.String filter, SearchParameters params) throws ModelCommunicationException, ObjectNotFoundException
filter
- Filter that defines the criteria for returned
DynamicRoleEntities 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 and size limit
is not supported in this search. Only attribute lists can
be provided.
ModelCommunicationException
- Thrown if unable to communicate
with the data store.
ObjectNotFoundException
- Thrown if unable to locate the
service in the data store. This may be due to an invalid
distinguished name, or the entity may have been removed by
another client.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |