Interface PageReferenceResolver<T>

  • Type Parameters:
    T - the type of the representation (eg a String)

    @Role
    public interface PageReferenceResolver<T>
    Resolve a Page reference defined in a given representation into a validated PageReference object, ie with valid values and a valid hierarchy (eg a Page reference must have a parent which is a space reference, reference values must not be null, etc).
    Since:
    10.6RC1
    Version:
    $Id: 9cc623b2aa62926e9f8a304d3c205f18ee6b27b7 $
    • Field Detail

      • TYPE_STRING

        static final ParameterizedType TYPE_STRING
        Type instance for PageReferenceResolver<String>.
      • TYPE_REFERENCE

        static final ParameterizedType TYPE_REFERENCE
        Type instance for PageReferenceResolver<EntityReference>.
    • Method Detail

      • resolve

        PageReference resolve​(T pageReferenceRepresentation,
                              Object... parameters)
        Parameters:
        pageReferenceRepresentation - the representation of a page reference (eg as a String)
        parameters - optional parameters. Their meaning depends on the resolver implementation
        Returns:
        the valid resolved page reference as an Object