com.ibm.commerce.contract.commands
Interface ValidateBusinessPolicyInContractForStoreCmd

All Superinterfaces:
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
          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
 java.lang.Long getContractId()
          Returns ID of the contract to be validated.
  TypedProperty getResponseProperties()
          Returns the response properties.
 void otherValidateCheck()
          Other validation check
 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 setStoreId(java.lang.Integer storeId)
          Sets the ID of the store.
 void validateBusinessPolicies()           Validates if the business policies referred by the specified contract are valid in the
 

Field Detail
public static final java.lang.String COPYRIGHT
IBM copyright notice field.
See Also:
Constant Field Values

NAME

public static final java.lang.String NAME
The name of this interface.
See Also:
Constant Field Values

defaultCommandClassName

public static final java.lang.String defaultCommandClassName
The name of the default implementation class.
See Also:
Constant Field Values
Method Detail

getContractId

public java.lang.Long getContractId()
Returns ID of the contract to be validated.
Returns:
the contract ID

getResponseProperties

public TypedProperty getResponseProperties()
Returns the response properties.
Returns:
responseProperties the response properties

otherValidateCheck

public void otherValidateCheck()
                        throws ECException,
                               CreateException,
                               java.rmi.RemoteException,
                               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.
ECException
CreateException
java.rmi.RemoteException
FinderException
javax.naming.NamingException

setContractId

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

setResponseProperties

public void setResponseProperties(TypedProperty respProps)
Sets the response properties.
Parameters:
respProps - the response properties

setReturnViewForTools

public void setReturnViewForTools(java.lang.String returnView)
Sets the return view for the tools GUI
Parameters:
returnView - the return view name

setStoreId

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

validateBusinessPolicies

public void validateBusinessPolicies()
                              throws ECException,
                                     CreateException,
                                     java.rmi.RemoteException,
                                     FinderException,
                                     javax.naming.NamingException,
                                     java.sql.SQLException
Validates if the business policies referred by the specified contract are valid in the
Throws:
com.ibm.commerce.exception.ECException.
java.rmi.RemoteException.
javax.ejb.CreateException.
javax.ejb.FinderException.
javax.naming.NamingException.
java.sql.SQLException
ECException
CreateException
java.rmi.RemoteException
FinderException
javax.naming.NamingException