com.ibm.itim.apps.workflow

Class UserRecertificationWorkflowAssignmentMO



  • public class UserRecertificationWorkflowAssignmentMO
    extends WorkflowAssignmentMO
    A specialized version of WorkflowAssignmentMO, which provides the additional operations available with packaged approval activity assignments used in user recertification workflows.

    If invoked on other assignment types, the methods provided by this class will throw an exception.

    • Constructor Detail

      • UserRecertificationWorkflowAssignmentMO

        public UserRecertificationWorkflowAssignmentMO(PlatformContext platform,
                                                       javax.security.auth.Subject subject,
                                                       long id)
        Constructs the the managed object with a platform context, a subject, and the managed object representing the workflow assignment.
        Parameters:
        platform - PlatformContext holding platform connection information.
        subject - Subject representing the authenticated caller.
        id - long representing the id of the assignment.
    • Method Detail

      • save

        public void save(java.util.List inputParameters)
                  throws java.rmi.RemoteException,
                         ApplicationException
        Saves the assignment.
        Parameters:
        inputParameters - List of RelevantDataItem representing the input parameters. The order is important as there are no names provided for the parameters, just the values.

        While the input parameters can be customized, the standard user recertification assignment includes a single RelevantDataItem whose value is of type PackagedApprovalDocument.

        Throws:
        java.rmi.RemoteException - Thrown if unable to communicate with platform.
        ApplicationException - Thrown if unable to save the assignment.
        See Also:
        RelevantDataItem
      • checkCompletionImpact

        public AssignmentCompletionImpact checkCompletionImpact(java.util.List outputParameters)
                                                         throws java.rmi.RemoteException,
                                                                AuthorizationException,
                                                                ApplicationException
        Checks the impact of completing this assignment. Given the parameters that the assignment may be completed with, including individual recertification decisions, returns the impact of those choices.
        Parameters:
        outputParameters - List of output parameter values. The order is important as there are no names provided for the parameters, just the values.

        While the output parameters can be customized, the standard user recertification assignment includes a single output parameter value of type PackagedApprovalDocument.

        Returns:
        AssignmentCompletionImpact the impact of completing the to do item
        Throws:
        java.rmi.RemoteException - Thrown if unable to communicate with platform.
        ApplicationException - Thrown if unable to check the impact.
        AuthorizationException - Thrown if the user is not a potential owner of the assignment.