com.ibm.commerce.usermanagement.commands

Class OrgEntityRegistrationAddPostApprovalNotificationCmdImpl

  • All Implemented Interfaces:
    com.ibm.commerce.command.CacheableECCommand, ECCommand, ECTargetableCommand, TaskCommand, com.ibm.commerce.ubf.commands.EntryActionCmd, OrgEntityRegistrationAddPostApprovalNotificationCmd, 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 OrgEntityRegistrationAddPostApprovalNotificationCmdImpl
    extends TaskCommandImpl
    implements OrgEntityRegistrationAddPostApprovalNotificationCmd
    This command is used to perform post approval organization registration actions.

    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

    • Not applicable
    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

      • OrgEntityRegistrationAddPostApprovalNotificationCmdImpl

        public OrgEntityRegistrationAddPostApprovalNotificationCmdImpl()
        Constructor for OrgEntityRegistrationAddPostApprovalCmdImpl.
    • Method Detail

      • performExecute

        public void performExecute()
                            throws ECException
        Checks the event identifier; if it is set to approve then an approval 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 the message send, the transaction will continue.
        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()
      • getEventIdentifier

        public java.lang.String getEventIdentifier()
        Event identifier can indicate that the registration has been approved or rejected.
        Specified by:
        getEventIdentifier in interface com.ibm.commerce.ubf.commands.EntryActionCmd
        Returns:
        String
        See Also:
        EntryActionCmd.getEventIdentifier()
      • setBusinessFlowEventData

        public void setBusinessFlowEventData(com.ibm.commerce.ubf.event.BusinessFlowEventData anEventData)
        Sets the business flow event data.
        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)
        Sets the entity ID.
        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)
        Sets the entity object.
        Specified by:
        setEntityObject in interface com.ibm.commerce.ubf.commands.EntryActionCmd
        Parameters:
        anEntityObject - the entity object
        See Also:
        EntryActionCmd.setEntityObject(Object)