com.ibm.itim.apps.lifecycle
Class LifecycleManager
java.lang.Object
|
+--com.ibm.itim.apps.lifecycle.LifecycleManager
- public class LifecycleManager
- extends java.lang.Object
Provides lifecycle management capabilities on supported business domain objects,
including Person and Account. It provides interface to invoke global operations,
static operations defined for specific type of object, or operations on the object
instance.
Constructor Summary |
LifecycleManager(PlatformContext platform,
javax.security.auth.Subject subject)
Constructs the manager with a platform context and a subject. |
Method Summary |
Request |
executeGlobalOperation(java.lang.String operationName,
java.lang.Object[] args)
Executes a global operation in the provisioning platform |
Request |
executeObjectOperation(DirectoryObject managedObject,
java.lang.String operationName,
java.lang.Object[] args)
Executes an operation on a specific object in the provisioning platform |
Request |
executeStaticOperation(java.lang.String categoryName,
java.lang.String profileName,
java.lang.String operationName,
java.lang.Object[] args)
Executes a static operation on a specific type of object in the provisioning platform. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LifecycleManager
public LifecycleManager(PlatformContext platform,
javax.security.auth.Subject subject)
- Constructs the manager with a platform context and a subject.
- Parameters:
platform
- PlatformContext holding platform connection information.subject
- Subject representing the authenticated caller.
executeGlobalOperation
public Request executeGlobalOperation(java.lang.String operationName,
java.lang.Object[] args)
throws java.rmi.RemoteException,
AuthorizationException,
ApplicationException
- Executes a global operation in the provisioning platform
- Parameters:
operationName
- operation nameargs
- operation parameters- Returns:
- Request object representing the operation's status.
- Throws:
java.rmi.RemoteException
- Thrown if unable to communicate with platform.AuthorizationException
- Thrown if client is unauthorized to
create the person in the given
container.ApplicationException
- Thrown if unable to submit the request.
This may possibly be caused by
the container being removed by another
client previous to this call.
executeStaticOperation
public Request executeStaticOperation(java.lang.String categoryName,
java.lang.String profileName,
java.lang.String operationName,
java.lang.Object[] args)
throws java.rmi.RemoteException,
AuthorizationException,
ApplicationException
- Executes a static operation on a specific type of object in the provisioning platform.
The object type is identified by its category name and its profile name
- Parameters:
categoryName
- the object category name.profileName
- the object profile nameoperationName
- operation nameargs
- operation parameters- Returns:
- Request object representing the operation's status.
- Throws:
java.rmi.RemoteException
- Thrown if unable to communicate with platform.AuthorizationException
- Thrown if client is unauthorized to
create the person in the given
container.ApplicationException
- Thrown if unable to submit the request.
This may possibly be caused by
the container being removed by another
client previous to this call.
executeObjectOperation
public Request executeObjectOperation(DirectoryObject managedObject,
java.lang.String operationName,
java.lang.Object[] args)
throws java.rmi.RemoteException,
AuthorizationException,
ApplicationException
- Executes an operation on a specific object in the provisioning platform
- Parameters:
managedObject
- the object to invoke the operation onoperationName
- operation nameargs
- operation parameters- Returns:
- Request object representing the operation's status.
- Throws:
java.rmi.RemoteException
- Thrown if unable to communicate with platform.AuthorizationException
- Thrown if client is unauthorized to
create the person in the given
container.ApplicationException
- Thrown if unable to submit the request.
This may possibly be caused by
the container being removed by another
client previous to this call.