public class DirectorySystemSearch
extends java.lang.Object
DirectorySystemEntity| Constructor and Description |
|---|
DirectorySystemSearch()
Default constructor.
|
| Modifier and Type | Method and Description |
|---|---|
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).
|
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.