public interface ValidateContractCmd
extends com.ibm.commerce.command.TaskCommand
ValidateContractCmdImpl
.Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COPYRIGHT
The IBM copyright notice field.
|
static java.lang.String |
defaultCommandClassName
The default implementation of this command.
|
static java.lang.String |
NAME
The full name of this command.
|
Modifier and Type | Method and Description |
---|---|
void |
checkIsContractExpired()
Validates if the contract is expired
|
java.lang.Long |
getContractId()
Returns the ID of the contract to validate.
|
com.ibm.commerce.datatype.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(com.ibm.commerce.datatype.TypedProperty respProps)
Sets the response properties.
|
void |
setReturnViewForTools(java.lang.String returnView)
Sets the return view for the tools GUI
|
void |
setStoreId(java.lang.Integer storeId)
Sets the target store ID.
|
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.
|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getPostInvokeParameters, getPreInvokeParameters, getResources, getStoreId, getUser, getUserId, performExecute, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties, validateParameters
static final java.lang.String COPYRIGHT
static final java.lang.String defaultCommandClassName
static final java.lang.String NAME
void checkIsContractExpired() throws com.ibm.commerce.exception.ECException
com.ibm.commerce.exception.ECException.
java.rmi.RemoteException.
javax.ejb.CreateException.
javax.ejb.FinderException.
javax.naming.NamingException.
com.ibm.commerce.exception.ECException
java.lang.Long getContractId()
com.ibm.commerce.datatype.TypedProperty getResponseProperties()
void otherValidateCheck() throws com.ibm.commerce.exception.ECException
com.ibm.commerce.exception.ECException.
java.rmi.RemoteException.
javax.ejb.CreateException.
javax.ejb.FinderException.
javax.naming.NamingException.
com.ibm.commerce.exception.ECException
void setContractId(java.lang.Long contractId)
contractId
- the contract IDvoid setResponseProperties(com.ibm.commerce.datatype.TypedProperty respProps)
respProps
- the response propertiesvoid setReturnViewForTools(java.lang.String returnView)
returnView
- the return view namevoid setStoreId(java.lang.Integer storeId)
storeId
- The store id which the contract belongs to.void validateAccountRelatedInfo() throws com.ibm.commerce.exception.ECException
com.ibm.commerce.exception.ECException.
java.rmi.RemoteException.
javax.ejb.CreateException.
javax.ejb.FinderException.
javax.naming.NamingException.
com.ibm.commerce.exception.ECException
void validateBuyerParticipant() throws com.ibm.commerce.exception.ECException
com.ibm.commerce.exception.ECException.
java.rmi.RemoteException.
javax.ejb.CreateException.
javax.ejb.FinderException.
javax.naming.NamingException.
com.ibm.commerce.exception.ECException
void validateSellerParticipant() throws com.ibm.commerce.exception.ECException
com.ibm.commerce.exception.ECException.
java.rmi.RemoteException.
javax.ejb.CreateException.
javax.ejb.FinderException.
javax.naming.NamingException.
com.ibm.commerce.exception.ECException
void validateTCOccurrence() throws com.ibm.commerce.exception.ECException
com.ibm.commerce.exception.ECException.
java.rmi.RemoteException.
javax.ejb.CreateException.
javax.ejb.FinderException.
javax.naming.NamingException.
com.ibm.commerce.exception.ECException
void validateTCType() throws com.ibm.commerce.exception.ECException
com.ibm.commerce.exception.ECException.
java.rmi.RemoteException.
javax.ejb.CreateException.
javax.ejb.FinderException.
javax.naming.NamingException.
com.ibm.commerce.exception.ECException