com.ibm.commerce.usermanagement.commands
Class OrgEntityRegistrationAddApprovalBaseCmdImpl

java.lang.Object
  |
  +--CacheableCommandImpl
        |
        +--com.ibm.commerce.command.AbstractECTargetableCommand
              |
              +--com.ibm.commerce.command.ControllerCommandImpl
                    |
                    +--com.ibm.commerce.usermanagement.commands.OrgEntityRegistrationAddApprovalBaseCmdImpl
All Implemented Interfaces:
AccCommand, ControllerCommand, ECCommand, ECTargetableCommand
Direct Known Subclasses:
OrgEntityRegistrationAddPostApprovalCmdImpl, OrgEntityRegistrationAddPostRejectCmdImpl

public class OrgEntityRegistrationAddApprovalBaseCmdImpl
extends ControllerCommandImpl

This command is a base class for commands in the organization registration approval process.

Behavior

Exception Conditions

See Also:
Serialized Form

Field Summary
static java.lang.String CLASSNAME
          The name of this class.
static java.lang.String COPYRIGHT
          IBM copyright notice field.
 
Fields inherited from class com.ibm.commerce.command. ControllerCommandImpl
requestProperties, responseProperties, retriable, viewReqProperties
 
Fields inherited from class com.ibm.commerce.command. AbstractECTargetableCommand
commandContext
 
Fields inherited from interface com.ibm.commerce.command. ECCommand
defaultCommandClassName
 
Constructor Summary
OrgEntityRegistrationAddApprovalBaseCmdImpl()
          Constructor for OrgEntityRegistrationAddApprovalBaseCmdImpl.
 
Method Summary
 java.lang.Long getEntityId()
          Returns the ID of the OrgEntityFlowEntityBean object associated with this instance.
 BusinessFlowEntityBean getEntityObject()
          Gets the OrgEntityFlowEntityBean object associated with this instance.
 java.lang.String getFlowContext()
          Gets the flow context.
 OrgEntityFlowEntityBean getOrgFlowEntityBean()
          Returns an instance of OrgEntityFlowEntityBean.
 void reset()
          This method should be called after a command has been executed to reset its states variables.
 void setFlowContext(java.lang.String aFlowContext)
          Sets the flow context.
 void setOrgFlowEntityBean(OrgEntityFlowEntityBean orgFlowEntityBean)
          Sets an instance of the organization entity flow entity bean.
 void setRequestProperties( TypedProperty reqProperties)
          Sets the request properties, and initializes the OrgEntityFlowEntityBean.
 void setStateIdentifier(java.lang.Integer aStateIdentifier)
          Sets the state identifier.
 void validateParameters()
          Performs server side parameter checking.
 
Methods inherited from class com.ibm.commerce.command. ControllerCommandImpl
checkPermission, fulfills, getForUserId, getGeneric, getOwner, getRequestProperties, getResolvedRequestProperties, getResourceOwners, getResponseProperties, getRetriable, getViewInputProperties, isGeneric, isRetriable, mergeProperties, setForUserId, setGeneric, setOwner, setResponseProperties, setRetriable, setViewInputProperties
 
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, performExecute, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, 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. ControllerCommand
execute
 
Methods inherited from interface com.ibm.commerce.command. AccCommand
accessControlCheck, getAccCheck, setAccCheck
 
Methods inherited from interface com.ibm.commerce.command. ECCommand
checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getResources, getStoreId, getUser, getUserId, performExecute, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties
 

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

CLASSNAME

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

OrgEntityRegistrationAddApprovalBaseCmdImpl

public OrgEntityRegistrationAddApprovalBaseCmdImpl()
Constructor for OrgEntityRegistrationAddApprovalBaseCmdImpl.
Method Detail

getEntityId

public java.lang.Long getEntityId()
Returns the ID of the OrgEntityFlowEntityBean object associated with this instance.
Returns:
java.lang.Long
See Also:
com.ibm.commerce.ubf.commands.BusinessFlowCmd#getEntityId()

getEntityObject

public BusinessFlowEntityBean getEntityObject()
Gets the OrgEntityFlowEntityBean object associated with this instance.
Returns:
com.ibm.commerce.ubf.beans.BusinessFlowEntityBean
See Also:
com.ibm.commerce.ubf.commands.BusinessFlowCmd#getEntityObject()

setStateIdentifier

public void setStateIdentifier(java.lang.Integer aStateIdentifier)
Sets the state identifier.
See Also:
com.ibm.commerce.ubf.commands.BusinessFlowCmd#setStateIdentifier(Integer)

getFlowContext

public java.lang.String getFlowContext()
Gets the flow context.
Returns:
String Flow context.
See Also:
com.ibm.commerce.ubf.commands.BusinessFlowCmd#getFlowContext()

setFlowContext

public void setFlowContext(java.lang.String aFlowContext)
Sets the flow context.
See Also:
com.ibm.commerce.ubf.commands.BusinessFlowCmd#setFlowContext(String)

setRequestProperties

public void setRequestProperties(TypedProperty reqProperties)
                          throws ECException
Sets the request properties, and initializes the OrgEntityFlowEntityBean.
Specified by:
setRequestProperties in interface ControllerCommand
Overrides:
setRequestProperties in class ControllerCommandImpl
Throws:
com.imb.commerce.exception.ECException
ECException
See Also:
ControllerCommand.setRequestProperties(TypedProperty)

reset

public void reset()
Description copied from class: AbstractECTargetableCommand
This method should be 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 AbstractECTargetableCommand
See Also:
com.ibm.sfc.cmd.Command#reset()

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.
Specified by:
validateParameters in interface ECCommand
Overrides:
validateParameters in class AbstractECTargetableCommand
Throws:
ECException
See Also:
ECCommand.validateParameters()

getOrgFlowEntityBean

public OrgEntityFlowEntityBean getOrgFlowEntityBean()
Returns an instance of OrgEntityFlowEntityBean. The instance represents an organization that is being created and modified in the flow.
Returns:
OrgEntityFlowEntityBean The OrgEntityFlowEntityBean.

setOrgFlowEntityBean

public void setOrgFlowEntityBean(OrgEntityFlowEntityBean orgFlowEntityBean)
Sets an instance of the organization entity flow entity bean.
Parameters:
orgFlowEntityBean - The orgFlowEntityBean to set.