com.ibm.itim.dataservices.model.domain
Class AdminDomain

java.lang.Object
  extended by com.ibm.itim.dataservices.model.DirectoryEntry
      extended by com.ibm.itim.dataservices.model.DirectoryObject
          extended by com.ibm.itim.dataservices.model.domain.OrganizationalContainer
              extended by com.ibm.itim.dataservices.model.domain.AdminDomain
All Implemented Interfaces:
ProtectedObject, com.ibm.itim.util.Sortable, com.ibm.itim.util.xml.objectstream.Importable, java.io.Serializable

public class AdminDomain
extends OrganizationalContainer
implements com.ibm.itim.util.xml.objectstream.Importable

Value Object class that holds the attribute information of an administrative domain in the data model.

See Also:
AdminDomainEntity, Serialized Form

Field Summary
static java.lang.String DOMAIN_ATTR_ADMINISTRATOR
          String constant for administrator attribute name.
static java.lang.String DOMAIN_ATTR_NAME
          String constant for the admin domain naming attribute name.
static java.lang.String PROFILE_NAME
          String constant for the admin domain profile name.
 
Fields inherited from class com.ibm.itim.dataservices.model.DirectoryObject
ATTR_ACCESS_RIGHT, ATTR_LIFECYCLE_ENABLE, ATTR_URI, DESCRIPTION, NAME
 
Fields inherited from interface com.ibm.itim.util.Sortable
ATTR_NAME
 
Constructor Summary
AdminDomain()
          Default empty constructor
AdminDomain(AttributeValues attributes)
          Constructs object with attribute information.
AdminDomain(java.lang.String profileName, AttributeValues attributes)
          Deprecated. Use AdminDomain(AttributeValues) instead. Since 4.6
 
Method Summary
 void addAdministrator(DistinguishedName personDN)
          Adds the given administrator to the domain.
 java.util.Collection getAdministrator()
          Gets the list of administrators for the domain.
 void removeAdministrator(DistinguishedName personDN)
          Removes the given administrator from the domain.
 void setAdministrator(java.util.Collection personDNs)
          Changes the administrator for the domain.
 
Methods inherited from class com.ibm.itim.dataservices.model.DirectoryObject
addAttribute, addAttributeValues, getAccessRights, getAttribute, getAttributes, getAuthorizationOwners, getMapAttributeNames, getMappedAttributes, getName, getNameAttribute, getOldMappedAttributes, getProfileName, getRawAttributes, getSortValue, getTenantDN, isLifecycleDefined, removeAttribute, removeAttribute, setAccessRights, setAttribute, setAttributes, setAuthorizationOwners, setProfileName, setTenantDN, toString
 
Methods inherited from class com.ibm.itim.dataservices.model.DirectoryEntry
clearChange, clearChanges, getChanges, getDistinguishedName, getLastModified, getObjectClasses, getOldAttributes, setDistinguishedName
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

DOMAIN_ATTR_ADMINISTRATOR

public static java.lang.String DOMAIN_ATTR_ADMINISTRATOR
String constant for administrator attribute name.


DOMAIN_ATTR_NAME

public static java.lang.String DOMAIN_ATTR_NAME
String constant for the admin domain naming attribute name.


PROFILE_NAME

public static final java.lang.String PROFILE_NAME
String constant for the admin domain profile name.

See Also:
Constant Field Values
Constructor Detail

AdminDomain

public AdminDomain()
Default empty constructor


AdminDomain

public AdminDomain(AttributeValues attributes)
Constructs object with attribute information. Warning: the purpose of this constructor is to provide clients with the ability to create value objects for creation in the data store. Do not use this constructor to create value objects that represent existing entities. See the AdminDomainSearch object for achieving that.

Parameters:
attributes - AttributeValues holding the attributes of the admin domain.

AdminDomain

public AdminDomain(java.lang.String profileName,
                   AttributeValues attributes)
Deprecated. Use AdminDomain(AttributeValues) instead. Since 4.6

Constructs object with profile and attribute information. Warning: the purpose of this constructor is to provide clients with the ability to create value objects for creation in the data store. Do not use this constructor to create value objects that represent existing entities. See the AdminDomainSearch object for achieving that.

Parameters:
profileName - Name of the profile identifying the type of this admin domain.
attributes - AttributeValues holding the attributes of the admin domain.
Method Detail

getAdministrator

public java.util.Collection getAdministrator()
Gets the list of administrators for the domain.

Returns:
Collection of DistinguishedNames of the domain's administrator(s).

setAdministrator

public void setAdministrator(java.util.Collection personDNs)
Changes the administrator for the domain.

Parameters:
personDNs - Collection of DistinguishedNames of the new administrator(s).

addAdministrator

public void addAdministrator(DistinguishedName personDN)
Adds the given administrator to the domain.

Parameters:
personDN - DistinguishedName of administrator for the domain.

removeAdministrator

public void removeAdministrator(DistinguishedName personDN)
Removes the given administrator from the domain.

Parameters:
personDN - administrator of the domain to be removed.


IBM Security Identity Manager 6.0.0
© Copyright International Business Machines Corporation 2007, 2012. All rights reserved. US Government Users Restricited Rights - Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.