com.ibm.commerce.productset.commands
Interface ProductSetPolicyDeleteCmd
- All Superinterfaces:
- AccCommand, ControllerCommand, ECCommand, Protectable
- All Known Implementing Classes:
- ProductSetPolicyDeleteCmdImpl
- public interface ProductSetPolicyDeleteCmd
- extends ControllerCommand
Delete a product set and product set policy definition based on the input product set ID.
Input parameters:
Name | Type | Requirement | Description |
productSetID | Integer | mandatory | The product set ID. |
Output parameters:
Name | Type | Description |
productSetName | String | The deleted product set's name. |
memberId | Long | The deleted product set's member ID. |
Behavior:
- Delete the product set's and product set policy's definition 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 or product set policy.
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 |
java.lang.Long |
getMemberId()
Returns the MemberId that represents the primary key of the owner of the product set policy. |
java.lang.String |
getProductSetName()
Returns the name of the product set. |
void |
setProductSetId(java.lang.Integer newPsId)
Sets the ProductSetId that represents the primary key of the product set. |
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.
getMemberId
public java.lang.Long getMemberId()
- Returns the MemberId that represents the primary key of the owner of the product set policy.
- Returns:
- java.lang.Long
getProductSetName
public java.lang.String getProductSetName()
- Returns the name of the product set.
- Returns:
- java.lang.String
setProductSetId
public void setProductSetId(java.lang.Integer newPsId)
- Sets the ProductSetId that represents the primary key of the product set.
- Parameters:
newPsId
- java.lang.Integer