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
           
 
Fields inherited from interface com.ibm.commerce.negotiation.commands.GalleryDeleteCmd
defaultCommandClassName, NAME
 
Constructor Summary
GalleryDeleteCmdImpl()
          GalleryDeleteImpl constructor.
 
Method Summary
 java.lang.String getUrl()
          Accessor method for member field.
 boolean isReadyToCallExecute()
          Determines if the command is ready to run.
 void performExecute()
          Removes the auction from the member's gallery.
 void setAuctionIdArrayFromList(java.lang.String list)
          Parses a comma-delimited list of auction id's into an array of strings.
 void setRequestProperties(TypedProperty param)
          Copies key-value input data into member fields.
 void setUrl(java.lang.String newUrl)
          Accessor method for member field.
 
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.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, 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
Constructor Detail

GalleryDeleteCmdImpl

public GalleryDeleteCmdImpl()
GalleryDeleteImpl constructor.
Method Detail

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