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:
- Gets the product set ID from the DeployTCCmd command.
- Publishes the product set.
Exception:
- Throws an ECApplicationException with the message key _ERR_ENTITY_OBJECT_NOT_FOUND, if it can not find the product set.
Field Summary |
static java.lang.String |
COPYRIGHT
The internal copyright field. |
java.lang.String |
productSetXml
The product set XML definition. |
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.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.command.ECCommand |
checkIsAllowed, checkResourcePermission, execute, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getDefaultProperties, getStoreId, getUser, getUserId, setAccCheck, setCommandContext, setCommandIfName, setDefaultProperties, validateParameters |
COPYRIGHT
public static final java.lang.String COPYRIGHT
- The internal copyright field.
productSetXml
public java.lang.String productSetXml
- The product set XML definition.
DeployCustomProductSetTCCmdImpl
public DeployCustomProductSetTCCmdImpl()
- No value constructor.
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.