com.ibm.itim.apps.workflow

Class ImpactReason

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


    public class ImpactReason
    extends java.lang.Object
    implements java.io.Serializable
    The ImpactReason class contains the details about why an individual object was impacted by the completion of a workflow assignment. Each instances holds the type of impact and any objects supporting that type.

    There are three types of impacts in the ImpactType enumeration:

    • EXPLCITLY_REJECTED_BY_USER - the item was selected for rejection by the user
    • IMPLIED_BY_ACCOUNT_REJECTION - the item was rejected because its account was rejected
    • IMPLIED_BY_ROLE_REJECTION - the item was rejected because an entitling role was rejected

    For EXPLICITLY_REJECTED_BY_USER there are not supporting objects included. For IMPLIED_BY_ACCOUNT_REJECTION, the relevant Account object is included. For IMPLIED_BY_ROLE_REJECTION, the relevant Role objects are included as supporting data.

    See Also:
    UserRecertificationCompletionImpact.getAccountImpactList(), ImpactItem, Serialized Form
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class and Description
      static class  ImpactReason.ImpactType 
    • Constructor Summary

      Constructors 
      Constructor and Description
      ImpactReason(ImpactReason.ImpactType type)
      Constructs an ImpactReason with the specified ImpactType, and no supporting data objects.
      ImpactReason(ImpactReason.ImpactType type, java.util.List supportingObjects)
      Constructs an ImpactReason with the specified ImpactType and List of supporting data objects.
      ImpactReason(ImpactReason.ImpactType type, java.lang.Object supportingObject)
      Constructs an ImpactReason with the specified ImpactType and a single supporting data object.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      boolean equals(java.lang.Object o)
      Compares the values in the reason.
      java.util.List getSupportingObjects()
      Returns the List of supporting data Objects for this object.
      ImpactReason.ImpactType getType()
      Returns the ImpactType for this object.
      int hashCode()
      Returns the hash code for this object.
      • Methods inherited from class java.lang.Object

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

      • ImpactReason

        public ImpactReason(ImpactReason.ImpactType type)
        Constructs an ImpactReason with the specified ImpactType, and no supporting data objects.
        Parameters:
        type - the ImpactType
      • ImpactReason

        public ImpactReason(ImpactReason.ImpactType type,
                            java.util.List supportingObjects)
        Constructs an ImpactReason with the specified ImpactType and List of supporting data objects.
        Parameters:
        type - the ImpactType
        supportingObjects - the List of supporting Objects
      • ImpactReason

        public ImpactReason(ImpactReason.ImpactType type,
                            java.lang.Object supportingObject)
        Constructs an ImpactReason with the specified ImpactType and a single supporting data object.
        Parameters:
        type - the ImpactType
        supportingObject - the supporting Object
    • Method Detail

      • getType

        public ImpactReason.ImpactType getType()
        Returns the ImpactType for this object.
        Returns:
        the ImpactType
      • getSupportingObjects

        public java.util.List getSupportingObjects()
        Returns the List of supporting data Objects for this object.
        Returns:
        List of supporting Objects
      • hashCode

        public int hashCode()
        Returns the hash code for this object.
        Overrides:
        hashCode in class java.lang.Object
        Returns:
        an integer hash code
      • equals

        public boolean equals(java.lang.Object o)
        Compares the values in the reason.
        Overrides:
        equals in class java.lang.Object
        Parameters:
        o - the ImpactReason to compare to this one
        Returns:
        true if this object's values are identical to o