Class LocalPageReference

    • Constructor Detail

      • LocalPageReference

        public LocalPageReference​(String pageName,
                                  String... pageNames)
        Create a new Page reference in the current wiki.
        Parameters:
        pageName - the name of the page containing the page, must not be null
        pageNames - an ordered list of the names of the pages containing the page from root page to last one, must not be null
      • LocalPageReference

        public LocalPageReference​(List<String> pageNames)
        Create a new Page reference in the current wiki.
        Parameters:
        pageNames - an ordered list of the names of the pages containing the page from root page to last one, must not be null
      • LocalPageReference

        public LocalPageReference​(String pageName,
                                  Locale locale)
        Create a new Page reference in the current wiki.
        Parameters:
        pageName - the name of the page containing the page, must not be null
        locale - the new locale for this reference
      • LocalPageReference

        public LocalPageReference​(EntityReference reference)
        Parameters:
        reference - the reference to clone
      • LocalPageReference

        public LocalPageReference​(EntityReference entityReference,
                                  Locale locale)
        Parameters:
        entityReference - the reference
        locale - the new locale for this reference, if null, locale is removed
      • LocalPageReference

        public LocalPageReference​(String pageName,
                                  EntityReference pageReference)
        Create a new Page reference in the current wiki.
        Parameters:
        pageName - the name of the page, must not be null
        pageReference - the reference of the page, must not be null
      • LocalPageReference

        public LocalPageReference​(PageReference pageReference)
        Parameters:
        pageReference - the full page reference
      • LocalPageReference

        public LocalPageReference​(EntityReference reference,
                                  EntityReference parent)
        Clone an DocumentVersionReference, but use the specified parent for its new parent.
        Parameters:
        reference - the reference to clone
        parent - the new parent to use
        Since:
        10.8RC1