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:
NameTypeRequirementDescription
productSetIDIntegermandatoryThe product set ID.

Output parameters:
NameTypeDescription
productSetNameStringThe deleted product set's name.
memberIdLongThe deleted product set's member ID.

Behavior:

Exception:


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.AccCommand
accessControlCheck, getAccCheck, getForUserId, setAccCheck, setForUserId, setOwner
 
Methods inherited from interface com.ibm.commerce.command.ECCommand
checkIsAllowed, checkResourcePermission, getCommandContext, getCommandIfName, getCommandName, getDefaultProperties, getResources, getStoreId, getUser, getUserId, performExecute, setCommandContext, setCommandIfName, setDefaultProperties, validateParameters
 
Methods inherited from interface com.ibm.commerce.security.Protectable
fulfills, getOwner
 

Field Detail

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.
Method Detail

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