com.ibm.commerce.productset.commands
Interface ProductSetDeleteCmd

All Superinterfaces:
AccCommand, ControllerCommand, ECCommand, Protectable
All Known Implementing Classes:
ProductSetDeleteCmdImpl

public interface ProductSetDeleteCmd
extends ControllerCommand

Deletes a product set definition based on the input prodcut set ID.

Input parameters:
NameTypeRequirementDescription
productSetIDIntegermandatoryThe product set ID.
markForDeleteOnlyStringoptionalWhen input is "yes", only mark delete the product set.

Output parameters:
NameTypeDescription
productSetIdIntegerThe deleted product set's ID.
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.
 java.lang.Integer getProductSetId()
          Returns the ProductSetId that represents the primary key of the product set.
 java.lang.String getProductSetName()
          Returns the name of the product set.
 void setMarkForDelete(java.lang.String newMarkForDelete)
          Sets the mark for delete flag to indicate whether this product set should be deleted or marked for delete.
 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.
Returns:
java.lang.Long

getProductSetId

public java.lang.Integer getProductSetId()
Returns the ProductSetId that represents the primary key of the product set.
Returns:
java.lang.Integer

getProductSetName

public java.lang.String getProductSetName()
Returns the name of the product set.
Returns:
java.lang.String

setMarkForDelete

public void setMarkForDelete(java.lang.String newMarkForDelete)
Sets the mark for delete flag to indicate whether this product set should be deleted or marked for delete.
Parameters:
newMarkForDelete - java.lang.String

setProductSetId

public void setProductSetId(java.lang.Integer newPsId)
Sets the ProductSetId that represents the primary key of the product set.
Parameters:
new - PsId java.lang.Integer