kaos.core.csi.registration
Interface DomainHierarchyConfiguration

All Known Subinterfaces:
Registration

public interface DomainHierarchyConfiguration

Defines the operations to configure the parent-child domain relationship for the specified domain.

Author:
KAoS Team $Revision: 1.3 $

Method Summary
 void addChildToDomain(kaos.core.service.directory.DomainDescription domain, kaos.core.service.directory.DomainDescription childDomain)
          Add the childDomain as a child of the specified domain.
 void removeChildFromDomain(kaos.core.service.directory.DomainDescription domain, kaos.core.service.directory.DomainDescription childDomain)
          Add the childDomain as a child of the specified domain.
 void setParentForDomain(kaos.core.service.directory.DomainDescription domain, kaos.core.service.directory.DomainDescription parentDomain)
          Set as a the parent the given parentDomain for the specified domain.
 

Method Detail

setParentForDomain

void setParentForDomain(kaos.core.service.directory.DomainDescription domain,
                        kaos.core.service.directory.DomainDescription parentDomain)
                        throws DirectoryFailure,
                               kaos.core.service.directory.HasParentException
Set as a the parent the given parentDomain for the specified domain.

Parameters:
domain - DomainDescription describes the domain, whose parent is to be updated.
parentDomain - DomainDescription describes the parent domain.
Throws:
DirectoryFailure - if the connection to the DS cannot be established.
kaos.core.service.directory.HasParentException - if the specified domain has already a parent.

addChildToDomain

void addChildToDomain(kaos.core.service.directory.DomainDescription domain,
                      kaos.core.service.directory.DomainDescription childDomain)
                      throws DirectoryFailure,
                             kaos.core.service.directory.HasParentException
Add the childDomain as a child of the specified domain.

Parameters:
domain - DomainDescription describes the domain, to which the childDomain will be added.
childDomain - DomainDescription describes the child domain.
Throws:
DirectoryFailure - if the connection to the DS cannot be established.
kaos.core.service.directory.HasParentException - if the specified child domain has already a parent.

removeChildFromDomain

void removeChildFromDomain(kaos.core.service.directory.DomainDescription domain,
                           kaos.core.service.directory.DomainDescription childDomain)
                           throws DirectoryFailure,
                                  NotRegisteredException
Add the childDomain as a child of the specified domain.

Parameters:
domain - DomainDescription describes the domain, from which to remove the child domain.
childDomain - DomainDescription describes the child domain to be removed.
Throws:
DirectoryFailure - if the connection to the DS cannot be established.
NotRegisteredException - if the specified domain does not have the specified child domain as a child.


Copyright © 2006 IHMC All Rights Reserved.