com.ibm.commerce.usermanagement.commands
Class UserRegistrationAddCheckApprovalCmdImpl

java.lang.Object
  |
  +--com.ibm.commerce.command.AbstractECCommand
        |
        +--com.ibm.commerce.command.TaskCommandImpl
              |
              +--com.ibm.commerce.usermanagement.commands.UserRegistrationAddCheckApprovalCmdImpl
All Implemented Interfaces:
ECCommand, TaskCommand, UserRegistrationAddCheckApprovalCmd

public class UserRegistrationAddCheckApprovalCmdImpl
extends TaskCommandImpl
implements UserRegistrationAddCheckApprovalCmd

Implementation for the RegisterBase command which is the base for RegisterNew and RegisterUpdate command.


Field Summary
static java.lang.String CLASSNAME
           
static java.lang.String COPYRIGHT
           
protected  com.ibm.commerce.usermanagement.commands.BusinessFlowEventData eventData
           
protected  java.lang.String eventIdentifier
           
protected  com.ibm.commerce.usermanagement.commands.UserFlowEntityBean userFlowEntityBean
           
 
Fields inherited from class com.ibm.commerce.command.AbstractECCommand
commandContext
 
Fields inherited from interface com.ibm.commerce.usermanagement.commands.UserRegistrationAddCheckApprovalCmd
NAME
 
Fields inherited from interface com.ibm.commerce.command.ECCommand
defaultCommandClassName
 
Constructor Summary
UserRegistrationAddCheckApprovalCmdImpl()
           
 
Method Summary
 boolean checkApproval()
           
 java.lang.String getEventIdentifier()
           
 void performExecute()
          Contains the actual business logic of the command It should be implemented by all the command writer.
 void reset()
          This method is called after a command has been executed to reset its states variables.
 void setBusinessFlowEventData(com.ibm.commerce.ubf.event.BusinessFlowEventData anEventData)
           
 void setEntityId(java.lang.Long anEntityId)
           
 void setEntityObject(java.lang.Object anEntityObject)
           
 void validateParameters()
          Performs server side parameter checking.
 
Methods inherited from class com.ibm.commerce.command.AbstractECCommand
accessControlCheck, checkIsAllowed, checkResourcePermission, execute, finalize, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getDefaultProperties, getResources, getStoreId, getUser, getUserId, isReadyToCallExecute, setAccCheck, setCommandContext, setCommandIfName, setDefaultProperties
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.ibm.commerce.command.ECCommand
checkIsAllowed, checkResourcePermission, execute, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getDefaultProperties, getResources, getStoreId, getUser, getUserId, setAccCheck, setCommandContext, setCommandIfName, setDefaultProperties
 

Field Detail

CLASSNAME

public static final java.lang.String CLASSNAME

COPYRIGHT

public static final java.lang.String COPYRIGHT

eventData

protected com.ibm.commerce.usermanagement.commands.BusinessFlowEventData eventData

eventIdentifier

protected java.lang.String eventIdentifier

userFlowEntityBean

protected com.ibm.commerce.usermanagement.commands.UserFlowEntityBean userFlowEntityBean
Constructor Detail

UserRegistrationAddCheckApprovalCmdImpl

public UserRegistrationAddCheckApprovalCmdImpl()
Method Detail

checkApproval

public boolean checkApproval()
                      throws ECException

getEventIdentifier

public java.lang.String getEventIdentifier()

performExecute

public void performExecute()
                    throws ECException
Description copied from interface: ECCommand
Contains the actual business logic of the command It should be implemented by all the command writer.
Overrides:
performExecute in class AbstractECCommand
Following copied from interface: com.ibm.commerce.command.ECCommand
Throws:
com.ibm.commerce.command.CommandException - The superclass for all ECExceptions.

reset

public void reset()
Description copied from class: AbstractECCommand
This method is called after a command has been executed to reset its states variables. After the call to reset, we should be able to execute the command again.
Overrides:
reset in class AbstractECCommand

setBusinessFlowEventData

public void setBusinessFlowEventData(com.ibm.commerce.ubf.event.BusinessFlowEventData anEventData)

setEntityId

public void setEntityId(java.lang.Long anEntityId)

setEntityObject

public void setEntityObject(java.lang.Object anEntityObject)

validateParameters

public void validateParameters()
                        throws ECException
Description copied from interface: ECCommand
Performs server side parameter checking. This method replaces the checkParameters() method in a previous version of the code.

Overrides:
validateParameters in class AbstractECCommand
Following copied from interface: com.ibm.commerce.command.ECCommand
Throws:
ECException. -