java.lang.ObjectCacheableCommandImpl
com.ibm.commerce.command.AbstractECTargetableCommand
com.ibm.commerce.command.ControllerCommandImpl
com.ibm.commerce.negotiation.commands.AuctionNotificationCmdImpl
Controller command that drives the auction notification tasks.
Usage:
Field Summary | |
protected AuctionAccessBean | auctionAccessBean The access bean corresponding to the auction. |
protected BidAccessBean[] | bidAccessBeanArray The bid access bean array. |
static java.lang.String | COPYRIGHT Copyright statement. |
protected java.lang.Integer | msgType The type of the message. |
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.AuctionNotificationCmd |
defaultCommandClassName, NAME |
Constructor Summary | |
AuctionNotificationCmdImpl() AuctionNotificationCmdImpl default constructor. |
Method Summary | |
AuctionAccessBean | getAuctionAccessBean() Returns the access bean corresponding to the auction. |
BidAccessBean[] | getBidAccessBeanArray() Get bid access bean array. |
java.lang.Integer | getMsgType() Returns the type of the message. |
void | initParameters(TypedProperty param) Retrieves and validates the parameters from the request. |
void | notifyAuctionStart() Invoking start auction notification task for the specified auction. |
void | notifyAuctionStart(AuctionAccessBean aBean) Invoking start auction notification task for the specified auction. |
protected void | notifyBidOverride() Invoking bid override notification task for the specified bid. |
protected void | notifyOrderForSingleBid(BidAccessBean bid) Invoking Orders notification task for the specified bid. |
protected void | notifyOrders() Invoking Orders notification task for the specified auction or bids. |
protected void | notifyWinners() Invoking winners notification task for the specified auction. |
void | performExecute() Execute the command. |
void | setAuctionAccessBean(AuctionAccessBean newAuctionAccessBean) Saves the incoming auction access bean. |
void | setBidAccessBeanArray(BidAccessBean[] newBidAccessBeans) Set bid access bean array. |
void | setMsgType(java.lang.Integer newMsgType) Stores the incoming value for the message type. |
void | setRequestProperties(TypedProperty reqProperties) set request properties and initialize the parameters for the command. |
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, isReadyToCallExecute, 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 |
Methods inherited from interface com.ibm.commerce.security.Protectable |
fulfills, getOwner |
Field Detail |
public static final java.lang.String COPYRIGHT
protected java.lang.Integer msgType
protected AuctionAccessBean auctionAccessBean
protected BidAccessBean[] bidAccessBeanArray
Constructor Detail |
public AuctionNotificationCmdImpl()
Method Detail |
public AuctionAccessBean getAuctionAccessBean()
public BidAccessBean[] getBidAccessBeanArray()
public java.lang.Integer getMsgType()
public void initParameters(TypedProperty param) throws ECApplicationException
public void notifyAuctionStart() throws ECException
public void notifyAuctionStart(AuctionAccessBean aBean) throws ECException
protected void notifyBidOverride()
protected void notifyOrderForSingleBid(BidAccessBean bid) throws ECException
protected void notifyOrders() throws ECSystemException
protected void notifyWinners() throws ECException
public void performExecute() throws ECException
public void setAuctionAccessBean(AuctionAccessBean newAuctionAccessBean)
public void setBidAccessBeanArray(BidAccessBean[] newBidAccessBeans)
public void setMsgType(java.lang.Integer newMsgType)
public void setRequestProperties(TypedProperty reqProperties) throws ECException
(C) Copyright IBM Corporation 1996, 2005. All Rights Reserved.