public interface URLCommandTaskCmd extends TaskCommand
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COPYRIGHT
IBM copyright notice field.
|
static java.lang.String |
defaultCommandClassName
Default implementation class for this command.
|
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.
|
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
static final java.lang.String COPYRIGHT
static final java.lang.String defaultCommandClassName
java.lang.String getUrlCommandType(java.lang.String commandUrl)
commandUrl
- The full command url from a marketing content.boolean isMarketingContentURLPromotionRelated(MarketingContentType marketingContent)
marketingContent
- The marketing content to evaluate.boolean isMarketingCommandPromotionRelated(java.lang.String marketingCommand)
marketingCommand
- The marketing content command to evaluate.boolean isMarketingContentCommandEqual(MarketingContentType marketingContent, java.lang.String command)
marketingContent
- The marketing content to evaluate.command
- The command to evaluate against.boolean isMarketingCommandProductRelated(java.lang.String commandType)
commandType
- The command name from the command url.boolean isMarketingCommandCategoryRelated(java.lang.String commandType)
commandType
- The command name from the command url.boolean isMarketingCommandCategoryDisplayRelated(java.lang.String commandType)
commandType
- The command name from the command url.boolean isMarketingCommandContentPageRelated(java.lang.String commandType)
commandType
- The command name from the command url.boolean isMarketingCommandProductDisplayRelated(java.lang.String commandType)
commandType
- The command name from the command url.java.lang.String getUrlCommandParameter(java.lang.String commandUrl, java.lang.String commandUrlCommandType, java.lang.Long[] memberIds, java.lang.Integer storeId)
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.storeId
- The ID of the store.null
is returned.java.lang.String getUrlCommandParameter(java.lang.String url, java.lang.String commandType)
url
- The full command url with the command name and parameters.commandType
- The command name from the command url.null
is returned.