public interface BlueprintManager
BlueprintManagerFactory.getBlueprintManager(org.apache.sling.api.resource.ResourceResolver)
Factory Method}Blueprint
,
BlueprintManagerFactory
Modifier and Type | Method and Description |
---|---|
Blueprint |
getBlueprint(java.lang.String absPath)
Access the Blueprint that is stored at the given Path argument.
If a Blueprint can be accessed, the Blueprint's path must
be the same as the argument. |
java.util.Collection<Blueprint> |
getBlueprints() |
Blueprint |
getContainingBlueprint(java.lang.String path)
Try to access a Blueprint for a given Resource
A Blueprint is found if the Resource is equal or a descendant of the Blueprint.getSitePath() Blueprint's SitePath}. |
java.util.Collection<Blueprint> getBlueprints() throws WCMException
WCMException
- in case of errorBlueprint getBlueprint(java.lang.String absPath) throws WCMException
Blueprint's path
must
be the same as the argument.absPath
- the absolute Path the blueprint should be stored atnull
if Resource
at Path is not a BlueprintWCMException
- in case of errorPage.getPath()
Blueprint getContainingBlueprint(java.lang.String path) throws WCMException
Blueprint.getSitePath()
Blueprint's SitePath}.path
- to find the Blueprint fornull
if no
Blueprint is defined for the pathWCMException
- in case of errorCopyright © 2010 - 2020 Adobe. All Rights Reserved