| 
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.ibm.itim.apps.identity.ContainerManager
public class ContainerManager
Provides aggregate container, or org chart, management capabilities. These capabilities include the creation of containers within the org chart in the provisioning platform.
OrganizationalContainerMO| Constructor Summary | |
|---|---|
ContainerManager(PlatformContext platform,
                 javax.security.auth.Subject subject)
Constructs the manager with a platform context and a subject.  | 
|
| Method Summary | |
|---|---|
 OrganizationalContainerMO | 
createContainer(OrganizationalContainerMO container,
                OrganizationalContainer object)
Creates a container in the provisioning platform with the specified attributes within the given parent container.  | 
 OrganizationalContainerMO | 
getContainerByURI(OrganizationalContainerMO container,
                  java.lang.String uri)
Returns the organizational container for the given Uniform Resource Identifier (URI) within the specified parent container.  | 
 java.util.Collection | 
getContainers(OrganizationalContainerMO parent,
              java.lang.String attributeName,
              java.lang.Object attributeValue)
Returns the container(s) matching the given attribute within the given parent container.  | 
 java.util.Collection | 
getContainers(java.lang.String profileName,
              java.lang.String name,
              OrganizationalContainerMO parent)
Returns the container(s) with the name within the given parent container.  | 
 OrganizationalContainerMO | 
getRoot()
Returns the root of the organizational tree.  | 
 OrganizationalContainerMO | 
getRoot(java.lang.String tenantID)
In a multi-tenant deployment, returns the root of the organizational tree for the given tenant.  | 
| Methods inherited from class java.lang.Object | 
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
|---|
public ContainerManager(PlatformContext platform,
                        javax.security.auth.Subject subject)
platform - PlatformContext holding platform connection information.subject - Subject representing the authenticated caller.| Method Detail | 
|---|
public OrganizationalContainerMO createContainer(OrganizationalContainerMO container,
                                                 OrganizationalContainer object)
                                          throws java.rmi.RemoteException,
                                                 AuthorizationException,
                                                 SchemaViolationException,
                                                 ApplicationException
container - OrganizationalContainerMO within which the the
                  new container will be placed.object - OrganizationalContainer value object defining the
                attributes the container will have.
java.rmi.RemoteException - Thrown if unable to communicate with platform.
AuthorizationException - Thrown if client is unauthorized to
                                   create the container in the given
                                   container.
SchemaViolationException - Thrown if any of the attributes
                                     in the value object violate the
                                     managed object's schema. This
                                     may be caused by an invalid attribute
                                     or if a required attribute is missing
                                     entirely.
ApplicationException - Thrown if unable to create the container.
                                 This may possibly be caused by
                                 the parent container being removed by
                                 another client previous to this call.
public OrganizationalContainerMO getRoot()
                                  throws java.rmi.RemoteException,
                                         ApplicationException
java.rmi.RemoteException - Thrown if unable to communicate with platform.
ApplicationException - Thrown if unable to obtain the root.
public OrganizationalContainerMO getRoot(java.lang.String tenantID)
                                  throws java.rmi.RemoteException,
                                         ApplicationException
tenantID - a String, the tenant ID for which to create an
                                        OrganizationalContainerMO.
java.rmi.RemoteException - Thrown if unable to communicate with platform.
ApplicationException - Thrown if unable to obtain the root.
                                 This may be caused by the tenantID being
                                 invalid.
public java.util.Collection getContainers(java.lang.String profileName,
                                          java.lang.String name,
                                          OrganizationalContainerMO parent)
                                   throws java.rmi.RemoteException,
                                          ApplicationException
profileName - String profile name of container to search to return.name - Name of the container(s) to return.parent - OrganizationalContainerMO representing the parent container
               to scope the search. In a single-tenant deployment, null
               can be specified to indicate the entire tree should be
               searched. In a multi-tenant deployment, an
               OrganizationalContainerMO object must be provided that
               represents the root of the tenant.
java.rmi.RemoteException - Thrown if unable to communicate with platform.
ApplicationException - Thrown if unable to obtain the
                                 containers. This may possibly
                                 be caused by the parent container being
                                 removed by another client previous to
                                 this call.
public java.util.Collection getContainers(OrganizationalContainerMO parent,
                                          java.lang.String attributeName,
                                          java.lang.Object attributeValue)
                                   throws java.rmi.RemoteException,
                                          ApplicationException
parent - OrganizationalContainerMO representing the parent container
               to scope the search. In a single-tenant deployment, null
               can be specified to indicate the entire tree should be
               searched. In a multi-tenant deployment, an
               OrganizationalContainerMO object must be provided that
               represents the root of the tenant.attributeName - Name of attribute to match with.attributeValue - Value of the attribute to match with. A '*' can be
                       used as the first and/or last character of a
                       String value to perform a substring search for containers.
                       This argument (the Object) should have a toString()
                       method that returns a String suitable for the value on the
                       right side of the '=' sign in an RFC2254 LDAP filter.
java.rmi.RemoteException - Thrown if unable to communicate with platform.
ApplicationException - Thrown if unable to obtain the
                                 containers. This may possibly
                                 be caused by the parent container being
                                 removed by another client previous to
                                 this call.
public OrganizationalContainerMO getContainerByURI(OrganizationalContainerMO container,
                                                   java.lang.String uri)
                                            throws java.rmi.RemoteException,
                                                   ApplicationException
container - OrganizationalContainerMO representing the parent container to
            scope the search.uri - String representing the organizational container's URI.
java.rmi.RemoteException - Thrown if unable to communicate with platform.
ApplicationException - Thrown if unable to obtain the organizational container. This might
                be caused by the container being removed by
                another client previous to this call. This exception might also be thrown
                if the container object is null, 
                no organizational container is found for the given URI within the container,  
                or more than one organizational container is found for the given URI
                within the container.
  | 
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||