Class UserRegistrationAddCheckApprovalCmdImpl

  • All Implemented Interfaces:, ECCommand, ECTargetableCommand, TaskCommand,, UserRegistrationAddCheckApprovalCmd,,,,,,

    public class UserRegistrationAddCheckApprovalCmdImpl
    extends TaskCommandImpl
    implements UserRegistrationAddCheckApprovalCmd
    This command is an EntryAction command called by UBF to check if the user registration approval is required.

    The current logic is:
    If the parameter parentMember is not specified, no approval is required.
    If the parameter parentMember is specified, approval is required.

    See Also:
    Serialized Form
    • Field Detail


        public static final java.lang.String COPYRIGHT
        IBM Copyright notice field.
        See Also:
        Constant Field Values

        public static final java.lang.String CLASSNAME
        The name of this implementation of the command.
        See Also:
        Constant Field Values
    • Constructor Detail

      • UserRegistrationAddCheckApprovalCmdImpl

        public UserRegistrationAddCheckApprovalCmdImpl()
    • Method Detail

      • checkApproval

        public boolean checkApproval()
                              throws ECException
        Returns whether to check for approvals.
        True if the parent member is specified, otherwise false.
      • getEventIdentifier

        public java.lang.String getEventIdentifier()
        Returns the event identifier.
        Specified by:
        getEventIdentifier in interface
        The event identifier.
      • reset

        public void reset()
        Sets the command parameters so that the command can be reused.
        Specified by:
        reset in interface
        reset in class AbstractECTargetableCommand
      • setBusinessFlowEventData

        public void setBusinessFlowEventData( anEventData)
        Sets the business flow event data.
        Specified by:
        setBusinessFlowEventData in interface
        anEventData - the business flow event data.
      • setEntityId

        public void setEntityId(java.lang.Long anEntityId)
        Sets the entity identifier.
        Specified by:
        setEntityId in interface
        anEntityId - the entity identifier.
      • setEntityObject

        public void setEntityObject(java.lang.Object anEntityObject)
        Sets the entity object.
        Specified by:
        setEntityObject in interface
        anEntityObject - the entity object.