com.ibm.commerce.negotiation.commands
Class GalleryDeleteCmdImpl
com.ibm.commerce.negotiation.commands.GalleryDeleteCmdImpl
- All Implemented Interfaces:
- AccCommand, ControllerCommand, ECCommand, GalleryDeleteCmd, Protectable
- public class GalleryDeleteCmdImpl
- implements GalleryDeleteCmd
Controller command that deletes an auction from a member's gallery.
Field Summary |
static java.lang.String |
COPYRIGHT
|
Methods inherited from interface com.ibm.commerce.command.ControllerCommand |
execute, getGeneric, getRequestProperties, getResolvedRequestProperties, getResponseProperties, getRetriable, getViewInputProperties, isGeneric, isRetriable, mergeProperties, setGeneric, setRetriable, setViewInputProperties |
Methods inherited from interface com.ibm.commerce.command.ECCommand |
checkIsAllowed, checkResourcePermission, getCommandContext, getCommandIfName, getCommandName, getDefaultProperties, getResources, getStoreId, getUser, getUserId, setCommandContext, setCommandIfName, setDefaultProperties, validateParameters |
COPYRIGHT
public static final java.lang.String COPYRIGHT
GalleryDeleteCmdImpl
public GalleryDeleteCmdImpl()
- GalleryDeleteImpl constructor.
getUrl
public java.lang.String getUrl()
- Accessor method for member field.
- Returns:
- java.lang.String
isReadyToCallExecute
public boolean isReadyToCallExecute()
- Determines if the command is ready to run.
- Returns:
- boolean
performExecute
public void performExecute()
throws ECException
- Removes the auction from the member's gallery.
- Specified by:
performExecute
in interface ECCommand
- Throws:
ECException
-
setAuctionIdArrayFromList
public void setAuctionIdArrayFromList(java.lang.String list)
- Parses a comma-delimited list of auction id's into an array of strings.
- Parameters:
param
- java.lang.String
setRequestProperties
public void setRequestProperties(TypedProperty param)
throws ECApplicationException
- Copies key-value input data into member fields.
- Specified by:
setRequestProperties
in interface ControllerCommand
- Parameters:
param
- com.ibm.commerce.datatype.TypedProperty- Throws:
ECApplicationException
-
setUrl
public void setUrl(java.lang.String newUrl)
- Accessor method for member field.
- Parameters:
newUrl
- java.lang.String