public class LifecycleManager
extends java.lang.Object
| Constructor and Description |
|---|
LifecycleManager(PlatformContext platform,
javax.security.auth.Subject subject)
Constructs the manager with a platform context and a subject.
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
public LifecycleManager(PlatformContext platform, javax.security.auth.Subject subject)
platform - PlatformContext holding platform connection information.subject - Subject representing the authenticated caller.PlatformContext,
Subjectpublic Request executeGlobalOperation(java.lang.String operationName, java.lang.Object[] args) throws java.rmi.RemoteException, AuthorizationException, ApplicationException
operationName - operation name as specified in the IBM Tivoli Identity Governance
"Entity Type->Global->Define Operation" UI.args - operation input parameters as specified in the workflow definition for the target
operation. Use the workflow designer UI to view the workflow definition and discover the list
of input parameters. The parameters must appear in the args array in the same order which they
appear in the workflow designer. The workflowDataSyntax.xml file in the
{itim-home}/data folder documents the Java to workflow data type mappings.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.Requestpublic Request executeStaticOperation(java.lang.String categoryName, java.lang.String profileName, java.lang.String operationName, java.lang.Object[] args) throws java.rmi.RemoteException, AuthorizationException, ApplicationException
categoryName - the object category name. Must be one of the values defined in the
com.ibm.itim.dataservices.model.ManagableCategoryConstant interface.profileName - the object profile name. The name of the entity for which the target
operation has been specified. This value must be null for entity type level operations.operationName - operation name as specified in the IBM Tivoli Identity Governance
"Entities/Entity Type Define Operation" UI.args - operation input parameters as specified in the workflow definition for the target
operation. Use the workflow designer UI to view the workflow definition and discover the list
of input parameters. The parameters must appear in the args array in the same order which they
appear in the workflow designer. The workflowDataSyntax.xml file in the
{itim-home}/data folder documents the Java to workflow data type mappings.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.ManagableCategoryConstant,
Requestpublic Request executeObjectOperation(DirectoryObject managedObject, java.lang.String operationName, java.lang.Object[] args) throws java.rmi.RemoteException, AuthorizationException, ApplicationException
managedObject - the target object for which the operation in invoked. This object
must be of type Person or Account.operationName - operation name as specified in the IBM Tivoli Identity Governance
"Entities/Entity Type Define Operation" UI.args - operation input parameters as specified in the workflow definition for the target
operation. Use the workflow designer UI to view the workflow definition and discover the list
of input parameters. The parameters must appear in the args array in the same order which they
appear in the workflow designer. The workflowDataSyntax.xml file in the
{itim-home}/data folder documents the Java to workflow data type mappings.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.Request,
Person,
Account