com.ibm.commerce.productset.commands
Class DeployCustomProductSetTCCmdImpl

java.lang.Object
  |
  +--com.ibm.commerce.command.AbstractECCommand
        |
        +--com.ibm.commerce.command.TaskCommandImpl
              |
              +--com.ibm.commerce.contract.commands.DeployTCCmdImpl
                    |
                    +--com.ibm.commerce.productset.commands.DeployCustomProductSetTCCmdImpl
All Implemented Interfaces:
DeployCustomProductSetTCCmd, DeployTCCmd, ECCommand, TaskCommand

public class DeployCustomProductSetTCCmdImpl
extends DeployTCCmdImpl
implements DeployCustomProductSetTCCmd

Deploy a custom product set term and condition.

Behavior:

Exception:


Field Summary
static java.lang.String COPYRIGHT
          The internal copyright field.
 java.lang.String productSetXml
          The product set XML definition.
 
Fields inherited from class com.ibm.commerce.contract.commands.DeployTCCmdImpl
abTC
 
Fields inherited from class com.ibm.commerce.command.AbstractECCommand
commandContext
 
Fields inherited from interface com.ibm.commerce.productset.commands.DeployCustomProductSetTCCmd
defaultCommandClassName, NAME
 
Constructor Summary
DeployCustomProductSetTCCmdImpl()
          No value constructor.
 
Method Summary
 AccessVector getResources()
          Gets the access vector accessed by this command.
 void performExecute()
          Contains the actual business logic of the command It should be implemented by all the command writer.
 
Methods inherited from class com.ibm.commerce.contract.commands.DeployTCCmdImpl
getTargetStoreId, setTargetStoreId, setTermCondition
 
Methods inherited from class com.ibm.commerce.command.AbstractECCommand
accessControlCheck, checkIsAllowed, checkResourcePermission, execute, finalize, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getDefaultProperties, getStoreId, getUser, getUserId, isReadyToCallExecute, reset, setAccCheck, setCommandContext, setCommandIfName, setDefaultProperties, validateParameters
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.ibm.commerce.contract.commands.DeployTCCmd
getTargetStoreId, setTargetStoreId, setTermCondition
 
Methods inherited from interface com.ibm.commerce.command.ECCommand
checkIsAllowed, checkResourcePermission, execute, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getDefaultProperties, getStoreId, getUser, getUserId, setAccCheck, setCommandContext, setCommandIfName, setDefaultProperties, validateParameters
 

Field Detail

COPYRIGHT

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

productSetXml

public java.lang.String productSetXml
The product set XML definition.
Constructor Detail

DeployCustomProductSetTCCmdImpl

public DeployCustomProductSetTCCmdImpl()
No value constructor.
Method Detail

getResources

public AccessVector getResources()
                          throws ECException
Gets the access vector accessed by this command. The default implementation returns null indicating that no protectable resource is accessed by this command. It is the responsibilities of the command writer to return the protectable primary resource(s) and the corresponding actions accessed by this command.

Specified by:
getResources in interface ECCommand
Overrides:
getResources in class AbstractECCommand
Returns:
AccessVector - a vector of resource action pairs

performExecute

public void performExecute()
                    throws ECException
Description copied from interface: ECCommand
Contains the actual business logic of the command It should be implemented by all the command writer.
Specified by:
performExecute in interface ECCommand
Overrides:
performExecute in class AbstractECCommand
Following copied from interface: com.ibm.commerce.command.ECCommand
Throws:
com.ibm.commerce.command.CommandException - The superclass for all ECExceptions.