Interface BlueprintManager

    • Method Detail

      • getBlueprints

        java.util.Collection<Blueprint> getBlueprints()
                                               throws WCMException
        Returns:
        all Blueprints available int the System
        Throws:
        WCMException - in case of error
      • getBlueprint

        Blueprint getBlueprint​(java.lang.String absPath)
                        throws WCMException
        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.
        Parameters:
        absPath - the absolute Path the blueprint should be stored at
        Returns:
        the Blueprint for the given Path or null if Resource at Path is not a Blueprint
        Throws:
        WCMException - in case of error
        See Also:
        Page.getPath()
      • getContainingBlueprint

        Blueprint getContainingBlueprint​(java.lang.String path)
                                  throws WCMException
        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}.
        Parameters:
        path - to find the Blueprint for
        Returns:
        the Blueprint containing the path or null if no Blueprint is defined for the path
        Throws:
        WCMException - in case of error