Interface SpaceReferenceResolver<T>

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

    @Role
    public interface SpaceReferenceResolver<T>
    Resolve a Space reference defined in a given representation into a validated SpaceReference object, ie with valid values and a valid hierarchy (eg a Space reference must have a parent which is a space reference or a wiki reference, reference values must not be null, etc).
    Since:
    7.2M1
    Version:
    $Id: 27afc8a6f0f7d9b17646ca271fb0aca91f5af64a $
    • Field Detail

      • TYPE_STRING

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

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

      • resolve

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