public class CouponManageCmdImpl extends ControllerCommandImpl implements CouponManageCmd
This command displays the page from where Coupons and Promotion Codes can be managed. It implements the CouponManageCmd interface. This command is mapped to the CouponsManage URL.
If the command is executed as a URL Command the following URL parameters must be set
Note: If both URL & VIEW parameters are specified, the request will be redirected to URL. If both are not specified the request will be forwarded to CouponsManageView.
If executing this Command as a task Command,the methods listed below must be invoked before calling the command
Optionally the following methods can be invoked
Constructor and Description |
---|
CouponManageCmdImpl()
Constructor
|
Modifier and Type | Method and Description |
---|---|
boolean | getGeneric()
Returns true.
|
java.lang.Long | getOrderId()
This method gets the orderId.
|
java.lang.String | getURL()
This methods returns the redirect URL.
|
java.lang.String | getUserIdentifier()
This method returns the user Identifier.
|
java.lang.String | getViewName()
This methods returns the View Name.
|
boolean | isGeneric()
Returns true.
|
void | performExecute()
Command execution body.
|
protected void | redirect()
redirects the response
|
void | setOrderId(java.lang.Long _orderId)
This method sets the orderId.
|
void | setRequestProperties(TypedProperty _reqProperties)
This method sets the request properties of the controller command.
|
void | setURL(java.lang.String _URL)
This method sets the redirect url.
|
void | setUserIdentifier(java.lang.String _userIdentifier)
This method sets the userIdentifier.
|
void | setViewName(java.lang.String _viewName)
This method sets the view name.
|
void | validateParameters()
Validates parameters of typed properties to make sure they are set.
|
public boolean getGeneric()
public void setURL(java.lang.String _URL)
public void setUserIdentifier(java.lang.String _userIdentifier)
public void setOrderId(java.lang.Long _orderId)
public void setViewName(java.lang.String _viewName)
public java.lang.String getViewName()
public java.lang.String getURL()
public java.lang.String getUserIdentifier()
public java.lang.Long getOrderId()
public void setRequestProperties(TypedProperty _reqProperties) throws ECException
public void validateParameters() throws ECException
public void performExecute() throws ECException
protected void redirect()
public boolean isGeneric()