@ProviderType
public interface Service
Service acts mainly as container for Configuration entries.| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
BASE_PATH
Base path for service
Resources. |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getComponentReference()
Returns a path to a related page component or
null if not
defined. |
Resource |
getContentResource()
Returns the
Resource of the services content or null
if the service has no content. |
java.lang.String |
getDescription()
Return jcr:description property of the service.
|
java.lang.String |
getIconPath()
Returns the path to an icon for this service or
null if
this service does not provide an icon. |
java.lang.Long |
getInclusionRank()
Returns an Long value of the includsionRank property.
|
java.lang.String |
getName()
Returns the name of the service.
|
java.lang.String |
getPath()
Returns the path of the service.
|
ValueMap |
getProperties()
Returns a value map of the service content.
|
Resource |
getResource()
Returns the service
Resource. |
java.lang.String[] |
getSelectableChildren()
Returns an array of paths to selectable child templates.
|
java.lang.String |
getServiceUrl()
Returns the URL to the service or
null if not defined. |
java.lang.String |
getServiceUrlLabel()
Returns the URL label for the service URL link or
null if not defined. |
Template |
getTemplate()
Returns the pages
Template or null if no template has
been found or the current user does not have read access to the
template resource specified by the path in the page's template property. |
java.lang.String |
getThumbnailPath()
Returns the path to a thumbnail for this service or
null if
this service does not provide a thumbnail. |
java.lang.String |
getTitle()
Return the jcr:title property of the service.
|
java.lang.Boolean |
isSelectableChild(java.lang.String templatePath)
Checks if provided template path is selectable.
|
java.lang.Boolean |
isVisible()
Indicates if the service has the property 'visible' set to true.
|
static final java.lang.String BASE_PATH
Resources.java.lang.String getTitle()
java.lang.Long getInclusionRank()
java.lang.String getDescription()
java.lang.String getName()
java.lang.String getPath()
nulljava.lang.String getComponentReference()
null if not
defined.nulljava.lang.String getServiceUrl()
null if not defined.nulljava.lang.String getServiceUrlLabel()
null if not defined.nulljava.lang.String getIconPath()
null if
this service does not provide an icon.nulljava.lang.String getThumbnailPath()
null if
this service does not provide a thumbnail.nullTemplate getTemplate()
Template or null if no template has
been found or the current user does not have read access to the
template resource specified by the path in the page's template property.
This is the case on publish instances using default ACL configuration
(anonymous cannot read templates).Template or nullResource getContentResource()
Resource of the services content or null
if the service has no content.Resource or nullValueMap getProperties()
ValueMap or ValueMap.EMPTYjava.lang.String[] getSelectableChildren()
java.lang.Boolean isSelectableChild(java.lang.String templatePath)
templatePath - templatePathtrue if templatePath is selectable,
false otherwisejava.lang.Boolean isVisible()
true.false if the property is set to false,
true otherwise or if the property is missingCopyright © 2010 - 2023 Adobe. All Rights Reserved