public class SeoRule extends Object
Modifier and Type | Class and Description |
---|---|
static class |
SeoRule.Type |
Modifier and Type | Field and Description |
---|---|
static String |
CACHE_REGION |
static String |
NAMED_QUERY_FIND_BY_CHANNELID |
static String |
NAMED_QUERY_FIND_BY_PAGEID |
static String |
NAMED_QUERY_FIND_BY_PAGEID_OR_CHANNELIDS |
Constructor and Description |
---|
SeoRule() |
Modifier and Type | Method and Description |
---|---|
URL |
getCanonicalUrl()
Returns the canonical URL.
|
String |
getChannel()
Returns the identifier of the channel related to this rule.
|
String |
getId()
Returns the rule's identifier.
|
String |
getName()
Returns the rule's name.
|
String |
getPage()
Returns the identifier of the page related to this rule.
|
String |
getPageDescription()
Returns the page description.
|
String |
getPageTitle()
Returns the page title if defined.
|
String |
getPageTitlePattern()
Returns the page title pattern if defined.
|
String |
getSocialDescription()
Returns the social description.
|
String |
getSocialImage()
Returns the social image.
|
String |
getSocialTitle()
Returns the social title.
|
SeoRule.Type |
getType()
Returns the
SeoRule.Type of rule. |
String |
getUrlPath()
Returns the url path.
|
void |
setCanonicalUrl(URL canonicalUrl)
Sets the canonical URL.
|
void |
setChannel(String channel)
Sets the identifier of the channel related to this rule.
|
void |
setId(String id)
Sets the rule's identifier.
|
void |
setName(String name)
Sets the rule's name.
|
void |
setPage(String page)
Sets the identifier of the page related to this rule.
|
void |
setPageDescription(String pageDescription)
Sets the page description.
|
void |
setPageTitle(String pageTitle)
Sets the page title if defined.
|
void |
setPageTitlePattern(String pageTitlePattern)
Sets the page title if defined.
|
void |
setSocialDescription(String socialDescription)
Sets the social description.
|
void |
setSocialImage(String socialImage)
Sets the social image.
|
void |
setSocialTitle(String socialTitle)
Sets the social title.
|
void |
setType(SeoRule.Type type)
Sets the
SeoRule.Type of rule. |
void |
setUrlPath(String urlPath)
Sets the url path.
|
public static final String NAMED_QUERY_FIND_BY_PAGEID
public static final String NAMED_QUERY_FIND_BY_CHANNELID
public static final String NAMED_QUERY_FIND_BY_PAGEID_OR_CHANNELIDS
public static final String CACHE_REGION
public String getId()
public void setId(String id)
id
- the identifier value to set.public String getName()
public void setName(String name)
name
- the name value to set.public SeoRule.Type getType()
SeoRule.Type
of rule.public void setType(SeoRule.Type type)
SeoRule.Type
of rule.type
- the type value to set.public String getPage()
public void setPage(String page)
page
- the page identifier to set.public String getChannel()
public void setChannel(String channel)
channel
- the channel identifier to set.public String getPageTitle()
null
if no title is defined.public void setPageTitle(String pageTitle)
pageTitle
- the page title value to set.public String getPageTitlePattern()
null
if no title pattern is defined.public void setPageTitlePattern(String pageTitlePattern)
pageTitle
- the page title value to set.public String getPageDescription()
null
if no description is defined.public void setPageDescription(String pageDescription)
pageDescription
- the page description value to set.public String getUrlPath()
null
if no path is defined.public void setUrlPath(String urlPath)
urlPath
- the url path value to set.public URL getCanonicalUrl()
null
if no URL is defined.public void setCanonicalUrl(URL canonicalUrl)
canonicalURL
- the canonicalURL value to set.public String getSocialTitle()
null
if no title is defined.public void setSocialTitle(String socialTitle)
social
- title
the social title value to set.public String getSocialDescription()
null
if no description is defined.public void setSocialDescription(String socialDescription)
social
- description
the social description value to set.public String getSocialImage()
null
if no image is defined.public void setSocialImage(String socialImage)
social
- image
the social image value to set.LumisXP 12.4.0.200625 - Copyright © 2006–2020 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.