|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface SEOConfig
Defines an API to retrieve different configuration settings needed in the SEO bundle. Provides also the
definition of two enum(s) SEOConfig.FriendlyURLSeparator and .
| Nested Class Summary | |
|---|---|
static class |
SEOConfig.FriendlyURLSeparator
Defines the only three possible values of the friendly url separator. |
static class |
SEOConfig.PageTitleSetting
Defines the only three possible values of the Page title settings. |
| Method Summary | |
|---|---|
int |
getFriendlyUrlCacheClear(java.lang.String host)
Retrieves the value of the friendly_url_cache_clear for the given host name. |
java.lang.String |
getFriendlyUrlContextPrefix()
Returns the configuration setting under startup_settings.context. |
java.lang.String |
getFriendlyUrlExtension(java.lang.String host)
Returns the configuration setting under website_settings.friendly_url_extension. |
java.lang.String |
getFriendlyUrlPrefix(java.lang.String host)
Returns the configuration setting under website_settings.friendly_url_prefix. |
SEOConfig.FriendlyURLSeparator |
getFriendlyURLSeparator(java.lang.String host)
Retrieves the SEOConfig.FriendlyURLSeparator of the given host. |
boolean |
getGoogleNewsId(java.lang.String host)
Returns true if the google_news_id for the current web initiative is checked. |
SEOConfig.PageTitleSetting |
getPageTitleSetting(java.lang.String host)
Retrieves the SEOConfig.PageTitleSetting of the given host. |
| Method Detail |
|---|
SEOConfig.FriendlyURLSeparator getFriendlyURLSeparator(java.lang.String host)
throws FriendlyURLException
SEOConfig.FriendlyURLSeparator of the given host.
host - Host for which to get the URL separator.
FriendlyURLException - If any database access fails.
SEOConfig.PageTitleSetting getPageTitleSetting(java.lang.String host)
throws FriendlyURLException
SEOConfig.PageTitleSetting of the given host.
host - Host for which to get the page title setting.
FriendlyURLException - If any database access fails.java.lang.String getFriendlyUrlExtension(java.lang.String host)
host - String holding the host name.
int getFriendlyUrlCacheClear(java.lang.String host)
host - String holding the host name.
int with the value of the friendly_url_cache_clear.java.lang.String getFriendlyUrlContextPrefix()
java.lang.String getFriendlyUrlPrefix(java.lang.String host)
host - Host for which to get the friendly URL prefix.
boolean getGoogleNewsId(java.lang.String host)
true if the google_news_id for the current web initiative is checked.
host - the host name.
true if the google_news_id for the current web initiative is checked,
false otherwise.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||