public class URLCommandTaskCmdImpl extends TaskCommandImpl implements URLCommandTaskCmd
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CLASSNAME
The name of this class.
|
static java.lang.String |
COPYRIGHT
IBM copyright notice field.
|
defaultCommandClassName
Constructor and Description |
---|
URLCommandTaskCmdImpl() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getUrlCommandParameter(java.lang.String url,
java.lang.String commandType)
This method gets the product ID if the command url is associated with a product,
or it gets the category ID if the command url is associated with a category.
|
java.lang.String |
getUrlCommandParameter(java.lang.String commandUrl,
java.lang.String commandUrlCommandType,
java.lang.Long[] memberIds,
java.lang.Integer storeId)
This method gets the product ID if the command url is associated with a product,
or it gets the category ID if the command url is associated with a category.
|
java.lang.String |
getUrlCommandType(java.lang.String commandUrl)
This method gets the command name from the full command url associated with a marketing content.
|
boolean |
isMarketingCommandCategoryDisplayRelated(java.lang.String commandType)
This method gets if the marketing content url is associated with a category display.
|
boolean |
isMarketingCommandCategoryRelated(java.lang.String commandType)
This method gets if the marketing content url is associated with a category.
|
boolean |
isMarketingCommandContentPageRelated(java.lang.String commandType)
This method gets if the marketing content url is associated with a content page.
|
boolean |
isMarketingCommandProductDisplayRelated(java.lang.String commandType)
This method gets if the marketing content url is associated with a product display.
|
boolean |
isMarketingCommandProductRelated(java.lang.String commandType)
This method gets if the marketing content url is associated with a product.
|
boolean |
isMarketingCommandPromotionRelated(java.lang.String marketingCommand)
This method evaluates if the marketing content click action command is promotion related.
|
boolean |
isMarketingContentCommandEqual(MarketingContentType marketingContent,
java.lang.String command)
This method compares the marketing content click action command with a specified command.
|
boolean |
isMarketingContentURLPromotionRelated(MarketingContentType marketingContent)
This method evaluates if the marketing content click action URL is promotion-related.
|
accessControlCheck, checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, execute, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getObjectSize, getPostInvokeParameters, getPreInvokeParameters, getResources, getStoreId, getUser, getUserId, isReadyToCallExecute, performExecute, reset, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties, validateParameters
executeFromCache, getCaller, getEntryInfo, getId, 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
executeFromCache, getCaller, getEntryInfo, getId, getSharingPolicy, postExecute, preExecute, setCaller, updateCache
getCommandTarget, getCommandTargetName, hasOutputProperties, performExecute, setCommandTarget, setCommandTargetName, setOutputProperties
checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getPostInvokeParameters, getPreInvokeParameters, getResources, getStoreId, getUser, getUserId, performExecute, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties, validateParameters
public static final java.lang.String COPYRIGHT
public static final java.lang.String CLASSNAME
public java.lang.String getUrlCommandType(java.lang.String commandUrl)
getUrlCommandType
in interface URLCommandTaskCmd
commandUrl
- The full command url from a marketing content.public boolean isMarketingContentURLPromotionRelated(MarketingContentType marketingContent)
isMarketingContentURLPromotionRelated
in interface URLCommandTaskCmd
marketingContent
- The marketing content to evaluate.public boolean isMarketingCommandPromotionRelated(java.lang.String marketingCommand)
isMarketingCommandPromotionRelated
in interface URLCommandTaskCmd
marketingCommand
- The marketing content command to evaluate.public boolean isMarketingContentCommandEqual(MarketingContentType marketingContent, java.lang.String command)
isMarketingContentCommandEqual
in interface URLCommandTaskCmd
marketingContent
- The marketing content to evaluate.command
- The command to evaluate against.public boolean isMarketingCommandProductRelated(java.lang.String commandType)
isMarketingCommandProductRelated
in interface URLCommandTaskCmd
commandType
- The command name from the command url.public boolean isMarketingCommandCategoryRelated(java.lang.String commandType)
isMarketingCommandCategoryRelated
in interface URLCommandTaskCmd
commandType
- The command name from the command url.public boolean isMarketingCommandCategoryDisplayRelated(java.lang.String commandType)
isMarketingCommandCategoryDisplayRelated
in interface URLCommandTaskCmd
commandType
- The command name from the command url.public boolean isMarketingCommandProductDisplayRelated(java.lang.String commandType)
isMarketingCommandProductDisplayRelated
in interface URLCommandTaskCmd
commandType
- The command name from the command url.public boolean isMarketingCommandContentPageRelated(java.lang.String commandType)
isMarketingCommandContentPageRelated
in interface URLCommandTaskCmd
commandType
- The command name from the command url.public java.lang.String getUrlCommandParameter(java.lang.String commandUrl, java.lang.String commandUrlCommandType, java.lang.Long[] memberIds, java.lang.Integer storeId)
getUrlCommandParameter
in interface URLCommandTaskCmd
commandUrl
- The full command url with the command name and parameters.commandUrlCommandType
- The command name from the command url.memberIds
- The list of member IDs that own the catalogs in the store.
If this parameter is null, then the information needs to be retrieved. If this
parameter is not null, then the current information is used.storeId
- The ID of the store.null
is returned.public java.lang.String getUrlCommandParameter(java.lang.String url, java.lang.String commandType)
getUrlCommandParameter
in interface URLCommandTaskCmd
url
- The full command url with the command name and parameters.commandType
- The command name from the command url.null
is returned.