Class PlanetResource
java.lang.Object
org.apache.sling.api.adapter.SlingAdaptable
org.apache.sling.api.resource.AbstractResource
org.apache.sling.launchpad.testservices.resourceprovider.PlanetResource
- All Implemented Interfaces:
org.apache.sling.api.adapter.Adaptable,org.apache.sling.api.resource.Resource
@Adaptable(adaptableClass=org.apache.sling.api.resource.Resource.class,
adapters=@Adapter(org.apache.sling.api.resource.ValueMap.class))
public class PlanetResource
extends org.apache.sling.api.resource.AbstractResource
implements org.apache.sling.api.resource.Resource
A Sling Resource that represents a planet
-
Field Summary
FieldsFields inherited from interface org.apache.sling.api.resource.Resource
RESOURCE_TYPE_NON_EXISTING -
Method Summary
Methods inherited from class org.apache.sling.api.resource.AbstractResource
getChild, getChildren, getName, getParent, getValueMap, hasChildren, isResourceType, listChildrenMethods inherited from class org.apache.sling.api.adapter.SlingAdaptable
setAdapterManager, unsetAdapterManagerMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.apache.sling.api.resource.Resource
getChild, getChildren, getName, getParent, getValueMap, hasChildren, isResourceType, listChildren
-
Field Details
-
RESOURCE_TYPE
- See Also:
-
-
Method Details
-
toString
-
getPath
- Specified by:
getPathin interfaceorg.apache.sling.api.resource.Resource
-
getResourceMetadata
public org.apache.sling.api.resource.ResourceMetadata getResourceMetadata()- Specified by:
getResourceMetadatain interfaceorg.apache.sling.api.resource.Resource
-
getResourceResolver
public org.apache.sling.api.resource.ResourceResolver getResourceResolver()- Specified by:
getResourceResolverin interfaceorg.apache.sling.api.resource.Resource
-
getResourceSuperType
- Specified by:
getResourceSuperTypein interfaceorg.apache.sling.api.resource.Resource
-
getResourceType
- Specified by:
getResourceTypein interfaceorg.apache.sling.api.resource.Resource
-
adaptTo
- Specified by:
adaptToin interfaceorg.apache.sling.api.adapter.Adaptable- Overrides:
adaptToin classorg.apache.sling.api.adapter.SlingAdaptable
-