com.ibm.commerce.negotiation.commands
Class GalleryDeleteCmdImpl

java.lang.Object
  |
  +--CacheableCommandImpl
        |
        +--com.ibm.commerce.command.AbstractECTargetableCommand
              |
              +--com.ibm.commerce.command.ControllerCommandImpl
                    |
                    +--com.ibm.commerce.negotiation.commands.GalleryDeleteCmdImpl
All Implemented Interfaces:
AccCommand, ControllerCommand, ECCommand, ECTargetableCommand, GalleryDeleteCmd

public class GalleryDeleteCmdImpl
extends ControllerCommandImpl
implements GalleryDeleteCmd

Controller command that deletes an auction from a member's gallery.

See Also:
Serialized Form

Field Summary
static java.lang.String COPYRIGHT
          Copyright statement.
 
Fields inherited from class com.ibm.commerce.command. ControllerCommandImpl
requestProperties, responseProperties, retriable, viewReqProperties
 
Fields inherited from class com.ibm.commerce.command. AbstractECTargetableCommand
commandContext
 
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 class com.ibm.commerce.command. ControllerCommandImpl
checkPermission, fulfills, getForUserId, getGeneric, getOwner, getRequestProperties, getResolvedRequestProperties, getResourceOwners, getResponseProperties, getRetriable, getViewInputProperties, isGeneric, isRetriable, mergeProperties, setForUserId, setGeneric, setOwner, setResponseProperties, setRetriable, setViewInputProperties
 
Methods inherited from class com.ibm.commerce.command. AbstractECTargetableCommand
accessControlCheck, checkIsAllowed, checkParameters, checkResourcePermission, createCommandExecutionEvent, execute, finalize, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getResources, getStoreId, getUser, getUserId, reset, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties, validateParameters
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.ibm.commerce.command. ControllerCommand
checkPermission, 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, 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, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties, validateParameters
 

Field Detail
public static final java.lang.String COPYRIGHT
Copyright statement.
See Also:
Constant Field Values
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.
Overrides:
isReadyToCallExecute in class AbstractECTargetableCommand
Returns:
boolean

performExecute

public void performExecute()
                    throws ECException
Removes the auction from the member's gallery.
Specified by:
performExecute in interface ECCommand
Overrides:
performExecute in class AbstractECTargetableCommand
Throws:
ECException

setAuctionIdArrayFromList

public void setAuctionIdArrayFromList(java.lang.String list)
Parses a comma-delimited list of auction id's into an array of strings.

setRequestProperties

public void setRequestProperties(TypedProperty param)
                          throws ECApplicationException
Copies key-value input data into member fields.
Specified by:
setRequestProperties in interface ControllerCommand
Overrides:
setRequestProperties in class ControllerCommandImpl
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