com.ibm.commerce.productset.commands
Interface ProductSetPublishCmd
- All Superinterfaces:
- AccCommand, ControllerCommand, ECCommand, Protectable
- All Known Implementing Classes:
- ProductSetPublishCmdImpl
- public interface ProductSetPublishCmd
- extends ControllerCommand
Publish a product set based on the existing product set definition.
Input parameters:
Name | Type | Requirement | Description |
productSetID | Integer | mandatory | The product set ID. |
Output parameters:
Behavior:
- Publish the product set based on the input product set ID.
Exception:
- Throws an ECApplicationException with the message key _ERR_ENTITY_OBJECT_NOT_FOUND, if can not find the product set.
Field Summary |
static java.lang.String |
COPYRIGHT
The internal copyright field. |
static java.lang.String |
defaultCommandClassName
The fully qualified name of the default implementation class. |
static java.lang.String |
NAME
The fully qualified name of this class. |
Method Summary |
boolean |
isExclusion()
Returns true if the exclusion flag has been set. |
void |
setExclusion(boolean abExclusion)
Sets the exclusion flag. |
void |
setProductSetId(java.lang.Integer newProductsetId)
Sets the ProductSetId that represents the primary key of the product set. |
void |
setPublishAll(boolean aPublishAll)
Sets the publish all flag. |
Methods inherited from interface com.ibm.commerce.command.ControllerCommand |
execute, getGeneric, getRequestProperties, getResolvedRequestProperties, getResponseProperties, getRetriable, getViewInputProperties, isGeneric, isRetriable, mergeProperties, setGeneric, setRequestProperties, setRetriable, setViewInputProperties |
Methods inherited from interface com.ibm.commerce.command.ECCommand |
checkIsAllowed, checkResourcePermission, getCommandContext, getCommandIfName, getCommandName, getDefaultProperties, getResources, getStoreId, getUser, getUserId, performExecute, setCommandContext, setCommandIfName, setDefaultProperties, validateParameters |
COPYRIGHT
public static final java.lang.String COPYRIGHT
- The internal copyright field.
defaultCommandClassName
public static final java.lang.String defaultCommandClassName
- The fully qualified name of the default implementation class.
NAME
public static final java.lang.String NAME
- The fully qualified name of this class.
isExclusion
public boolean isExclusion()
- Returns true if the exclusion flag has been set.
- Returns:
- boolean
setExclusion
public void setExclusion(boolean abExclusion)
- Sets the exclusion flag.
- Parameters:
abExclusion
- boolean
setProductSetId
public void setProductSetId(java.lang.Integer newProductsetId)
- Sets the ProductSetId that represents the primary key of the product set.
- Parameters:
new
- ProductsetId java.lang.Integer
setPublishAll
public void setPublishAll(boolean aPublishAll)
- Sets the publish all flag.
- Parameters:
aPublishAll
- boolean