com.ibm.commerce.negotiation.commands
Class DisplayAuctionItemCmdImpl

com.ibm.commerce.command.AbstractECTargetableCommand
  |
  +--com.ibm.commerce.command.ControllerCommandImpl
        |
        +--com.ibm.commerce.negotiation.commands.DisplayAuctionItemCmdImpl
All Implemented Interfaces:
AccCommand, ControllerCommand, DisplayAuctionItemCmd, ECCommand, ECTargetableCommand, Protectable

public class DisplayAuctionItemCmdImpl
extends ControllerCommandImpl
implements DisplayAuctionItemCmd

Displays the auction item page.


Field Summary
static java.lang.String COPYRIGHT
           
 
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.DisplayAuctionItemCmd
defaultCommandClassName, NAME
 
Constructor Summary
DisplayAuctionItemCmdImpl()
          DisplayAuctionRulesCmdImpl default constructor.
 
Method Summary
 java.lang.Long getAuctionId()
          Get auction Id.
 boolean isReadyToCallExecute()
          Verifies that the this command is ready to be executed.
 void performExecute()
          Displays the item page for an auction
 void setAuctionId(java.lang.Long newAuctionId)
          Set auction Id.
 void setRequestProperties(TypedProperty param)
          Copies key-value input data into member fields.
 
Methods inherited from class com.ibm.commerce.command.ControllerCommandImpl
fulfills, getForUserId, getGeneric, getOwner, getRequestProperties, getResolvedRequestProperties, getResponseProperties, getRetriable, getViewInputProperties, isGeneric, isRetriable, mergeProperties, setForUserId, setGeneric, setOwner, setResponseProperties, setRetriable, setViewInputProperties
 
Methods inherited from class com.ibm.commerce.command.AbstractECTargetableCommand
accessControlCheck, checkIsAllowed, checkResourcePermission, execute, finalize, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getDefaultProperties, getResources, getStoreId, getUser, getUserId, reset, setAccCheck, setCommandContext, setCommandIfName, setDefaultProperties, validateParameters
 
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

DisplayAuctionItemCmdImpl

public DisplayAuctionItemCmdImpl()
DisplayAuctionRulesCmdImpl default constructor.
Method Detail

getAuctionId

public java.lang.Long getAuctionId()
Get auction Id.
Returns:
java.lang.Long

isReadyToCallExecute

public boolean isReadyToCallExecute()
Verifies that the this command is ready to be executed.
Overrides:
isReadyToCallExecute in class AbstractECTargetableCommand
Returns:
boolean true if command is ready, otherwise false.

performExecute

public void performExecute()
                    throws ECException
Displays the item page for an auction
Specified by:
performExecute in interface ECCommand
Overrides:
performExecute in class AbstractECTargetableCommand
Throws:
ECException -  

setAuctionId

public void setAuctionId(java.lang.Long newAuctionId)
Set auction Id.
Parameters:
newAuctionId - java.lang.Long

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 - The parameters that are passed in from the request.
Throws:
ECApplicationException -