java.lang.ObjectCacheableCommandImpl
com.ibm.commerce.command.AbstractECTargetableCommand
com.ibm.commerce.command.TaskCommandImpl
com.ibm.commerce.contract.commands.CreateUpdateTradingAgreementBaseCmdImpl
This is the base class of create or update a contract. (WebSphere Commerce Business Edition only). The following AccessBean are used in this default implementation: ContractJDBCHelperAccessBean().findAllTCSubType(), LanguageAccessBean, TradingDescriptionAccessBean, ParticipantAccessBean.
Field Summary | |
static java.lang.String | COPYRIGHT IBM copyright notice field. |
Fields inherited from class com.ibm.commerce.command.AbstractECTargetableCommand |
commandContext |
Fields inherited from interface com.ibm.commerce.command.ECCommand |
defaultCommandClassName |
Constructor Summary | |
CreateUpdateTradingAgreementBaseCmdImpl() |
Method Summary | |
protected java.util.Vector | getAttachmentElements() Gets all the attachment elements. |
protected java.util.Vector | getParticipantElements() Gets all the trading agreement level participant elements . |
protected java.util.Vector | getTermConditionElements() Gets all the terms and conditons elements. |
protected org.w3c.dom.Element | getTradingAgreementElement() Gets the trading agreement element. |
protected java.util.Vector | getTradingAgreementLevelElements(org.w3c.dom.Element trdElement, java.lang.String tagName, java.lang.String tagSuffix) Gets an Vector object contains the specified Elements by the provided element tag in the given Element. |
protected org.w3c.dom.Element | getTradingDescriptionElement() Gets the trading agreement description element. |
protected void | parseXMLDocument() Parses the trading XML document. |
protected void | setAttachments(java.util.Vector attachments, java.lang.Long tradingId, java.lang.String usageId) Sets the attachments to the specified trading agreement. |
protected void | setTradingAgreementDescAndParticipants(java.lang.Long tradingId) Sets the trading agreement description and participants for the specified trading agreement. |
protected void | setTradingAgreementElement(org.w3c.dom.Element trdElement) Sets the trading agreement element. |
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, reset, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties, validateParameters |
Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final java.lang.String COPYRIGHT
Constructor Detail |
public CreateUpdateTradingAgreementBaseCmdImpl()
Method Detail |
protected java.util.Vector getTradingAgreementLevelElements(org.w3c.dom.Element trdElement, java.lang.String tagName, java.lang.String tagSuffix)
protected java.util.Vector getAttachmentElements()
protected java.util.Vector getParticipantElements()
protected java.util.Vector getTermConditionElements()
protected org.w3c.dom.Element getTradingAgreementElement()
protected org.w3c.dom.Element getTradingDescriptionElement()
protected void parseXMLDocument() throws ECException
protected void setAttachments(java.util.Vector attachments, java.lang.Long tradingId, java.lang.String usageId) throws ECException
protected void setTradingAgreementDescAndParticipants(java.lang.Long tradingId) throws CreateException, FinderException, java.rmi.RemoteException, javax.naming.NamingException, RemoveException, ECApplicationException
protected void setTradingAgreementElement(org.w3c.dom.Element trdElement)
(C) Copyright IBM Corporation 1996, 2005. All Rights Reserved.