@Model(adaptables=org.apache.sling.api.resource.Resource.class)
public class EditableResource
extends java.lang.Object
| Constructor and Description |
|---|
EditableResource(org.apache.sling.api.resource.Resource resource) |
| Modifier and Type | Method and Description |
|---|---|
Component |
getComponent() |
org.apache.sling.api.resource.Resource |
getComponentResource()
Gets the component for the specified resource.
|
java.lang.String |
getEditPath()
Returns the path for the editor for this resource if available
|
org.apache.sling.api.resource.Resource |
getEditResource()
Returns the resource for the editor for this resource if available
|
org.apache.sling.api.resource.Resource |
getResource()
Gets the current resource.
|
public EditableResource(org.apache.sling.api.resource.Resource resource)
public Component getComponent()
public org.apache.sling.api.resource.Resource getComponentResource()
public java.lang.String getEditPath()
public org.apache.sling.api.resource.Resource getEditResource()
public org.apache.sling.api.resource.Resource getResource()
Copyright © 2007–2018 The Apache Software Foundation. All rights reserved.