Interface Aggregate

  • All Superinterfaces:
    Dumpable

    public interface Aggregate
    extends Dumpable
    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
      • getPath

        java.lang.String getPath()
      • 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

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

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

        java.util.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​(java.lang.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

        java.lang.String[] getNamespacePrefixes()
      • getNamespaceURI

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

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