Package com.day.cq.commons
Interface LabeledResource
-
- All Known Subinterfaces:
Blueprint,Blueprint,Component,ContentPolicy,Page,Profile,RolloutConfig,Template,VirtualComponent
- All Known Implementing Classes:
JcrLabeledResource
public interface LabeledResourceDescribes a resource that provides some information about its labels.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.StringgetDescription()Returns the description of this resource.java.lang.StringgetName()Returns the name of this resource.java.lang.StringgetPath()Returns the path of this resourcejava.lang.StringgetTitle()Returns the tile of this resource.
-
-
-
Method Detail
-
getPath
java.lang.String getPath()
Returns the path of this resource- Returns:
- the path of this resource
-
getName
java.lang.String getName()
Returns the name of this resource. this is usually the last segment of it's path.- Returns:
- the name of the resource
-
getTitle
java.lang.String getTitle()
Returns the tile of this resource.- Returns:
- the tile of this resource or
nullif not defined.
-
getDescription
java.lang.String getDescription()
Returns the description of this resource.- Returns:
- the description of this resource or
nullif not defined.
-
-