java.lang.Object | +--CacheableCommandImpl | +--com.ibm.commerce.command.AbstractECTargetableCommand | +--com.ibm.commerce.command.TaskCommandImpl | +--com.ibm.commerce.negotiation.commands.NotifyAuctionBaseCmdImpl
This class implements common methods for auction notification classes
Field Summary | |
---|---|
protected
com.ibm.commerce.negotiation.objects.AuctionAccessBean |
auctionAccessBean The AuctionAccessBean |
protected
java.lang.Long |
auctionReferenceNumber The auction reference number. |
static java.lang.String |
COPYRIGHT Copyright statement. |
protected
int |
delayDays The number of days after which a message is sent through e-mail if the message is not read via the web. |
protected
int |
delayHours The number of hours after which a message is sent through e-mail if the message is not read via the web. |
protected
int |
delayMins The number of minitues after which a message is sent through e-mail if the message is not read via the web. |
Fields inherited from class com.ibm.commerce.command. AbstractECTargetableCommand |
commandContext |
Fields inherited from interface com.ibm.commerce.negotiation.commands. NotifyAuctionBaseCmd |
defaultCommandClassName,
NAME |
Fields inherited from interface com.ibm.commerce.command. ECCommand |
defaultCommandClassName |
Constructor Summary | |
---|---|
NotifyAuctionBaseCmdImpl() NotifyAuctionBaseCmdImpl default constructor. |
Method Summary | |
---|---|
AuctionAccessBean |
getAuctionAccessBean() Get an AuctionAccessBean |
java.lang.Long |
getAuctionReferenceNumber() Get auction reference number |
int |
getDelayDays() Get the number of days after which a message is sent through e-mail if the message is not read via the web. |
int |
getDelayHours() Get the number of hours after which a message is sent through e-mail if the message is not read via the web. |
int |
getDelayMins() Get the number of minitues after which a message is sent through e-mail if the message is not read via the web. |
java.lang.Integer |
getPreferredLanguageId(
StoreAccessBean store, java.lang.Long userId) Get user preferred language Id. |
protected
void |
parseDelayString() Parse a string from request properties to get delay days, hours and minitues after which a message is sent through e-mail if the message is not read on web. |
void |
setAuctionAccessBean(com.ibm.commerce.negotiation.objects.AuctionAccessBean newAuctionAccessBean) Set AuctionAccessBean |
void |
setAuctionReferenceNumber(java.lang.Long newAuctionReferenceNumber) Mutation method to set auction reference number |
void |
setDelayDays(int newDelayDays) Set the number of days after which a message is sent through e-mail if the message is not read via the web. |
void |
setDelayHours(int newDelayHours) Set the number of hours after which a message is sent through e-mail if the message is not read on web. |
void |
setDelayMins(int newDelayMins) Set the number of minitues after which a message is sent through e-mail if the message is not read on web. |
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,
performExecute,
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.negotiation.commands. NotifyAuctionBaseCmd |
setAuctionAccessBean |
Field Detail |
---|
public static final java.lang.String COPYRIGHT
protected java.lang.Long auctionReferenceNumber
protected com.ibm.commerce.negotiation.objects.AuctionAccessBean auctionAccessBean
protected int delayDays
protected int delayHours
protected int delayMins
Constructor Detail |
---|
public NotifyAuctionBaseCmdImpl()
Method Detail |
---|
public AuctionAccessBean getAuctionAccessBean() throws FinderException, java.rmi.RemoteException, javax.naming.NamingException, CreateException
FinderException
java.rmi.RemoteException
javax.naming.NamingException
CreateException
public java.lang.Long getAuctionReferenceNumber()
public int getDelayDays()
public int getDelayHours()
public int getDelayMins()
public java.lang.Integer getPreferredLanguageId(StoreAccessBean store, java.lang.Long userId)
userId
- The user IDstore
- The StoreAccessBean.protected void parseDelayString()
public void setAuctionAccessBean(com.ibm.commerce.negotiation.objects.AuctionAccessBean newAuctionAccessBean) throws FinderException, java.rmi.RemoteException, javax.naming.NamingException, CreateException
newAuctionAccessBean
-
com.ibm.commerce.negotiation.objects.AuctionAccessBeanFinderException
java.rmi.RemoteException
javax.naming.NamingException
CreateException
public void setAuctionReferenceNumber(java.lang.Long newAuctionReferenceNumber)
setAuctionReferenceNumber
in interface
NotifyAuctionBaseCmd
newAuctionReferenceNumber
-
java.lang.Integerpublic void setDelayDays(int newDelayDays)
newDelayDays
- intpublic void setDelayHours(int newDelayHours)
newDelayHours
- intpublic void setDelayMins(int newDelayMins)
newDelayMins
- int