Class EditableResourceImpl

    • Constructor Detail

      • EditableResourceImpl

        public EditableResourceImpl​(org.apache.sling.api.resource.Resource resource)
    • Method Detail

      • getComponentResource

        public org.apache.sling.api.resource.Resource getComponentResource()
        Gets the component for the specified resource.
        Specified by:
        getComponentResource in interface EditableResource
        Returns:
        the component for the specified resource
      • getEditPath

        public String getEditPath()
        Returns the path for the editor for this resource if available
        Specified by:
        getEditPath in interface EditableResource
        Returns:
        the editor path or null
      • getEditResource

        public org.apache.sling.api.resource.Resource getEditResource()
        Returns the resource for the editor for this resource if available
        Specified by:
        getEditResource in interface EditableResource
        Returns:
        the editor resource or null
      • getResource

        public org.apache.sling.api.resource.Resource getResource()
        Gets the current resource.
        Specified by:
        getResource in interface EditableResource
        Returns:
        the current resource