Interface RelatedInternalLink

  • All Superinterfaces:
    RelatedLink, Wrapper

    public interface RelatedInternalLink
    extends RelatedLink
    Extends RelatedLink with a method to get the internal Page that is referred to.
    • Method Detail

      • getPage

        Page getPage()
        Returns the page referenced by this link.
        Returns:
        the page that is linked to by this RelatedLink
      • setPage

        void setPage​(Page page)
        Sets the page this link will link to by this RelatedLink.
        Parameters:
        page - the page to link to
      • getLanguage

        Language getLanguage()
        Returns the language in which the page referenced by this link should be rendered. Returns null if no language is set.
        Returns:
        the language in which the page referenced by this link should be rendered. Returns null if no language is set
      • setLanguage

        void setLanguage​(Language language)
        Sets the Language in which the page referenced by this link should be rendered. Setting the language to null is allowed.
        Parameters:
        language - the Language in which the page referenced by this link should be rendered