| Modifier and Type | Method and Description |
|---|---|
Node |
addNode(java.lang.String key,
java.lang.String primaryNodeTypeName)
Add a with the given
key and primary node type name. |
void |
removeNode(java.lang.String key)
Remove the node with the given key.
|
Node addNode(java.lang.String key, java.lang.String primaryNodeTypeName) throws RepositoryException
key and primary node type name.key - key of the node to addprimaryNodeTypeName - primary node type of the node to addRepositoryExceptionvoid removeNode(java.lang.String key)
throws RepositoryException
key - The key of the node to removeRepositoryException - If there is no node with such a key or
another error occurs.Copyright © 2010 - 2023 Adobe. All Rights Reserved