com.ibm.itim.dataservices.model.domain
Class DirectorySystemEntity
java.lang.Object
|
+--com.ibm.itim.dataservices.model.DirectoryObjectEntity
|
+--com.ibm.itim.dataservices.model.domain.OrganizationalContainerEntity
|
+--com.ibm.itim.dataservices.model.domain.DirectorySystemEntity
- All Implemented Interfaces:
- java.io.Serializable
- public class DirectorySystemEntity
- extends OrganizationalContainerEntity
Class that represents the root node for the system (tenant) in the data
model and holds the system (tenant) wide configuration settings.
- See Also:
- Serialized Form
Method Summary |
java.util.Collection |
getChallenges()
Returns the challenge questions of password challenge and response. |
CompoundDN |
getLogicalNameContext()
Returns the compound distinguished name structure that can be used
as a context for searching for entities contained within this
container or placing entities within this container. |
DirectoryObjectEntity |
getParent()
Returns the parent of the directory system, which since the directory
system represents the root of the system (tenant), will return null. |
void |
setChallenges(java.util.Collection questions)
Changes challenge questions of password challenge and response. |
Methods inherited from class com.ibm.itim.dataservices.model.DirectoryObjectEntity |
equals, getDirectoryObject, getDistinguishedName, getEntity, getParentDN, getProfile, getRelationship, getSupportedRelationships, hashCode, isSupportedRelationship, remove, remove, toString, update, update |
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
DirectorySystemEntity
public DirectorySystemEntity(DirectorySystem dirSystem)
- Constructs an AccountEntity with a value object.
- Parameters:
dirSystem
- DirectorySystem object holding the attributes of the
directory system.
getParent
public DirectoryObjectEntity getParent()
- Returns the parent of the directory system, which since the directory
system represents the root of the system (tenant), will return null.
- Overrides:
getParent
in class DirectoryObjectEntity
- Returns:
- null.
getChallenges
public java.util.Collection getChallenges()
throws ModelCommunicationException,
ObjectNotFoundException
- Returns the challenge questions of password challenge and response.
- Returns:
- Collection of challenge questions (Strings).
- Throws:
ModelCommunicationException
- Thrown if unable to communicate
with the data store.ObjectNotFoundException
- Thrown if unable to locate the
related challenge questions. This may be due to a data integrity problem.
setChallenges
public void setChallenges(java.util.Collection questions)
throws ModelCommunicationException,
ObjectNotFoundException
- Changes challenge questions of password challenge and response.
- Parameters:
questions
- Collection of challenge questions (Strings).- Throws:
ModelCommunicationException
- Thrown if unable to communicate
with the data store.ObjectNotFoundException
- Thrown if unable to locate the
related challenge questions. This may be due to a data integrity problem.
getLogicalNameContext
public CompoundDN getLogicalNameContext()
- Returns the compound distinguished name structure that can be used
as a context for searching for entities contained within this
container or placing entities within this container.
- Overrides:
getLogicalNameContext
in class OrganizationalContainerEntity
- Returns:
- CompoundDN representing the context.