Interface AttributableResourceProvider

    • Method Detail

      • getAttributeNames

        java.util.Collection<java.lang.String> getAttributeNames​(ResourceResolver resolver)
        Deprecated.
        Returns a collection of attribute names whose value can be retrieved calling the getAttribute(ResourceResolver, String) method.
        Parameters:
        resolver - The resource resolver
        Returns:
        A collection of attribute names or null
        Throws:
        java.lang.IllegalStateException - if this resource provider has already been closed.
      • getAttribute

        java.lang.Object getAttribute​(ResourceResolver resolver,
                                      java.lang.String name)
        Deprecated.
        Returns the value of the given resource provider attribute or null if the attribute is not set or not visible (as e.g. security sensitive attributes).
        Parameters:
        resolver - The resource resolver
        name - The name of the attribute to access
        Returns:
        The value of the attribute or null if the attribute is not set or not accessible.
        Throws:
        java.lang.NullPointerException - if name is null.
        java.lang.IllegalStateException - if this resource provider has already been closed.