com.ibm.commerce.contract.commands
Class DeployTCCmdImpl

java.lang.Object
  |
  +--CacheableCommandImpl
        |
        +--com.ibm.commerce.command.AbstractECTargetableCommand
              |
              +--com.ibm.commerce.command.TaskCommandImpl
                    |
                    +--com.ibm.commerce.contract.commands.DeployTCCmdImpl
All Implemented Interfaces:
DeployTCCmd, ECCommand, ECTargetableCommand, TaskCommand
Direct Known Subclasses:
DeployPriceTCCmdImpl

public class DeployTCCmdImpl
extends TaskCommandImpl
implements DeployTCCmd

The base interface that defines the signature of all commands that deploy Terms and Conditions (WebSphere Commerce Business Edition only).

See Also:
Serialized Form

Field Summary
protected   TermConditionAccessBean abTC
          The TermConditionAccessBean of the term and condintion to be deployed.
static java.lang.String CLASSNAME
          The name of this class
static java.lang.String COPYRIGHT
          The internal copyright field
 
Fields inherited from class com.ibm.commerce.command. AbstractECTargetableCommand
commandContext
 
Fields inherited from interface com.ibm.commerce.contract.commands. DeployTCCmd
defaultCommandClassName, NAME
 
Fields inherited from interface com.ibm.commerce.command. ECCommand
defaultCommandClassName
 
Constructor Summary
DeployTCCmdImpl()
          The default constructor of this class
 
Method Summary
 java.lang.Integer getTargetStoreId()
          Gets the contract deployment target store ID.
 void setTargetStoreId(java.lang.Integer storeId)
          Sets the contract deployment target store ID.
 void setTermCondition( TermConditionAccessBean argTCAb)
          Sets the TermCondtionAccessBean to deploy
 
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, performExecute, 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
The internal copyright field
See Also:
Constant Field Values

CLASSNAME

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

abTC

protected TermConditionAccessBean abTC
The TermConditionAccessBean of the term and condintion to be deployed.
Constructor Detail

DeployTCCmdImpl

public DeployTCCmdImpl()
The default constructor of this class
Method Detail

getTargetStoreId

public java.lang.Integer getTargetStoreId()
Gets the contract deployment target store ID.
Specified by:
getTargetStoreId in interface DeployTCCmd
Returns:
Target store ID

setTargetStoreId

public void setTargetStoreId(java.lang.Integer storeId)
Sets the contract deployment target store ID.
Specified by:
setTargetStoreId in interface DeployTCCmd
Parameters:
storeId - Target store ID

setTermCondition

public void setTermCondition(TermConditionAccessBean argTCAb)
Sets the TermCondtionAccessBean to deploy
Specified by:
setTermCondition in interface DeployTCCmd
Parameters:
argTCAb - the TermCondtionAccessBean to be deployed