public class GetMarketingSpotBehaviorCmdImpl extends com.ibm.websphere.command.CacheableCommandImpl implements GetMarketingSpotBehaviorCmd
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COPYRIGHT
IBM copyright notice field.
|
defaultCommandClassName
Constructor and Description |
---|
GetMarketingSpotBehaviorCmdImpl()
This method is the default constructor.
|
Modifier and Type | Method and Description |
---|---|
CampaignInitiativeCache.CachedEMarketingSpot |
getESpot(java.lang.String emsName,
java.lang.String usage,
java.lang.Integer storeId)
This method gets the cached information of an e-Marketing Spot.
|
java.lang.String |
getMarketingSpotBehavior()
This method gets the caching behavior for the e-Marketing Spot.
|
java.util.List |
getMarketingSpotNameList()
This method returns a list of e-Marketing Spots names that may be evaluated
when displaying one e-Marketing Spot.
|
int |
getNextTimeLimit()
This method gets the number of seconds from now of the earliest
start date or end date of activities scheduled to the e-Marketing
Spot.
|
boolean |
isReadyToCallExecute()
This method checks that the e-Marketing Spot name has been specified.
|
void |
performExecute()
This method determines if there is any dynamic web activities or
content currently associated with the e-Marketing Spot.
|
void |
setMarketingSpotNameList(java.util.List newEmsNames)
This method sets the names of the e-Marketing Spots for which to check the caching behavior.
|
void |
setMarketingSpotUsage(java.lang.String newEmsUsage)
This method sets the usage type of the e-Marketing Spot for which to check the caching behavior.
|
void |
setStoreId(java.lang.Integer sId)
This method sets the store ID.
|
execute, executeFromCache, getCaller, getEntryInfo, getId, getObjectSize, getSharingPolicy, postExecute, preExecute, reset, setCaller, setObjectSize, unionDependencies, updateCache
getCommandTarget, getCommandTargetName, getTargetPolicy, hasOutputProperties, setCommandTarget, setCommandTargetName, setHasOutputProperties, setOutputProperties, setTargetPolicy
public static final java.lang.String COPYRIGHT
public GetMarketingSpotBehaviorCmdImpl()
public void setStoreId(java.lang.Integer sId)
setStoreId
in interface GetMarketingSpotBehaviorCmd
sId
- The store ID.public void performExecute()
performExecute
in interface com.ibm.websphere.command.TargetableCommand
performExecute
in class com.ibm.websphere.command.TargetableCommandImpl
public CampaignInitiativeCache.CachedEMarketingSpot getESpot(java.lang.String emsName, java.lang.String usage, java.lang.Integer storeId)
emsName
- The name of the e-Marketing Spot.usage
- The usage type of the e-Marketing Spot.storeId
- The ID of the store.public java.lang.String getMarketingSpotBehavior()
getMarketingSpotBehavior
in interface GetMarketingSpotBehaviorCmd
public int getNextTimeLimit()
getNextTimeLimit
in interface GetMarketingSpotBehaviorCmd
public java.util.List getMarketingSpotNameList()
public void setMarketingSpotNameList(java.util.List newEmsNames)
setMarketingSpotNameList
in interface GetMarketingSpotBehaviorCmd
newEmsNames
- The names of the e-Marketing Spots.public void setMarketingSpotUsage(java.lang.String newEmsUsage)
newEmsUsage
- The usage type of the e-Marketing Spot.public boolean isReadyToCallExecute()
isReadyToCallExecute
in interface com.ibm.websphere.command.Command
isReadyToCallExecute
in class com.ibm.websphere.command.TargetableCommandImpl