|
Copyright © 2008 BEA Systems, Inc. All Rights Reserved | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.bea.campaign.action.Action
com.bea.commerce.ebusiness.campaign.AddUserDiscountAction
@Deprecated public class AddUserDiscountAction
Action object to associate a discount to a user.
This action understands the following action parameters:
default name.
| Field Summary | |
|---|---|
static String |
DEFAULT_DISCOUNT_SET_NAME
Deprecated See BEA Commerce product offering |
| Constructor Summary | |
|---|---|
AddUserDiscountAction()
Deprecated See BEA Commerce product offering |
|
| Method Summary | |
|---|---|
DiscountAssociationMgr |
getAssociationMgr()
Deprecated See BEA Commerce product offering |
void |
init(Map params)
Deprecated See BEA Commerce product offering |
void |
run()
Deprecated See BEA Commerce product offering |
String |
toString()
Deprecated See BEA Commerce product offering |
| 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 String DEFAULT_DISCOUNT_SET_NAME
| Constructor Detail |
|---|
public AddUserDiscountAction()
| Method Detail |
|---|
public void init(Map params)
throws IllegalArgumentException
See the class notes about the understood and required action parameters.
init in class Actionparams - A map of name/value pairs
IllegalArugmentException - thrown on invalid action parameters.
IllegalArgumentException - if any required params are missing
public void run()
throws ActionException
This will associate the named discount to the user.
run in class ActionActionException - thrown on an error.
public DiscountAssociationMgr getAssociationMgr()
throws javax.ejb.CreateException,
RemoteException
javax.ejb.CreateException - thrown if the system cannot get a manager.
RemoteException - thrown on a general error.public String toString()
toString in class Object
|
Copyright © 2008 BEA Systems, Inc. All Rights Reserved | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||