com.ibm.commerce.contract.commands
Interface ValidateBusinessPolicyInContractForStoreCmd

All Superinterfaces:
ECCommand, TaskCommand
All Known Implementing Classes:
ValidateBusinessPolicyInContractForStoreCmdImpl

public interface ValidateBusinessPolicyInContractForStoreCmd
extends TaskCommand

Validate the Business policy in the specified contract for the specified store (WebSphere Commerce Business Edition only). Calling command: 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.ValidateBusinessPolicyInContractForStoreCmdImpl".
static java.lang.String NAME
          The name of this interface is "com.ibm.commerce.contract.commands.ValidateBusinessPolicyInContractForStoreCmd".
 
Method Summary
 java.lang.Long getContractId()
          Return 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 setStoreId(java.lang.Integer storeId)
          Set the id of the store
 void validateBusinessPolicies()
          Validate if the business policies
 
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

COPYRIGHT

public static final java.lang.String COPYRIGHT
The internal copyright field.

defaultCommandClassName

public static final java.lang.String defaultCommandClassName
The default implementation class is "com.ibm.commerce.contract.commands.ValidateBusinessPolicyInContractForStoreCmdImpl".

NAME

public static final java.lang.String NAME
The name of this interface is "com.ibm.commerce.contract.commands.ValidateBusinessPolicyInContractForStoreCmd".
Method Detail

getContractId

public java.lang.Long getContractId()
Return id of the contract
Returns:
java.lang.Long

getResponseProperties

public TypedProperty getResponseProperties()
Return the responseProperties
Returns:
responseProperties com.ibm.commerce.datatype.TypedProperty

otherValidateCheck

public void otherValidateCheck()
                        throws ECException,
                               javax.ejb.CreateException,
                               java.rmi.RemoteException,
                               javax.ejb.FinderException,
                               javax.naming.NamingException
Other validation check
Throws:
com.ibm.commerce.exception.ECException. -  
java.rmi.RemoteException. -  
javax.ejb.CreateException. -  
javax.ejb.FinderException. -  
javax.naming.NamingException. -  

setContractId

public void setContractId(java.lang.Long contractId)
Set the id of the contract to validate
Parameters:
contractId - java.lang.Long

setResponseProperties

public void setResponseProperties(TypedProperty respProps)
set the ResponseProperties
Parameters:
respProps - com.ibm.commerce.datatype.TypedProperty

setReturnViewForTools

public void setReturnViewForTools(java.lang.String returnView)
Set the return view for Tools
Parameters:
returnView - java.lang.String

setStoreId

public void setStoreId(java.lang.Integer storeId)
Set the id of the store
Parameters:
storeId - java.lang.Integer

validateBusinessPolicies

public void validateBusinessPolicies()
                              throws ECException,
                                     javax.ejb.CreateException,
                                     java.rmi.RemoteException,
                                     javax.ejb.FinderException,
                                     javax.naming.NamingException
Validate if the business policies
Throws:
com.ibm.commerce.exception.ECException. -  
java.rmi.RemoteException. -  
javax.ejb.CreateException. -  
javax.ejb.FinderException. -  
javax.naming.NamingException. -