Validate the contract (WebSphere Commerce Business Edition only). Calling commands: ContractImportApprovedVersion, ContractSubmitPreApproval, ContractDeploy
Field Summary | |
---|---|
static java.lang.String |
COPYRIGHT IBM copyright notice field. |
static java.lang.String |
defaultCommandClassName The name of the default implementation class. |
static java.lang.String |
NAME The name of this interface. |
Method Summary | |
---|---|
void |
checkIsContractExpired() Validates if the contract is expired |
java.lang.Long |
getContractId() Returns the ID of the contract to validate. |
TypedProperty |
getResponseProperties() Returns the response properties. |
void |
otherValidateCheck() Other contract validation checking. |
void |
setContractId(java.lang.Long contractId) Sets the ID of the contract to validate. |
void |
setResponseProperties(
TypedProperty respProps) Sets the response properties. |
void |
setReturnViewForTools(java.lang.String returnView) Sets the return view for the tools GUI |
void |
validateAccountRelatedInfo() Validates account related Information in the contract if the contract referred to a business account. |
void |
validateBuyerParticipant() Validates Buyer participant(s) in the contract. |
void |
validateSellerParticipant() Validates Seller participant in the contract. |
void |
validateTCOccurrence() Validates the occurrence of the Terms and Conditions in the contract. |
void |
validateTCType()
Validates the type of the Terms and Conditions in the
contract. |
Field Detail |
---|
public static final java.lang.String COPYRIGHT
public static final java.lang.String NAME
public static final java.lang.String defaultCommandClassName
Method Detail |
---|
public void checkIsContractExpired() throws ECException, CreateException, java.rmi.RemoteException, FinderException, javax.naming.NamingException
com.ibm.commerce.exception.ECException.
java.rmi.RemoteException.
javax.ejb.CreateException.
javax.ejb.FinderException.
javax.naming.NamingException.
ECException
CreateException
java.rmi.RemoteException
FinderException
javax.naming.NamingException
public java.lang.Long getContractId()
public TypedProperty getResponseProperties()
public void otherValidateCheck() throws ECException, CreateException, java.rmi.RemoteException, FinderException, javax.naming.NamingException
com.ibm.commerce.exception.ECException.
java.rmi.RemoteException.
javax.ejb.CreateException.
javax.ejb.FinderException.
javax.naming.NamingException.
ECException
CreateException
java.rmi.RemoteException
FinderException
javax.naming.NamingException
public void setContractId(java.lang.Long contractId)
contractId
- the contract IDpublic void setResponseProperties(TypedProperty respProps)
respProps
- the response propertiespublic void setReturnViewForTools(java.lang.String returnView)
returnView
- the return view namepublic void validateAccountRelatedInfo() throws ECException, CreateException, java.rmi.RemoteException, FinderException, javax.naming.NamingException
com.ibm.commerce.exception.ECException.
java.rmi.RemoteException.
javax.ejb.CreateException.
javax.ejb.FinderException.
javax.naming.NamingException.
ECException
CreateException
java.rmi.RemoteException
FinderException
javax.naming.NamingException
public void validateBuyerParticipant() throws ECException, CreateException, java.rmi.RemoteException, FinderException, javax.naming.NamingException
com.ibm.commerce.exception.ECException.
java.rmi.RemoteException.
javax.ejb.CreateException.
javax.ejb.FinderException.
javax.naming.NamingException.
ECException
CreateException
java.rmi.RemoteException
FinderException
javax.naming.NamingException
public void validateSellerParticipant() throws ECException, CreateException, java.rmi.RemoteException, FinderException, javax.naming.NamingException
com.ibm.commerce.exception.ECException.
java.rmi.RemoteException.
javax.ejb.CreateException.
javax.ejb.FinderException.
javax.naming.NamingException.
ECException
CreateException
java.rmi.RemoteException
FinderException
javax.naming.NamingException
public void validateTCOccurrence() throws ECException, CreateException, java.rmi.RemoteException, FinderException, javax.naming.NamingException
com.ibm.commerce.exception.ECException.
java.rmi.RemoteException.
javax.ejb.CreateException.
javax.ejb.FinderException.
javax.naming.NamingException.
ECException
CreateException
java.rmi.RemoteException
FinderException
javax.naming.NamingException
public void validateTCType() throws ECException, CreateException, java.rmi.RemoteException, FinderException, javax.naming.NamingException
com.ibm.commerce.exception.ECException.
java.rmi.RemoteException.
javax.ejb.CreateException.
javax.ejb.FinderException.
javax.naming.NamingException.
ECException
CreateException
java.rmi.RemoteException
FinderException
javax.naming.NamingException