public class FetchPromotionCmdImpl extends AbstractFetchNounUsingBusinessObjectMediatorCmdImpl implements FetchPromotionCmd
Modifier and Type | Field and Description |
---|---|
static java.lang.String | COPYRIGHT
IBM copyright notice field.
|
Constructor and Description |
---|
FetchPromotionCmdImpl()
Create an instance of the fetch noun command that uses the business object manager to execute the search expression.
|
Modifier and Type | Method and Description |
---|---|
java.util.List | getPromotions()
This method returns a list of Promotions that result because of the fetch operation.
|
static java.lang.Boolean | isListOnlyPromotionsNotInFolders()
A get method to return the value of config flag which determines all promotions get displayed on the main list (default) or only display the ones not already in folder in the main list
|
void | performExecute()
This method gets the XPath parameter for CouponRequired from the search expression and maps the 'true' value to '1' and the 'false' value to 0.
|
protected void | setPromotions(java.util.List promotions)
This method sets the list of Promotions that result from executing the fetch operation.
|
public static final java.lang.String COPYRIGHT
public FetchPromotionCmdImpl()
public java.util.List getPromotions()
protected void setPromotions(java.util.List promotions)
public static java.lang.Boolean isListOnlyPromotionsNotInFolders()
public void performExecute() throws java.lang.Exception