|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.ibm.itim.apps.identity.OrganizationalContainerMO
Managed object representing an organizational container. An organizational container defines one branch in a recursive tree.
Constructor Summary | |
OrganizationalContainerMO(PlatformContext platform,
javax.security.auth.Subject subject,
DistinguishedName name)
Constructs the the managed object with a platform context, a subject, and the distinguished name of the object to manage. |
|
OrganizationalContainerMO(PlatformContext platform,
javax.security.auth.Subject subject,
DistinguishedName name,
boolean isTenantMO)
Constructs the the managed object with a platform context, a subject, and the distinguished name of the object to manage. |
Method Summary | |
java.util.Collection |
getChildren(java.lang.Class childClass)
Returns the children of the container of the specified type, such as person, service, etc. |
OrganizationalContainer |
getData()
Returns a current snapshot of the data defining the provisionng object. |
DistinguishedName |
getDistinguishedName()
Returns the distinguished name of the managed object |
OrganizationalContainerMO |
getParent()
Returns the current parent container in the tree. |
PersonMO |
getSupervisor()
Returns the container's supervisor (if any). |
void |
remove()
Removes the managed object from the provisioning platform. |
void |
update(OrganizationalContainer c)
Updates the managed object. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public OrganizationalContainerMO(PlatformContext platform, javax.security.auth.Subject subject, DistinguishedName name)
platform
- PlatformContext holding platform connection information.subject
- Subject representing the authenticated caller.name
- DistinguishedName identifying the container.public OrganizationalContainerMO(PlatformContext platform, javax.security.auth.Subject subject, DistinguishedName name, boolean isTenantMO)
platform
- PlatformContext holding platform connection information.subject
- Subject representing the authenticated caller.name
- DistinguishedName identifying the container.Method Detail |
public DistinguishedName getDistinguishedName()
public OrganizationalContainer getData() throws java.rmi.RemoteException, ApplicationException
java.rmi.RemoteException
- Thrown if unable to communicate with platform.ApplicationException
- Thrown if unable to retrieve data.public OrganizationalContainerMO getParent() throws java.rmi.RemoteException, ApplicationException
java.rmi.RemoteException
- Thrown if unable to communicate with platform.ApplicationException
- Thrown if unable to retrieve parent.public void remove() throws java.rmi.RemoteException, ApplicationException, AuthorizationException
java.rmi.RemoteException
- Thrown if unable to communicate with platform.AuthorizationException
- Thrown if client is unauthorized to
remove the service.ApplicationException
- Thrown if unable to remove the object.public void update(OrganizationalContainer c) throws java.rmi.RemoteException, AuthorizationException, SchemaViolationException, ApplicationException
c
- OrganizationalContainer value object with changes to make.java.rmi.RemoteException
- Thrown if unable to communicate with platform.AuthorizationException
- Thrown if client is unauthorized to
change the container. Note, even if
only one of the attributes being
changed is not writeable for the
client, the entire request will fail
and this exception will be thrown.SchemaViolationException
- Thrown if any of the attributes
in the value object are violate the
managed object's schema.ApplicationException
- Thrown if unable to upate the object.
This may possibly be caused by the
container being removed by another
client previous to this call.public PersonMO getSupervisor() throws java.rmi.RemoteException, AuthorizationException, ApplicationException
java.rmi.RemoteException
- Thrown if unable to communicate with platform.AuthorizationException
- Thrown if client is unauthorized to
view the supervisor of the container.ApplicationException
- Thrown if unable to retrieve the
container's supervisor. This may possibly
be caused by the container being removed
by another client previous to this call.public java.util.Collection getChildren(java.lang.Class childClass) throws java.rmi.RemoteException, AuthorizationException, ApplicationException
childClass
- Class object representing the type of children to
return (i.e., PersonMO, ServiceMO, RoleMO).java.rmi.RemoteException
- Thrown if unable to communicate with platform.AuthorizationException
- Thrown if client is unauthorized to
view (search) the children of the
specified type.ApplicationException
- Thrown if unable to retrieve the
container's children. This may possibly
be caused by the container being removed
by another client previous to this call,
or the Class provided being unsupported.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |