public class ComposeExternalQuoteCmdImpl
extends java.lang.Object
implements com.ibm.commerce.order.facade.server.commands.ComposeQuoteCmd
GetQuoteCmdImpl. It's
used when access profile is set as IBM_External_Details or
IBM_External_Summary.
It composes the list of quotes which is retrieved from an external system.| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
COPYRIGHT
IBM copyright notice field.
|
| Constructor and Description |
|---|
ComposeExternalQuoteCmdImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
execute()
This method executes the main logic of the command.
|
ShowType |
getPagingParameters()
This method gets the paging parameter
|
java.util.List |
getQuotes()
This method gets the list of quotes.
|
ShowQuoteType |
getShowQuote()
This method gets the instance of ShowQuoteType.
|
boolean |
isReadyToCallExecute()
This method returns if this command is ready to execute
|
void |
reset()
This method resets this command.
|
void |
setPagingParameters(ShowType argPagingParameter)
This method sets the paging parameter
|
void |
setQuotes(java.util.List quotes)
This method sets the list of quotes.
|
void |
setShowQuote(ShowQuoteType showQuote)
This method sets the instance of ShowQuoteType.
|
public static final java.lang.String COPYRIGHT
public ShowType getPagingParameters()
getPagingParameters in interface com.ibm.commerce.order.facade.server.commands.ComposeQuoteCmdpublic void setPagingParameters(ShowType argPagingParameter)
setPagingParameters in interface com.ibm.commerce.order.facade.server.commands.ComposeQuoteCmdargPagingParameter - The paging parameter to set.public void execute()
throws com.ibm.websphere.command.CommandException
execute in interface com.ibm.websphere.command.Commandcom.ibm.websphere.command.CommandExceptionCommand.execute()public java.util.List getQuotes()
getQuotes in interface com.ibm.commerce.order.facade.server.commands.ComposeQuoteCmdpublic ShowQuoteType getShowQuote()
getShowQuote in interface com.ibm.commerce.order.facade.server.commands.ComposeQuoteCmdpublic void setQuotes(java.util.List quotes)
setQuotes in interface com.ibm.commerce.order.facade.server.commands.ComposeQuoteCmdquotes - public void setShowQuote(ShowQuoteType showQuote)
showQuote - the instance value of ShowQuoteType.public boolean isReadyToCallExecute()
isReadyToCallExecute in interface com.ibm.websphere.command.CommandCommand.isReadyToCallExecute()public void reset()
reset in interface com.ibm.websphere.command.CommandCommand.reset()