Package org.apache.jackrabbit.spi
Interface Tree
-
- All Known Implementing Classes:
AbstractTree
public interface Tree
Interface for building a hierarchy of JCR items on the SPI layer.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Tree
addChild(Name childName, Name primaryTypeName, String uniqueId)
void
addProperty(NodeId parentId, Name propertyName, int propertyType, QValue value)
void
addProperty(NodeId parentId, Name propertyName, int propertyType, QValue[] values)
Name
getName()
Name
getPrimaryTypeName()
String
getUniqueId()
-
-
-
Method Detail
-
getName
Name getName()
-
getPrimaryTypeName
Name getPrimaryTypeName()
-
getUniqueId
String getUniqueId()
-
addProperty
void addProperty(NodeId parentId, Name propertyName, int propertyType, QValue value) throws RepositoryException
- Throws:
RepositoryException
-
addProperty
void addProperty(NodeId parentId, Name propertyName, int propertyType, QValue[] values) throws RepositoryException
- Throws:
RepositoryException
-
-