com.ibm.commerce.usermanagement.commands

Class UserRegistrationAddPostApprovalNotificationCmdImpl

  • All Implemented Interfaces:
    com.ibm.commerce.command.CacheableECCommand, ECCommand, ECTargetableCommand, TaskCommand, com.ibm.commerce.ubf.commands.EntryActionCmd, UserRegistrationAddPostApprovalNotificationCmd, com.ibm.websphere.cache.Sizeable, com.ibm.websphere.command.CacheableCommand, com.ibm.websphere.command.Command, com.ibm.websphere.command.CommandCaller, com.ibm.websphere.command.TargetableCommand, java.io.Serializable


    public class UserRegistrationAddPostApprovalNotificationCmdImpl
    extends TaskCommandImpl
    implements UserRegistrationAddPostApprovalNotificationCmd
    This command is used to perform post approval notification for user registration.

    Behavior

    • Checks the event notifier, if it is set to APPROVE then an approval message will be sent. If it is set to REJECTED then a rejected message will be sent. The message is sent using sendTransacted(). In case of failure on message send, the command will not be rolled back, so that the approval process can continue.

    Exception Conditions

    See Also:
    Serialized Form
    • Field Detail

      • COPYRIGHT

        public static final java.lang.String COPYRIGHT
        IBM copyright notice field.
        See Also:
        Constant Field Values
    • Constructor Detail

      • UserRegistrationAddPostApprovalNotificationCmdImpl

        public UserRegistrationAddPostApprovalNotificationCmdImpl()
        Constructor for UserRegistrationAddPostApprovalCmdImpl.
    • Method Detail

      • performExecute

        public void performExecute()
                            throws ECException
        Description copied from class: AbstractECTargetableCommand
        This method performs the business logic for this command. This method should be overwritten by all command writers. Command writers should call super.performExecute() as the first line in their method.
        Specified by:
        performExecute in interface ECCommand
        Specified by:
        performExecute in interface com.ibm.websphere.command.TargetableCommand
        Overrides:
        performExecute in class AbstractECTargetableCommand
        Throws:
        ECException
        See Also:
        TargetableCommand.performExecute()
      • setBusinessFlowEventData

        public void setBusinessFlowEventData(com.ibm.commerce.ubf.event.BusinessFlowEventData anEventData)
        Specified by:
        setBusinessFlowEventData in interface com.ibm.commerce.ubf.commands.EntryActionCmd
        Parameters:
        anEventData - the business flow event data object
        See Also:
        EntryActionCmd.setBusinessFlowEventData(BusinessFlowEventData)
      • setEntityId

        public void setEntityId(java.lang.Long anEntityId)
        Specified by:
        setEntityId in interface com.ibm.commerce.ubf.commands.EntryActionCmd
        Parameters:
        anEntityId - the entity id
        See Also:
        EntryActionCmd.setEntityId(Long)
      • setEntityObject

        public void setEntityObject(java.lang.Object anEntityObject)
        Specified by:
        setEntityObject in interface com.ibm.commerce.ubf.commands.EntryActionCmd
        Parameters:
        anEntityObject - the entity object
        See Also:
        EntryActionCmd.setEntityObject(Object)
      • getEventIdentifier

        public java.lang.String getEventIdentifier()
        Specified by:
        getEventIdentifier in interface com.ibm.commerce.ubf.commands.EntryActionCmd
        Returns:
        java.lang.String
        See Also:
        EntryActionCmd.getEventIdentifier()