|
|||||||||||
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.DirectorySystemSearch
Class that provides an interface for searching for directory systems. This interface only provides the ability to search by distinguished name and by id.
DirectorySystemEntity
Constructor Summary | |
---|---|
DirectorySystemSearch()
Default constructor. |
Method Summary | |
---|---|
java.util.Collection |
getAll()
Retrieves all directory systems (tenant) from the data store. |
DirectorySystemEntity |
lookup(DistinguishedName dn)
Retrieves the directory system (tenant) from the data store with the given distinguished name. |
DirectorySystemEntity |
lookupDefault()
Retrieves the default directory system (tenant) from the data store. |
DirectorySystemEntity |
searchById(java.lang.String id)
Retrieves the directory system (tenant) from the data store with the given id (name). |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public DirectorySystemSearch()
Method Detail |
public DirectorySystemEntity lookup(DistinguishedName dn) throws ObjectNotFoundException, ModelCommunicationException
dn
- DistinguishedName of the directory system (tenant).
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 DirectorySystemEntity searchById(java.lang.String id) throws ObjectNotFoundException, ModelCommunicationException
id
- ID (name) of the directory system (tenant).
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 java.util.Collection getAll() throws ObjectNotFoundException, ModelCommunicationException
ModelCommunicationException
- Thrown if unable to communicate
with the data store.
ObjectNotFoundException
- Thrown if unable to locate the
entities in the data store. This may be due to an invalid
distinguished name, or entities may have been removed by
another client.public DirectorySystemEntity lookupDefault() throws ObjectNotFoundException, ModelCommunicationException
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, the entity may have been removed by
another client, or there is a problem finding the properties
file that stores the default tenant id.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |