com.ibm.commerce.catalogmanagement.commands
Interface CatalogEntryDeleteCmd

All Superinterfaces:
AccCommand, ControllerCommand, ECCommand
All Known Implementing Classes:
CatalogEntryDeleteCmdImpl

public interface CatalogEntryDeleteCmd
extends ControllerCommand

The CatalogEntryDeleteCmd is a URL and controller command that:

Parameters: Access Beans: Task Commands: DeleteCatalogEntryCmd Other Controller Commands: None Mandatory Parameters: catentryId, or partnumber. Additional Parameters: none Optional Parameters: force, checkATP.

Field Summary
static java.lang.String CLASSNAME
          The name of this interface is "com.ibm.commerce.catalogmanagement.commands.CatalogEntryDeleteCmd".
static java.lang.String COPYRIGHT
          The internal copyright field.
 
Fields inherited from interface com.ibm.commerce.command. ECCommand
defaultCommandClassName
 
Method Summary
 java.lang.Long getCatentryId()
          Gets the catalog entry ID.
 java.lang.String getPartnumber()
          Gets the partnumber of the catalog entry.
 void setCatentryId(java.lang.Long anCatentryId)
          Sets the catalog entry ID.
 void setCheckATP(java.lang.Boolean abCheckATP)
          Sets the check ATP option for the delete command: True = BaseItem and ItemSpc will be checked.
 void setForce(java.lang.Integer anForce)
          Sets the force delete option for the catalog entry: 0 = catalog entry will be marked for delete.
 void setMarkfordelete(java.lang.Integer anMarkfordelete)
          Sets the mark for delete flag of the catalog entry: 0 = catalog entry not marked for delete.
 void setMemberId(java.lang.Long anMemberId)
          Sets the owner ID of the catalog entry.
 void setPartnumber(java.lang.String astrPartnumber)
          Sets the partnumber of the catalog entry.
 
Methods inherited from interface com.ibm.commerce.command. ControllerCommand
checkPermission, 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, getResourceOwners, setAccCheck, setForUserId, setOwner
 
Methods inherited from interface com.ibm.commerce.command. ECCommand
checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getResources, getStoreId, getUser, getUserId, performExecute, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties, validateParameters
 

Field Detail
public static final java.lang.String COPYRIGHT
The internal copyright field.
See Also:
Constant Field Values

CLASSNAME

public static final java.lang.String CLASSNAME
The name of this interface is "com.ibm.commerce.catalogmanagement.commands.CatalogEntryDeleteCmd".
See Also:
Constant Field Values
Method Detail

getCatentryId

public java.lang.Long getCatentryId()
Gets the catalog entry ID.
Returns:
the catalog entry ID

getPartnumber

public java.lang.String getPartnumber()
Gets the partnumber of the catalog entry.
Returns:
the catalog entry partnumber

setCatentryId

public void setCatentryId(java.lang.Long anCatentryId)
Sets the catalog entry ID.
Parameters:
anCatentryId - the catalog entry ID

setCheckATP

public void setCheckATP(java.lang.Boolean abCheckATP)
Sets the check ATP option for the delete command: By default, it is set to False.
Parameters:
abCheckATP - whether or not to check the baseitem and item specification when deleting the catalog entry

setForce

public void setForce(java.lang.Integer anForce)
Sets the force delete option for the catalog entry:
Parameters:
anForce - whether the catalog entry will be deleted or mark for deletion

setMarkfordelete

public void setMarkfordelete(java.lang.Integer anMarkfordelete)
Sets the mark for delete flag of the catalog entry: Use the force option instead.
Parameters:
anMarkfordelete - mark for delete flag of the catalog entry

setMemberId

public void setMemberId(java.lang.Long anMemberId)
Sets the owner ID of the catalog entry.
Parameters:
anMemberId - the owner ID of the catalog entry

setPartnumber

public void setPartnumber(java.lang.String astrPartnumber)
Sets the partnumber of the catalog entry.
Parameters:
astrPartnumber - the partnumber of the catalog entry