com.ibm.commerce.contract.commands
Class ContractSubmitCheckApprovalCmdImpl

java.lang.Object
  |
  +--com.ibm.commerce.command.AbstractECCommand
        |
        +--com.ibm.commerce.command.TaskCommandImpl
              |
              +--com.ibm.commerce.contract.commands.ContractSubmitCheckApprovalCmdImpl
All Implemented Interfaces:
ContractSubmitCheckApprovalCmd, ECCommand, TaskCommand

public class ContractSubmitCheckApprovalCmdImpl
extends TaskCommandImpl
implements ContractSubmitCheckApprovalCmd

Check if a contract need to approval (WebSphere Commerce Business Edition only).


Field Summary
static java.lang.String CLASSNAME
           
static java.lang.String COPYRIGHT
           
 
Fields inherited from class com.ibm.commerce.command.AbstractECCommand
commandContext
 
Fields inherited from interface com.ibm.commerce.contract.commands.ContractSubmitCheckApprovalCmd
defaultCommandClassName, NAME
 
Fields inherited from interface com.ibm.commerce.command.ECCommand
defaultCommandClassName
 
Constructor Summary
ContractSubmitCheckApprovalCmdImpl()
           
 
Method Summary
 com.ibm.commerce.ubf.event.BusinessFlowEventData getBusinessFlowEventData()
          Returns business flow event date
 java.lang.Long getEntityId()
          Returns entity id
 java.lang.Object getEntityObject()
          Returns entity object
 java.lang.String getEventIdentifier()
          Returns the eventIdentifier
 void performExecute()
          Contains the actual business logic of the command It should be implemented by all the command writer.
 void setBusinessFlowEventData(com.ibm.commerce.ubf.event.BusinessFlowEventData newBusinessFlowEventData)
          Sets the business flow event data.
 void setEntityId(java.lang.Long newEntityId)
          Sets the entity id.
 void setEntityObject(java.lang.Object newEntityObject)
          Sets the entity object.
 
Methods inherited from class com.ibm.commerce.command.AbstractECCommand
accessControlCheck, checkIsAllowed, checkResourcePermission, execute, finalize, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getDefaultProperties, getResources, getStoreId, getUser, getUserId, isReadyToCallExecute, reset, setAccCheck, setCommandContext, setCommandIfName, setDefaultProperties, validateParameters
 
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, validateParameters
 

Field Detail

CLASSNAME

public static final java.lang.String CLASSNAME

COPYRIGHT

public static final java.lang.String COPYRIGHT
Constructor Detail

ContractSubmitCheckApprovalCmdImpl

public ContractSubmitCheckApprovalCmdImpl()
Method Detail

getBusinessFlowEventData

public com.ibm.commerce.ubf.event.BusinessFlowEventData getBusinessFlowEventData()
Returns business flow event date

getEntityId

public java.lang.Long getEntityId()
Returns entity id

getEntityObject

public java.lang.Object getEntityObject()
Returns entity object

getEventIdentifier

public java.lang.String getEventIdentifier()
Returns the eventIdentifier

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.

setBusinessFlowEventData

public void setBusinessFlowEventData(com.ibm.commerce.ubf.event.BusinessFlowEventData newBusinessFlowEventData)
Sets the business flow event data.

setEntityId

public void setEntityId(java.lang.Long newEntityId)
Sets the entity id.

setEntityObject

public void setEntityObject(java.lang.Object newEntityObject)
Sets the entity object.