public abstract class OrderResponseBuildBaseCmdImpl extends java.lang.Object implements MessageMappingResponseCmd
Constructor and Description |
---|
OrderResponseBuildBaseCmdImpl()
This is the constructor of the class.
|
Modifier and Type | Method and Description |
---|---|
abstract BusinessObjectDocumentType |
createResponseBusinessOjectDocument()
This method returns the business object document type.
|
void |
execute()
This method executes the whole logic of this command.
|
BusinessObjectDocumentType |
getBusinessObjectDocument()
This method returns the business object document.
|
CommandContext |
getCommandContext()
This method gets the command context.
|
ControllerCommand |
getControllerCommand()
This method returns the controller command.
|
java.lang.Exception |
getException()
This method returns the exception.
|
boolean |
isReadyToCallExecute()
This method returns if this command is ready to execute.
|
abstract void |
performExecute()
This method executes the main logic.
|
void |
reset()
This method resets this command.
|
void |
setControllerCommand(ControllerCommand controllerCommand)
This method sets the controller command.
|
void |
setException(java.lang.Exception exception)
This method sets the exception.
|
public OrderResponseBuildBaseCmdImpl()
public abstract BusinessObjectDocumentType createResponseBusinessOjectDocument()
public void setControllerCommand(ControllerCommand controllerCommand)
setControllerCommand
in interface MessageMappingResponseCmd
controllerCommand
- com.ibm.commerce.order.server.commands.ChangeOrderCmd#setChangeOrder(com.ibm.commerce.order.facade.datatypes.ChangeOrderType)
public BusinessObjectDocumentType getBusinessObjectDocument()
getBusinessObjectDocument
in interface MessageMappingResponseCmd
BusinessObjectDocumentCmd.getResultBusinessObjectDocument()
public void setException(java.lang.Exception exception)
setException
in interface MessageMappingResponseCmd
exception
- public abstract void performExecute() throws ECException
ECException
public void execute() throws com.ibm.websphere.command.CommandException
execute
in interface com.ibm.websphere.command.Command
com.ibm.websphere.command.CommandException
Command.execute()
public boolean isReadyToCallExecute()
isReadyToCallExecute
in interface com.ibm.websphere.command.Command
Command.isReadyToCallExecute()
public void reset()
reset
in interface com.ibm.websphere.command.Command
Command.reset()
public CommandContext getCommandContext()
public ControllerCommand getControllerCommand()
public java.lang.Exception getException()