com.ibm.commerce.usermanagement.commands
Class OrgEntityRegistrationAddPostApprovalNotificationCmdImpl

java.lang.Object
  |
  +--CacheableCommandImpl
        |
        +--com.ibm.commerce.command.AbstractECTargetableCommand
              |
              +--com.ibm.commerce.command.TaskCommandImpl
                    |
                    +--com.ibm.commerce.usermanagement.commands.OrgEntityRegistrationAddPostApprovalNotificationCmdImpl
All Implemented Interfaces:
ECCommand, ECTargetableCommand, OrgEntityRegistrationAddPostApprovalNotificationCmd, TaskCommand

public class OrgEntityRegistrationAddPostApprovalNotificationCmdImpl
extends TaskCommandImpl
implements OrgEntityRegistrationAddPostApprovalNotificationCmd

This command is used to perform post approval organization registration actions.

Behavior

Exception Conditions

See Also:
Serialized Form

Field Summary
static java.lang.String COPYRIGHT
          IBM copyright notice field.
 
Fields inherited from class com.ibm.commerce.command. AbstractECTargetableCommand
commandContext
 
Fields inherited from interface com.ibm.commerce.usermanagement.commands. OrgEntityRegistrationAddPostApprovalNotificationCmd
NAME
 
Fields inherited from interface com.ibm.commerce.command. ECCommand
defaultCommandClassName
 
Constructor Summary
OrgEntityRegistrationAddPostApprovalNotificationCmdImpl()
          Constructor for OrgEntityRegistrationAddPostApprovalCmdImpl.
 
Method Summary
 java.lang.String getEventIdentifier()
          Event identifier can indicate that the registration has been approved or rejected.
 void performExecute()
          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.
 void setBusinessFlowEventData(BusinessFlowEventData anEventData)
          Sets the busniess flow event data.
 void setEntityId(java.lang.Long anEntityId)
          Sets the entity id.
 void setEntityObject(java.lang.Object anEntityObject)
          Sets the entity object.
 
Methods inherited from class com.ibm.commerce.command. AbstractECTargetableCommand
accessControlCheck, checkIsAllowed, checkParameters, checkResourcePermission, createCommandExecutionEvent, execute, finalize, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getResources, getStoreId, getUser, getUserId, isReadyToCallExecute, reset, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties, validateParameters
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail
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
Overrides:
performExecute in class AbstractECTargetableCommand
Throws:
ECException
See Also:
com.ibm.sfc.cmd.TargetableCommand#performExecute()

getEventIdentifier

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

setBusinessFlowEventData

public void setBusinessFlowEventData(BusinessFlowEventData anEventData)
Sets the busniess flow event data.
See Also:
com.ibm.commerce.ubf.commands.EntryActionCmd#setBusinessFlowEventData(BusinessFlowEventData)

setEntityId

public void setEntityId(java.lang.Long anEntityId)
Sets the entity id.
See Also:
com.ibm.commerce.ubf.commands.EntryActionCmd#setEntityId(Long)

setEntityObject

public void setEntityObject(java.lang.Object anEntityObject)
Sets the entity object.
See Also:
com.ibm.commerce.ubf.commands.EntryActionCmd#setEntityObject(Object)