public class AuctionNotificationCmdImpl extends ControllerCommandImpl implements AuctionNotificationCmd
Usage:
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COPYRIGHT
IBM copyright notice field.
|
defaultCommandClassName, NAME
Constructor and Description |
---|
AuctionNotificationCmdImpl()
AuctionNotificationCmdImpl default constructor.
|
Modifier and Type | Method and Description |
---|---|
AuctionAccessBean |
getAuctionAccessBean()
Returns the access bean corresponding to the auction.
|
BidAccessBean[] |
getBidAccessBeanArray()
Gets 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.
|
void |
performExecute()
Executes the command.
|
void |
setAuctionAccessBean(AuctionAccessBean newAuctionAccessBean)
Saves the incoming auction access bean.
|
void |
setBidAccessBeanArray(BidAccessBean[] newBidAccessBeans)
Sets bid access bean array.
|
void |
setMsgType(java.lang.Integer newMsgType)
Stores the incoming value for the message type.
|
void |
setRequestProperties(TypedProperty reqProperties)
Sets request properties and initialize the parameters for the command.
|
checkPermission, fulfills, getForUserId, getGeneric, getOwner, getRequestProperties, getResolvedRequestProperties, getResourceOwners, getResponseProperties, getRetriable, getViewInputProperties, isGeneric, isRetriable, mergeProperties, setForUserId, setGeneric, setOwner, setResponseProperties, setRetriable, setViewInputProperties
accessControlCheck, checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, execute, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getObjectSize, getPostInvokeParameters, getPreInvokeParameters, getResources, getStoreId, getUser, getUserId, isReadyToCallExecute, reset, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties, validateParameters
executeFromCache, getCaller, getEntryInfo, getId, getSharingPolicy, postExecute, preExecute, setCaller, setObjectSize, unionDependencies, updateCache
getCommandTarget, getCommandTargetName, getTargetPolicy, hasOutputProperties, setCommandTarget, setCommandTargetName, setHasOutputProperties, setOutputProperties, setTargetPolicy
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
checkPermission, execute, getGeneric, getRequestProperties, getResolvedRequestProperties, getResponseProperties, getRetriable, getViewInputProperties, isGeneric, isRetriable, mergeProperties, setGeneric, setRetriable, setViewInputProperties
executeFromCache, getCaller, getEntryInfo, getId, getSharingPolicy, postExecute, preExecute, setCaller, updateCache
getCommandTarget, getCommandTargetName, hasOutputProperties, setCommandTarget, setCommandTargetName, setOutputProperties
accessControlCheck, getAccCheck, getForUserId, getResourceOwners, setAccCheck, setForUserId, setOwner
checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getPostInvokeParameters, getPreInvokeParameters, getResources, getStoreId, getUser, getUserId, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties, validateParameters
fulfills, getOwner
public static final java.lang.String COPYRIGHT
public AuctionNotificationCmdImpl()
public AuctionAccessBean getAuctionAccessBean()
public BidAccessBean[] getBidAccessBeanArray()
public java.lang.Integer getMsgType()
public void initParameters(TypedProperty param) throws ECApplicationException
param
- parameters from the request.ECApplicationException
- Raised with message _ERR_BAD_MISSING_CMD_PARAMETER when bad or missing parameters are found.public void notifyAuctionStart() throws ECException
ECException
- Raised with message _ERR_UNKNOWN_NOTIF_EXCEPTION when there is an error when the auction notification task is launched.public void notifyAuctionStart(AuctionAccessBean aBean) throws ECException
aBean
- the auction access bean.ECException
- Raised with message _ERR_UNKNOWN_NOTIF_EXCEPTION when there is an error when the auction notification task is launched.public void performExecute() throws ECException
performExecute
in interface ECCommand
performExecute
in interface com.ibm.websphere.command.TargetableCommand
performExecute
in class AbstractECTargetableCommand
ECException.
ECException
public void setAuctionAccessBean(AuctionAccessBean newAuctionAccessBean)
newAuctionAccessBean
- public void setBidAccessBeanArray(BidAccessBean[] newBidAccessBeans)
the
- bid access bean list.public void setMsgType(java.lang.Integer newMsgType)
newMsgType
- public void setRequestProperties(TypedProperty reqProperties) throws ECException
setRequestProperties
in interface ControllerCommand
setRequestProperties
in class ControllerCommandImpl
requestProperties
- If
- anything goes wrong.ECException