public class URLCommandTaskCmdImpl extends TaskCommandImpl implements URLCommandTaskCmd
Modifier and Type | Field and Description |
---|---|
protected static java.lang.String | CATEGORY_ID_PARAMETER
Category id parameter
|
protected static java.lang.String | CATEGORY_PARAMETER
Category parameter
|
static java.lang.String | CLASSNAME
The name of this class.
|
static java.lang.String | COPYRIGHT
IBM copyright notice field.
|
protected static java.lang.String | END_PARAMETER
End of parameter
|
protected static java.lang.String | PRODUCT_ID_PARAMETER
productId parameter
|
protected static java.lang.String | PRODUCT_PARAMETER
Product parameter
|
Constructor and Description |
---|
URLCommandTaskCmdImpl() |
Modifier and Type | Method and Description |
---|---|
protected java.lang.Long[] | getMemberIds(java.lang.Long[] existingMemberIds, java.lang.Integer storeId)
This method gets the list of member IDs that own the catalogs in the store.
|
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.
|
public static final java.lang.String COPYRIGHT
public static final java.lang.String CLASSNAME
protected static final java.lang.String PRODUCT_PARAMETER
protected static final java.lang.String PRODUCT_ID_PARAMETER
protected static final java.lang.String CATEGORY_PARAMETER
protected static final java.lang.String CATEGORY_ID_PARAMETER
protected static final java.lang.String END_PARAMETER
public java.lang.String getUrlCommandType(java.lang.String commandUrl)
public boolean isMarketingContentURLPromotionRelated(MarketingContentType marketingContent)
public boolean isMarketingCommandPromotionRelated(java.lang.String marketingCommand)
public boolean isMarketingContentCommandEqual(MarketingContentType marketingContent, java.lang.String command)
public boolean isMarketingCommandProductRelated(java.lang.String commandType)
public boolean isMarketingCommandCategoryRelated(java.lang.String commandType)
public boolean isMarketingCommandCategoryDisplayRelated(java.lang.String commandType)
public boolean isMarketingCommandProductDisplayRelated(java.lang.String commandType)
public boolean isMarketingCommandContentPageRelated(java.lang.String commandType)
protected java.lang.Long[] getMemberIds(java.lang.Long[] existingMemberIds, java.lang.Integer storeId) throws java.lang.Exception
public java.lang.String getUrlCommandParameter(java.lang.String commandUrl, java.lang.String commandUrlCommandType, java.lang.Long[] memberIds, java.lang.Integer storeId)
public java.lang.String getUrlCommandParameter(java.lang.String url, java.lang.String commandType)