public abstract class AbstractSEOUrlKeywordHelper
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CLASSNAME
The name of this class is "com.ibm.commerce.contract.commands.AbstractSEOUrlKeywordHelper".
|
static java.lang.String |
COPYRIGHT
The internal copyright field.
|
Constructor and Description |
---|
AbstractSEOUrlKeywordHelper() |
Modifier and Type | Method and Description |
---|---|
abstract void |
addNewUrlKeyword(java.lang.String urlKeyword,
java.lang.Integer storeId,
java.lang.Long catalogId,
java.lang.Integer langId,
java.lang.String tokenName,
java.lang.Double priority,
java.lang.String changeFreq,
java.lang.String mobileUrlKeyword,
java.lang.Double mobilePriority,
java.lang.String mobileChangeFreq,
java.lang.String tokenValue)
Adds a new URL keyword if SEO is configured on the environment.
|
static void |
instantiateUtilityAndAddUrlkeyword(java.lang.String urlKeyword,
java.lang.Integer storeId,
java.lang.Long catalogId,
java.lang.Integer langId,
java.lang.String tokenName,
java.lang.Double priority,
java.lang.String changeFreq,
java.lang.String mobileUrlKeyword,
java.lang.Double mobilePriority,
java.lang.String mobileChangeFreq,
java.lang.String tokenValue)
Creates a new instance of the helper class and adds URL keyword if SEO is configured on the environment.
|
public static final java.lang.String CLASSNAME
public static final java.lang.String COPYRIGHT
public abstract void addNewUrlKeyword(java.lang.String urlKeyword, java.lang.Integer storeId, java.lang.Long catalogId, java.lang.Integer langId, java.lang.String tokenName, java.lang.Double priority, java.lang.String changeFreq, java.lang.String mobileUrlKeyword, java.lang.Double mobilePriority, java.lang.String mobileChangeFreq, java.lang.String tokenValue) throws com.ibm.commerce.key.CreateKeyException, javax.naming.NamingException, java.sql.SQLException
urlKeyword
- The new SEO url's keyword.storeId
- The identifier of store which the SEO url belongs to.catalogId
- The identifier of associated catalog.langId
- The identifier of language which this keyword is for.tokenName
- The type of token for this keyword.priority
- The relative priority of this url for the store.changeFreq
- The expected frequency of change for the url.mobileUrlKeyword
- The url keyword to be used for mobile urls.mobilePriority
- The relative priority of this url for the mobile store.mobileChangeFreq
- The expected frequency of change for the mobile url.tokenValue
- The value mapped to this keyword.javax.naming.NamingException
java.sql.SQLException
com.ibm.commerce.key.CreateKeyException
public static void instantiateUtilityAndAddUrlkeyword(java.lang.String urlKeyword, java.lang.Integer storeId, java.lang.Long catalogId, java.lang.Integer langId, java.lang.String tokenName, java.lang.Double priority, java.lang.String changeFreq, java.lang.String mobileUrlKeyword, java.lang.Double mobilePriority, java.lang.String mobileChangeFreq, java.lang.String tokenValue)
urlKeyword
- The new SEO url's keyword.storeId
- The identifier of store which the SEO url belongs to.catalogId
- The identifier of associated catalog.langId
- The identifier of language which this keyword is for.tokenName
- The type of token for this keyword.priority
- The relative priority of this url for the store.changeFreq
- The expected frequency of change for the url.mobileUrlKeyword
- The url keyword to be used for mobile urls.mobilePriority
- The relative priority of this url for the mobile store.mobileChangeFreq
- The expected frequency of change for the mobile url.tokenValue
- The value mapped to this keyword.