com.ibm.itim.apps.workflow

Class ImpactItem

  • java.lang.Object
    • com.ibm.itim.apps.workflow.ImpactItem
  • All Implemented Interfaces:
    java.io.Serializable


    public class ImpactItem
    extends java.lang.Object
    implements java.io.Serializable
    The ImpactItem class contains an individual object impacted by the completion of a workflow assignment. Each instance contains the object that was affected, the reason it was affected, and a list of child ImpactItems. Currently, this capability is only provided for user recertification packaged approval assignments. In that case the top-level objects in the ImpactItem will be of type Account, where the child items contain objects of type SystemRole, Group, or AccessInfo. Each object instance may contain a restricted set of attributes, which is enough information to understand and display the impact of the assignment completion.

    If an ImpactItem instance contains a reason, then the object itself is affected. If the reason is null, then it is simply a container to organize the child ImpactItems.

    See Also:
    UserRecertificationCompletionImpact.getAccountImpactList(), UserRecertificationWorkflowAssignmentMO.checkCompletionImpact(List), ImpactReason, Serialized Form
    • Constructor Summary

      Constructors 
      Constructor and Description
      ImpactItem(java.lang.Object obj, ImpactReason reason)
      Constructs an ImpactItem for the specified object with the specified reason.
      ImpactItem(java.lang.Object o, ImpactReason reason, java.util.List<ImpactItem> childItems)
      Constructs an ImpactItem for the specified object with the specified reason, along with a List of child ImpactItem.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      java.util.List<ImpactItem> getChildImpactList()
      Returns a reference to the List of child ImpactItems, which may contain the affected children of this item.
      ImpactReason getImpactReason()
      Returns the reason this item was impacted.
      java.lang.Object getObject()
      Returns the impacted object.
      void setObject(java.lang.Object obj)
      Updates the impacted object.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ImpactItem

        public ImpactItem(java.lang.Object obj,
                          ImpactReason reason)
        Constructs an ImpactItem for the specified object with the specified reason.
        Parameters:
        obj - the impacted Object
        reason - the ImpactReason, null if there is no impact
      • ImpactItem

        public ImpactItem(java.lang.Object o,
                          ImpactReason reason,
                          java.util.List<ImpactItem> childItems)
        Constructs an ImpactItem for the specified object with the specified reason, along with a List of child ImpactItem.
        Parameters:
        o - the impacted Object
        reason - the ImpactReason, null if there is no impact
        childItems - a List of ImpactItem that are children of this item
    • Method Detail

      • getObject

        public java.lang.Object getObject()
        Returns the impacted object.
        Returns:
        impacted Object
      • setObject

        public void setObject(java.lang.Object obj)
        Updates the impacted object. Note that this setter does not allow for an impact to be modified, but is used as a convience during ImpactItem construction.
        Parameters:
        obj - the impacted Object
      • getImpactReason

        public ImpactReason getImpactReason()
        Returns the reason this item was impacted. This method may return null for the case that an item was not directly impacted (although it's child items may have been).
        Returns:
        the ImpactReason
      • getChildImpactList

        public java.util.List<ImpactItem> getChildImpactList()
        Returns a reference to the List of child ImpactItems, which may contain the affected children of this item. If there are no children affected, this method will return an empty List.
        Returns:
        List of ImpactItem