com.ibm.commerce.negotiation.commands
Class UpdateGalleryCmdImpl

com.ibm.commerce.negotiation.commands.UpdateGalleryCmdImpl
All Implemented Interfaces:
AccCommand, ControllerCommand, ECCommand, Protectable, UpdateGalleryCmd

public class UpdateGalleryCmdImpl
implements UpdateGalleryCmd

Updates a member's gallery.


Field Summary
static java.lang.String COPYRIGHT
           
 
Fields inherited from interface com.ibm.commerce.negotiation.commands.UpdateGalleryCmd
defaultCommandClassName, NAME
 
Constructor Summary
UpdateGalleryCmdImpl()
          Constructor.
 
Method Summary
protected  java.lang.Long getAuctionId()
          Member field accessor.
protected  java.lang.String getUrl()
          Member field accessor.
protected  boolean isGalleryEntry()
          Member field accessor.
 boolean isReadyToCallExecute()
          Determines whether the command is ready to execute.
protected  boolean isViewedRuleEntry()
          Member field accessor.
 void performExecute()
          Updates MEMBRAUCT table, sets next display task.
 void setAuctionId(java.lang.Long newAuctionId)
          Member field accessor.
protected  void setGalleryEntry(boolean newGalleryEntry)
          Member field accessor.
 void setRequestProperties(TypedProperty param)
          Copies key-value input data into member fields.
protected  void setUrl(java.lang.String newUrl)
          Member field accessor.
protected  void setViewedRuleEntry(boolean newViewedRuleEntry)
          Member field accessor.
 
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

UpdateGalleryCmdImpl

public UpdateGalleryCmdImpl()
Constructor.
Method Detail

getAuctionId

protected java.lang.Long getAuctionId()
Member field accessor.
Returns:
java.lang.Long

getUrl

protected java.lang.String getUrl()
Member field accessor.
Returns:
java.lang.String

isGalleryEntry

protected boolean isGalleryEntry()
Member field accessor.
Returns:
boolean

isReadyToCallExecute

public boolean isReadyToCallExecute()
Determines whether the command is ready to execute.
Returns:
boolean

isViewedRuleEntry

protected boolean isViewedRuleEntry()
Member field accessor.
Returns:
boolean

performExecute

public void performExecute()
                    throws ECException
Updates MEMBRAUCT table, sets next display task.
Specified by:
performExecute in interface ECCommand
Throws:
ECException -  

setAuctionId

public void setAuctionId(java.lang.Long newAuctionId)
Member field accessor.
Parameters:
newAuctionId - java.lang.Long

setGalleryEntry

protected void setGalleryEntry(boolean newGalleryEntry)
Member field accessor.
Parameters:
newGalleryEntry - boolean

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

protected void setUrl(java.lang.String newUrl)
Member field accessor.
Parameters:
newUrl - java.lang.String

setViewedRuleEntry

protected void setViewedRuleEntry(boolean newViewedRuleEntry)
Member field accessor.
Parameters:
newViewedRule - boolean