java.lang.ObjectCacheableCommandImpl
com.ibm.commerce.command.AbstractECTargetableCommand
com.ibm.commerce.command.TaskCommandImpl
com.ibm.commerce.contract.commands.ValidateBusinessPolicyInContractForStoreCmdImpl
Validate the Business policy in the specified contract for the specified store (WebSphere Commerce Business Edition only). This is the default implementation of ValidateBusinessPolicyInContractForStore. In the default implementation, we check if the business policy expired, if the business policy is available to the specified store. Calling command: ContractDeploy The following AccessBeans are used in this default implementaton: BusinessPolicyAccessBean, StoreJDBCHelperAccessBean().findStoresCreatedByContract(contractId) ContractJDBCHelperAccessBean().findSameFamilyContracts(name, ownerId, origin, contractId), ContractAccessBean, StoreAccessBean, TradingAgreementAccessBean
Field Summary | |
static java.lang.String | CLASSNAME The name of this command. |
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.contract.commands.ValidateBusinessPolicyInContractForStoreCmd |
defaultCommandClassName, NAME |
Fields inherited from interface com.ibm.commerce.command.ECCommand |
defaultCommandClassName |
Constructor Summary | |
ValidateBusinessPolicyInContractForStoreCmdImpl() Constructor for ValidateBusinessPolicyInContractForStoreCmdImpl |
Method Summary | |
java.lang.Long | getContractId() Returns the ID of the contract to validate. |
TypedProperty | getResponseProperties() Returns the response properties. |
void | otherValidateCheck() Any other checks. |
void | performExecute() Validates all the business policies referred by the specified contract in the specified store. |
void | setContractId(java.lang.Long contractId) Sets the ID of the contract to validate. |
void | setResponseProperties(TypedProperty resp) 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 ID of the store. |
void | validateBusinessPolicies() Validates if the business policies are expired and if they are available for the store. |
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, 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
public static final java.lang.String CLASSNAME
Constructor Detail |
public ValidateBusinessPolicyInContractForStoreCmdImpl()
Method Detail |
public java.lang.Long getContractId()
public TypedProperty getResponseProperties()
public void otherValidateCheck() throws ECException, CreateException, java.rmi.RemoteException, FinderException, javax.naming.NamingException
public void setContractId(java.lang.Long contractId)
public void setResponseProperties(TypedProperty resp)
public void setReturnViewForTools(java.lang.String returnView)
public void setStoreId(java.lang.Integer storeId)
public void validateBusinessPolicies() throws ECException, CreateException, java.rmi.RemoteException, FinderException, javax.naming.NamingException, java.sql.SQLException
public void performExecute() throws ECException
(C) Copyright IBM Corporation 1996, 2005. All Rights Reserved.