Class SeoRule


  • public class SeoRule
    extends java.lang.Object
    A content for Seo Rules
    Since:
    10.1.0
    Version:
    $Revision$ $Date$
    • Field Detail

      • NAMED_QUERY_FIND_BY_PAGEID

        public static final java.lang.String NAMED_QUERY_FIND_BY_PAGEID
        See Also:
        Constant Field Values
      • NAMED_QUERY_FIND_BY_CHANNELID

        public static final java.lang.String NAMED_QUERY_FIND_BY_CHANNELID
        See Also:
        Constant Field Values
      • NAMED_QUERY_FIND_BY_PAGEID_OR_CHANNELIDS

        public static final java.lang.String NAMED_QUERY_FIND_BY_PAGEID_OR_CHANNELIDS
        See Also:
        Constant Field Values
    • Constructor Detail

      • SeoRule

        public SeoRule()
    • Method Detail

      • getId

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

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

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

        public void setName​(java.lang.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 java.lang.String getPage()
        Returns the identifier of the page related to this rule.
        Returns:
        the page identifier.
        Since:
        10.1.0
      • setPage

        public void setPage​(java.lang.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 java.lang.String getChannel()
        Returns the identifier of the channel related to this rule.
        Returns:
        the channel identifier.
        Since:
        10.1.0
      • setChannel

        public void setChannel​(java.lang.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 java.lang.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​(java.lang.String pageTitle)
        Sets the page title if defined.
        Parameters:
        pageTitle - the page title value to set.
        Since:
        10.1.0
      • getPageTitlePattern

        public java.lang.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​(java.lang.String pageTitlePattern)
        Sets the page title if defined.
        Parameters:
        pageTitle - the page title value to set.
        Since:
        10.2.0
      • getPageDescription

        public java.lang.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​(java.lang.String pageDescription)
        Sets the page description.
        Parameters:
        pageDescription - the page description value to set.
        Since:
        10.1.0
      • getUrlPath

        public java.lang.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​(java.lang.String urlPath)
        Sets the url path.
        Parameters:
        urlPath - the url path value to set.
        Since:
        10.1.0
      • getCanonicalUrl

        public java.net.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​(java.net.URL canonicalUrl)
        Sets the canonical URL.
        Parameters:
        canonicalURL - the canonicalURL value to set.
        Since:
        10.1.0
      • getSocialTitle

        public java.lang.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​(java.lang.String socialTitle)
        Sets the social title.
        Parameters:
        social - title the social title value to set.
        Since:
        10.1.0
      • getSocialDescription

        public java.lang.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​(java.lang.String socialDescription)
        Sets the social description.
        Parameters:
        social - description the social description value to set.
        Since:
        10.1.0
      • getSocialImage

        public java.lang.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​(java.lang.String socialImage)
        Sets the social image.
        Parameters:
        social - image the social image value to set.
        Since:
        10.1.0