public interface ExtendedWorkspace
extends javax.jcr.Workspace
Modifier and Type | Method and Description |
---|---|
NodeTypeDataManager |
getNodeTypesHolder()
Returns
NodeTypeDataManager instance |
void |
importXML(String parentAbsPath,
InputStream in,
int uuidBehavior,
Map<String,Object> context)
Deserializes an XML document and adds the resulting item subtree as a child of the node at
parentAbsPath.
|
void importXML(String parentAbsPath, InputStream in, int uuidBehavior, Map<String,Object> context) throws IOException, javax.jcr.PathNotFoundException, javax.jcr.ItemExistsException, javax.jcr.nodetype.ConstraintViolationException, javax.jcr.InvalidSerializedDataException, javax.jcr.RepositoryException
parentAbsPath
- the absolute path of the node below which the deserialized subtree is added.in
- The Inputstream
from which the XML to be deserilaized is read.uuidBehavior
- a four-value flag that governs how incoming UUIDs are handled.context
- IOException
javax.jcr.PathNotFoundException
javax.jcr.ItemExistsException
javax.jcr.nodetype.ConstraintViolationException
javax.jcr.InvalidSerializedDataException
javax.jcr.RepositoryException
NodeTypeDataManager getNodeTypesHolder() throws javax.jcr.RepositoryException
NodeTypeDataManager
instancejavax.jcr.RepositoryException
Copyright © 2003-2017 eXo Platform SAS. All Rights Reserved.