Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COPYRIGHT
COPYRIGHT
|
Constructor and Description |
---|
TagLinkBase()
Default Constructor..
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
generateURLForEmailAction(java.lang.String url)
Based on the 'emailAction' value, this function modifies the url passed...
|
java.lang.String |
getAddToInterestItemURL()
Returns the Add to wishlist URL
|
java.lang.String |
getAddToShoppingCartURL()
Returns the Add to shopping cart url
|
java.lang.String |
getCatalogId()
Returns the Catalog ID to use in the URL.
|
java.lang.String |
getCategoryDisplayURL()
Returns the category display url
|
java.lang.String |
getCategoryImagePath(java.lang.String categoryId)
This method returns the image path for the given category Id
|
com.ibm.commerce.command.CommandContext |
getCommandContext()
Returns the command context
|
java.lang.String |
getIssueCouponURL()
return the issue coupon url
|
java.lang.String |
getProductDisplayURL()
Returns the product display url
|
java.lang.String |
getProductImagePath(java.lang.String catalogId,
java.lang.String sku)
For the given catalogId and PartNumber, this method returns the image path
|
java.lang.String |
getShortDescription()
Returns the short description
|
java.util.Hashtable |
getTagParameters()
Returns the tag parameters
|
java.lang.String |
optOutURL(java.lang.String forThisURL)
Modifies the given URL, so that the user can opt out of the mailing list by
clicking on this URL
|
java.lang.String |
recordNumberOfClicksURL(java.lang.String forThisURL)
This function modifies the given url, so that number of clicks for this url can
be recorded
|
void |
setCommandContext(com.ibm.commerce.command.CommandContext cc)
Sets the command Context..
|
void |
setTagParameters(java.util.Hashtable tagParametersCopy)
Copies the hash table containing key-value parameter required to evaluate this tag,
into the class level variable...
|
void |
setTagParameters(java.lang.String tagParamName,
java.lang.String tagParamValue)
Sets the key-value parameter, required to evaluate this tag..
|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getTagValue
public static final java.lang.String COPYRIGHT
public java.lang.String generateURLForEmailAction(java.lang.String url)
url
- - URL to be modifiedpublic java.lang.String getAddToInterestItemURL()
public java.lang.String getAddToShoppingCartURL()
public java.lang.String getCatalogId() throws java.lang.Exception
java.lang.Exception
public java.lang.String getCategoryDisplayURL()
public java.lang.String getCategoryImagePath(java.lang.String categoryId)
categoryId
- public com.ibm.commerce.command.CommandContext getCommandContext()
public java.lang.String getIssueCouponURL()
public java.lang.String getProductDisplayURL()
public java.lang.String getProductImagePath(java.lang.String catalogId, java.lang.String sku)
catalogId
- sku
- public java.lang.String getShortDescription()
public java.util.Hashtable getTagParameters()
public java.lang.String optOutURL(java.lang.String forThisURL)
forThisURL
- - urlpublic java.lang.String recordNumberOfClicksURL(java.lang.String forThisURL)
forThisURL
- - URL for which we need to record number of clickspublic void setCommandContext(com.ibm.commerce.command.CommandContext cc)
setCommandContext
in interface Tag
cc
- Command Contextpublic void setTagParameters(java.util.Hashtable tagParametersCopy)
setTagParameters
in interface Tag
tagParametersCopy
- Hashtable containing tag parameters.public void setTagParameters(java.lang.String tagParamName, java.lang.String tagParamValue)
setTagParameters
in interface Tag
tagParamName
- - key nametagParamValue
- - value of the tag parameter