|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
com.ibm.commerce.negotiation.commands.NotifyAuctionBaseCmdImpl
This class implements common methods for auction notification classes
Field Summary | |
protected AuctionAccessBean |
auctionAccessBean
|
protected java.lang.Long |
auctionReferenceNumber
|
static java.lang.String |
COPYRIGHT
|
protected int |
delayDays
|
protected int |
delayHours
|
protected int |
delayMins
|
Fields inherited from interface com.ibm.commerce.negotiation.commands.NotifyAuctionBaseCmd |
defaultCommandClassName, NAME |
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(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 interface com.ibm.commerce.command.ECCommand |
checkIsAllowed, checkResourcePermission, execute, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getDefaultProperties, getResources, getStoreId, getUser, getUserId, performExecute, setAccCheck, setCommandContext, setCommandIfName, setDefaultProperties, validateParameters |
Field Detail |
protected AuctionAccessBean auctionAccessBean
protected java.lang.Long auctionReferenceNumber
public static final java.lang.String COPYRIGHT
protected int delayDays
protected int delayHours
protected int delayMins
Constructor Detail |
public NotifyAuctionBaseCmdImpl()
Method Detail |
public AuctionAccessBean getAuctionAccessBean() throws javax.ejb.FinderException, java.rmi.RemoteException, javax.naming.NamingException, javax.ejb.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)
protected void parseDelayString()
public void setAuctionAccessBean(AuctionAccessBean newAuctionAccessBean) throws javax.ejb.FinderException, java.rmi.RemoteException, javax.naming.NamingException, javax.ejb.CreateException
setAuctionAccessBean
in interface NotifyAuctionBaseCmd
newAuctionAccessBean
- com.ibm.commerce.negotiation.objects.AuctionAccessBeanpublic 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
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |