Interface Aggregate
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
allowsChildren()
Checks if this artifact node possibly allows children, i.e.Aggregate
getAggregate(java.lang.String relPath)
ArtifactSet
getArtifacts()
Returns the artifacts of this node.java.util.Collection<Property>
getBinaries()
Returns the collection of binary properties in this aggregatejava.util.List<? extends Aggregate>
getLeaves()
Returns the leaves of this aggregate ornull
.AggregateManager
getManager()
Returns the artifact manager this node belongs to.java.lang.String
getName()
Returns the name of this aggregate.java.lang.String[]
getNamespacePrefixes()
java.lang.String
getNamespaceURI(java.lang.String prefix)
Node
getNode()
Aggregate
getParent()
java.lang.String
getPath()
java.lang.String
getRelPath()
Returns the relative path of this aggregate in respect to it's parent aggregate.RepositoryAddress
getRepositoryAddress()
Returns the (absolute) repository address to the node that this artifact node represents.boolean
hasNode()
boolean
isAttached()
Checks if this aggregate has an aggregator and its node exists.
-
-
-
Method Detail
-
getNode
Node getNode() throws RepositoryException
- Throws:
RepositoryException
-
hasNode
boolean hasNode() throws RepositoryException
- Throws:
RepositoryException
-
getParent
Aggregate getParent()
-
getPath
java.lang.String getPath()
-
getRepositoryAddress
RepositoryAddress getRepositoryAddress() throws RepositoryException
Returns the (absolute) repository address to the node that this artifact node represents.- Returns:
- the repository address
- Throws:
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 RepositoryException
Returns the leaves of this aggregate ornull
.- Returns:
- the leaves
- Throws:
RepositoryException
- if an error occurs
-
getAggregate
Aggregate getAggregate(java.lang.String relPath) throws RepositoryException
- Throws:
RepositoryException
-
getArtifacts
ArtifactSet getArtifacts() throws RepositoryException
Returns the artifacts of this node.- Returns:
- the artifacts
- Throws:
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 RepositoryException
Checks if this aggregate has an aggregator and its node exists.- Returns:
true
if this aggregate is attached- Throws:
RepositoryException
- if an error occurs
-
getNamespacePrefixes
java.lang.String[] getNamespacePrefixes()
-
getNamespaceURI
java.lang.String getNamespaceURI(java.lang.String prefix) throws RepositoryException
- Throws:
RepositoryException
-
getBinaries
java.util.Collection<Property> getBinaries()
Returns the collection of binary properties in this aggregate- Returns:
- the binaries or
null
-
-