Class SeoRule


  • public class SeoRule
    extends Object
    A content for Seo Rules
    Since:
    10.1.0
    Version:
    $Revision: 20412 $ $Date: 2017-07-20 16:55:43 -0300 (Thu, 20 Jul 2017) $
    • Constructor Detail

      • SeoRule

        public SeoRule()
    • Method Detail

      • getId

        public String getId()
        Returns the rule's identifier.
        Returns:
        the identifier.
        Since:
        10.1.0
      • setId

        public void setId​(String id)
        Sets the rule's identifier.
        Parameters:
        id - the identifier value to set.
        Since:
        10.1.0
      • getName

        public String getName()
        Returns the rule's name.
        Returns:
        the name.
        Since:
        10.1.0
      • setName

        public void setName​(String name)
        Sets the rule's name.
        Parameters:
        name - the name value to set.
        Since:
        10.1.0
      • setType

        public void setType​(SeoRule.Type type)
        Sets the SeoRule.Type of rule.
        Parameters:
        type - the type value to set.
        Since:
        10.1.0
      • getPage

        public String getPage()
        Returns the identifier of the page related to this rule.
        Returns:
        the page identifier.
        Since:
        10.1.0
      • setPage

        public void setPage​(String page)
        Sets the identifier of the page related to this rule.
        Parameters:
        page - the page identifier to set.
        Since:
        10.1.0
      • getChannel

        public String getChannel()
        Returns the identifier of the channel related to this rule.
        Returns:
        the channel identifier.
        Since:
        10.1.0
      • setChannel

        public void setChannel​(String channel)
        Sets the identifier of the channel related to this rule.
        Parameters:
        channel - the channel identifier to set.
        Since:
        10.1.0
      • getPageTitle

        public String getPageTitle()
        Returns the page title if defined.
        Returns:
        the page title or null if no title is defined.
        Since:
        10.1.0
      • setPageTitle

        public void setPageTitle​(String pageTitle)
        Sets the page title if defined.
        Parameters:
        pageTitle - the page title value to set.
        Since:
        10.1.0
      • getPageTitlePattern

        public String getPageTitlePattern()
        Returns the page title pattern if defined.
        Returns:
        the page title pattern or null if no title pattern is defined.
        Since:
        10.2.0
      • setPageTitlePattern

        public void setPageTitlePattern​(String pageTitlePattern)
        Sets the page title if defined.
        Parameters:
        pageTitle - the page title value to set.
        Since:
        10.2.0
      • getPageDescription

        public String getPageDescription()
        Returns the page description.
        Returns:
        the page description or null if no description is defined.
        Since:
        10.1.0
      • setPageDescription

        public void setPageDescription​(String pageDescription)
        Sets the page description.
        Parameters:
        pageDescription - the page description value to set.
        Since:
        10.1.0
      • getUrlPath

        public String getUrlPath()
        Returns the url path.
        Returns:
        the url path or null if no path is defined.
        Since:
        10.1.0
      • setUrlPath

        public void setUrlPath​(String urlPath)
        Sets the url path.
        Parameters:
        urlPath - the url path value to set.
        Since:
        10.1.0
      • getCanonicalUrl

        public URL getCanonicalUrl()
        Returns the canonical URL.
        Returns:
        the canonical URL or null if no URL is defined.
        Since:
        10.1.0
      • setCanonicalUrl

        public void setCanonicalUrl​(URL canonicalUrl)
        Sets the canonical URL.
        Parameters:
        canonicalURL - the canonicalURL value to set.
        Since:
        10.1.0
      • getSocialTitle

        public String getSocialTitle()
        Returns the social title.
        Returns:
        the social title or null if no title is defined.
        Since:
        10.1.0
      • setSocialTitle

        public void setSocialTitle​(String socialTitle)
        Sets the social title.
        Parameters:
        social - title the social title value to set.
        Since:
        10.1.0
      • getSocialDescription

        public String getSocialDescription()
        Returns the social description.
        Returns:
        the social description or null if no description is defined.
        Since:
        10.1.0
      • setSocialDescription

        public void setSocialDescription​(String socialDescription)
        Sets the social description.
        Parameters:
        social - description the social description value to set.
        Since:
        10.1.0
      • getSocialImage

        public String getSocialImage()
        Returns the social image.
        Returns:
        the social image or null if no image is defined.
        Since:
        10.1.0
      • setSocialImage

        public void setSocialImage​(String socialImage)
        Sets the social image.
        Parameters:
        social - image the social image value to set.
        Since:
        10.1.0