Class AbstractPageWebResourceDataProvider

    • Field Detail

      • pageWebResource

        protected PageWebResource pageWebResource
        The page web resource this provider is generating data for.
        Since:
        5.0.0
    • Constructor Detail

      • AbstractPageWebResourceDataProvider

        public AbstractPageWebResourceDataProvider()
    • Method Detail

      • getTitle

        protected abstract java.lang.String getTitle()
                                              throws PortalException
        Returns the title for the page web resource.
        Returns:
        the title. Must not be null.
        Throws:
        PortalException
        Since:
        5.0.0
      • getSimpleTitle

        protected abstract java.lang.String getSimpleTitle()
                                                    throws PortalException
        Returns the simple title for the page web resource.
        Returns:
        the simple title. Must not be null.
        Throws:
        PortalException
        Since:
        10.2.0
      • getUrlTitle

        protected java.lang.String getUrlTitle()
                                        throws PortalException
        Returns the title to be used when generating the URL of the page web resource.
        Returns:
        the title, or null if there is no specific title for URL generation.
        Throws:
        PortalException
        Since:
        10.0.0
      • getDescription

        protected abstract java.lang.String getDescription()
                                                    throws PortalException
        Returns the description for the page web resource.
        Returns:
        the description.
        Throws:
        PortalException
        Since:
        5.0.0
      • getKeywords

        protected abstract java.util.List<java.lang.String> getKeywords()
                                                                 throws PortalException
        Returns the keywords for the page web resource.
        Returns:
        the keywords. Must not be null, but may be an empty list to indicate there are no keywords.
        Throws:
        PortalException
        Since:
        5.0.0
      • getMetaTags

        protected java.util.Map<java.lang.String,​java.lang.String> getMetaTags()
                                                                              throws PortalException
        Returns the meta tags map for the page web resource.
        Returns:
        the meta tags map.
        Throws:
        PortalException
        Since:
        6.0.0
      • getUrlPath

        protected java.lang.String getUrlPath()
        Returns the URL path.
        Returns:
        the URL path.
        Since:
        12.5.0