public class ComposeContractFromAccessBeanSummaryCmdImpl extends java.lang.Object implements ComposeContractFromAccessBeanCmd
Constructor and Description |
---|
ComposeContractFromAccessBeanSummaryCmdImpl() |
Modifier and Type | Method and Description |
---|---|
protected ContractType | createContract()
Returns ContractType
|
protected ContractExternalIdentifierType | createContractExternalIdentifier()
Composes an ExternalContractIdentifierType SDO from the contract access bean specified.
|
protected ContractIdentifierType | createContractIdentifier()
Composes an ContractIdentifierSDO from the contract access bean specified.
|
protected DescriptionType | createLongDescription()
Composes an LongtDescriptionSDO from the contract access bean specified.
|
protected DescriptionType | createShortDescription()
Composes an ShortDescriptionSDO from the contract access bean specified.
|
void | execute()
Composes ContractType It calls the following methods: setContractIdentifier() setShortDescription() setLongDescription()
|
protected CommerceFoundationFactory | getCommerceFoundationFactory()
This method will return the default instance of the Commerce Foundation Factory.
|
ContractType | getContract()
get Contract Type
|
protected ContractAccessBean | getContractAccessBean()
Returns ContractAccessBean
|
protected com.ibm.commerce.contract.facade.datatypes.ContractFactory | getContractFactory()
This method will return the default instance of the Contract Factory.
|
boolean | isReadyToCallExecute() |
void | reset() |
void | setContractAccessBean(ContractAccessBean contractAccessBean)
set contract access bean
|
public ComposeContractFromAccessBeanSummaryCmdImpl()
public final void setContractAccessBean(ContractAccessBean contractAccessBean)
protected final ContractAccessBean getContractAccessBean()
public ContractType getContract()
public void execute() throws ECException
protected ContractType createContract()
protected ContractIdentifierType createContractIdentifier() throws java.lang.Exception
protected ContractExternalIdentifierType createContractExternalIdentifier() throws java.lang.Exception
protected DescriptionType createLongDescription() throws java.lang.Exception
protected DescriptionType createShortDescription() throws java.lang.Exception
public boolean isReadyToCallExecute()
public void reset()
protected com.ibm.commerce.contract.facade.datatypes.ContractFactory getContractFactory()
protected CommerceFoundationFactory getCommerceFoundationFactory()