Class DomainComponent

  • All Implemented Interfaces:
    ISearch, IUMSConstants, Serializable

    public class DomainComponent
    extends PersistentObject
    Represents a domain component in the domain componet tree. Each Domain Component object represent a node in the dctree and each dc may be associated with an organization in the customer DIT (the convergence tree as noted in the nortel specication).
    See Also:
    DomainComponentTree, Serialized Form
    • Constructor Detail

      • DomainComponent

        public DomainComponent()
        Default constructor
      • DomainComponent

        public DomainComponent​(SSOToken token,
                               String dcName)
                        throws UMSException
        Given a name for domain component, construct the dc object in memory
        Parameters:
        dcName - Domain Componet name
        Throws:
        UMSException
    • Method Detail

      • setAssociatedOrganization

        public void setAssociatedOrganization​(PersistentObject org)
                                       throws UMSException
        Sets the mapping of a dc entry in the dctree to an organization or OrganizationalUnit entry in the convergence DIT, the directory tree hosting all the actual entries
        Parameters:
        org - Organization entry to be associated with the dc entry in the dctree
        Throws:
        UMSException
      • setAssociatedOrganization

        public void setAssociatedOrganization​(Guid orgGuid)
                                       throws UMSException
        Sets the mapping of a dc entry in the dctree to an organization or organizational unit entry in the convergence DIT, the directory tree hosting all the actual entries.
        Parameters:
        orgGuid - Identifier for organization.
        Throws:
        UMSException - if mapping of dc entry cannot be set.
      • getOrganization

        public PersistentObject getOrganization()
                                         throws UMSException
        Get the domain mapping from this dc entry to the organization entry in the customer DIT. Return the organization object associated with thic dc entry
        Returns:
        PersistentObject representing the organization entry associated with dc entry
        Throws:
        UMSException
      • getAssociatedOrganizationGuid

        public Guid getAssociatedOrganizationGuid()
                                           throws UMSException
        Get the domain mapping from this dc entry. Domain mapping is in terms of DN
        Returns:
        identifier for the domain mapping associated with this dc entry
        Throws:
        UMSException
      • getDomainStatus

        public String getDomainStatus()
                               throws UMSException
        Get the domain status in the dc entry
        Returns:
        Domain status in the dc entry
        Throws:
        UMSException
      • setDomainStatus

        public void setDomainStatus​(String status)
                             throws UMSException
        Set the domain status in the dc entry
        Parameters:
        status - Domain status to be set
        Throws:
        UMSException
      • getNamingAttribute

        public String getNamingAttribute()
        Get the naming attribute for the dc entry
        Overrides:
        getNamingAttribute in class PersistentObject
        Returns:
        Attribute name for identification