|
© 2002 BEA Systems, Inc. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.bea.campaign.action.Action | +--com.bea.commerce.ebusiness.campaign.AddUserDiscountAction
Action object to associate a discount to a user.
This action understands the following action parameters:
Field Summary | |
static java.lang.String |
DEFAULT_DISCOUNT_SET_NAME
The default discount set name ("DefaultDiscountSet"). |
Constructor Summary | |
AddUserDiscountAction()
|
Method Summary | |
DiscountAssociationMgr |
getAssociationMgr()
Get the discount association manager this should use. |
void |
init(java.util.Map params)
Initialize this action from a map of parameters. |
void |
run()
Execute this action. |
java.lang.String |
toString()
|
Methods inherited from class com.bea.campaign.action.Action |
getEvent,
getRandom,
getRequest,
getScenario,
getScenarioContainer,
getScenarioContainerName,
getScenarioId,
getScenarioName,
getServiceLocator,
getSession,
getTimestamp,
getUser,
getUserId,
locateService,
setEvent,
setRandom,
setRequest,
setScenario,
setScenarioContainer,
setServiceLocator,
setSession,
setTimestamp,
setUser |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
Field Detail |
public static final java.lang.String DEFAULT_DISCOUNT_SET_NAME
Constructor Detail |
public AddUserDiscountAction()
Method Detail |
public void init(java.util.Map params) throws java.lang.IllegalArgumentException
See the class notes about the understood and required action parameters.
public void run() throws ActionException
This will associate the named discount to the user.
public DiscountAssociationMgr getAssociationMgr() throws javax.ejb.CreateException, java.rmi.RemoteException
public java.lang.String toString()
|
© 2002 BEA Systems, Inc. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |