Interface Aggregate

    • Method Detail

      • getNode

        javax.jcr.Node getNode()
                        throws javax.jcr.RepositoryException
        Throws:
        javax.jcr.RepositoryException
      • hasNode

        boolean hasNode()
                 throws javax.jcr.RepositoryException
        Throws:
        javax.jcr.RepositoryException
      • getRepositoryAddress

        RepositoryAddress getRepositoryAddress()
                                        throws javax.jcr.RepositoryException
        Returns the (absolute) repository address to the node that this artifact node represents.
        Returns:
        the repository address
        Throws:
        javax.jcr.RepositoryException - if an error occurs.
      • allowsChildren

        boolean allowsChildren()
        Checks if this artifact node possibly allows children, i.e. is a folder.
        Returns:
        true if this artifact node allows children; false otherwise.
      • getRelPath

        String getRelPath()
        Returns the relative path of this aggregate in respect to it's parent aggregate.
        Returns:
        the relative path
      • getName

        String getName()
        Returns the name of this aggregate.
        Returns:
        the name of this aggregate.
      • getLeaves

        List<? extends Aggregate> getLeaves()
                                     throws javax.jcr.RepositoryException
        Returns the leaves of this aggregate or null.
        Returns:
        the leaves
        Throws:
        javax.jcr.RepositoryException - if an error occurs
      • getAggregate

        Aggregate getAggregate​(String relPath)
                        throws javax.jcr.RepositoryException
        Throws:
        javax.jcr.RepositoryException
      • getArtifacts

        ArtifactSet getArtifacts()
                          throws javax.jcr.RepositoryException
        Returns the artifacts of this node.
        Returns:
        the artifacts
        Throws:
        javax.jcr.RepositoryException - if this file is not attached to the fs, yet.
      • getManager

        AggregateManager getManager()
        Returns the artifact manager this node belongs to.
        Returns:
        the Vault filesystem.
      • isAttached

        boolean isAttached()
                    throws javax.jcr.RepositoryException
        Checks if this aggregate has an aggregator and its node exists.
        Returns:
        true if this aggregate is attached
        Throws:
        javax.jcr.RepositoryException - if an error occurs
      • getNamespacePrefixes

        String[] getNamespacePrefixes()
      • getNamespaceURI

        String getNamespaceURI​(String prefix)
                        throws javax.jcr.RepositoryException
        Throws:
        javax.jcr.RepositoryException
      • getBinaries

        Collection<javax.jcr.Property> getBinaries()
        Returns the collection of binary properties in this aggregate
        Returns:
        the binaries or null