public class FetchPromotionCmdImpl extends AbstractFetchNounUsingBusinessObjectMediatorCmdImpl implements FetchPromotionCmd
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COPYRIGHT
IBM copyright notice field.
|
ACCESS_PROFILE_EXTERNAL_NAME
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.
|
getNouns, reset
getShow, isReadyToCallExecute, setGet, setSearchExpression
execute, executeFromCache, getCaller, getEntryInfo, getId, getObjectSize, getSharingPolicy, postExecute, preExecute, setCaller, setObjectSize, unionDependencies, updateCache
getCommandTarget, getCommandTargetName, getTargetPolicy, hasOutputProperties, setCommandTarget, setCommandTargetName, setHasOutputProperties, setOutputProperties, setTargetPolicy
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getNouns, getShow, setGet, setSearchExpression
public static final java.lang.String COPYRIGHT
public FetchPromotionCmdImpl()
public java.util.List getPromotions()
getPromotions
in interface FetchPromotionCmd
FetchPromotionCmd.getPromotions()
public static java.lang.Boolean isListOnlyPromotionsNotInFolders()
public void performExecute() throws java.lang.Exception
super.performExecute()
method.performExecute
in interface com.ibm.websphere.command.TargetableCommand
performExecute
in class AbstractFetchNounUsingBusinessObjectMediatorCmdImpl
java.lang.Exception
- if an exception is encountered while invoking the business
object manager to execute the request