|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Validate the contract (WebSphere Commerce Business Edition only). Calling commands: ContractImportApprovedVersion, ContractSubmitPreApproval, ContractDeploy
Field Summary | |
static java.lang.String |
COPYRIGHT
The internal copyright field. |
static java.lang.String |
defaultCommandClassName
The default implementation class is "com.ibm.commerce.contract.commands.ValidateContractCmdImpl". |
static java.lang.String |
NAME
The name of this interface is "com.ibm.commerce.contract.commands.ValidateContractCmd". |
Method Summary | |
void |
checkIsContractExpired()
Validate if the contract is expired |
java.lang.Long |
getContractId()
Return the id of the contract |
TypedProperty |
getResponseProperties()
Return the responseProperties |
void |
otherValidateCheck()
Other validation check |
void |
setContractId(java.lang.Long contractId)
Set the id of the contract to validate |
void |
setResponseProperties(TypedProperty respProps)
set the ResponseProperties |
void |
setReturnViewForTools(java.lang.String returnView)
Set the return view for Tools |
void |
validateAccountRelatedInfo()
Validate account related Information in the contract |
void |
validateBuyerParticipant()
Validate Buyer participant in contract |
void |
validateSellerParticipant()
Validate Seller participant in contract |
void |
validateTCOccurrence()
Validate the occurrence of the Terms and Conditions in the contract |
void |
validateTCType()
Validate the type of the Terms and Conditions in the contract |
Methods inherited from interface com.ibm.commerce.command.ECCommand |
checkIsAllowed, checkResourcePermission, execute, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getDefaultProperties, getResources, getStoreId, getUser, getUserId, performExecute, setAccCheck, setCommandContext, setCommandIfName, setDefaultProperties, validateParameters |
Field Detail |
public static final java.lang.String COPYRIGHT
public static final java.lang.String defaultCommandClassName
public static final java.lang.String NAME
Method Detail |
public void checkIsContractExpired() throws ECException, javax.ejb.CreateException, java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
com.ibm.commerce.exception.ECException.
- java.rmi.RemoteException.
- javax.ejb.CreateException.
- javax.ejb.FinderException.
- javax.naming.NamingException.
- public java.lang.Long getContractId()
public TypedProperty getResponseProperties()
public void otherValidateCheck() throws ECException, javax.ejb.CreateException, java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
com.ibm.commerce.exception.ECException.
- java.rmi.RemoteException.
- javax.ejb.CreateException.
- javax.ejb.FinderException.
- javax.naming.NamingException.
- public void setContractId(java.lang.Long contractId)
contractId
- java.lang.Longpublic void setResponseProperties(TypedProperty respProps)
respProps
- com.ibm.commerce.datatype.TypedPropertypublic void setReturnViewForTools(java.lang.String returnView)
returnView
- java.lang.Stringpublic void validateAccountRelatedInfo() throws ECException, javax.ejb.CreateException, java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
com.ibm.commerce.exception.ECException.
- java.rmi.RemoteException.
- javax.ejb.CreateException.
- javax.ejb.FinderException.
- javax.naming.NamingException.
- public void validateBuyerParticipant() throws ECException, javax.ejb.CreateException, java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
com.ibm.commerce.exception.ECException.
- java.rmi.RemoteException.
- javax.ejb.CreateException.
- javax.ejb.FinderException.
- javax.naming.NamingException.
- public void validateSellerParticipant() throws ECException, javax.ejb.CreateException, java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
com.ibm.commerce.exception.ECException.
- java.rmi.RemoteException.
- javax.ejb.CreateException.
- javax.ejb.FinderException.
- javax.naming.NamingException.
- public void validateTCOccurrence() throws ECException, javax.ejb.CreateException, java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
com.ibm.commerce.exception.ECException.
- java.rmi.RemoteException.
- javax.ejb.CreateException.
- javax.ejb.FinderException.
- javax.naming.NamingException.
- public void validateTCType() throws ECException, javax.ejb.CreateException, java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
com.ibm.commerce.exception.ECException.
- java.rmi.RemoteException.
- javax.ejb.CreateException.
- javax.ejb.FinderException.
- javax.naming.NamingException.
-
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |