|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.apache.jackrabbit.core.xml.WorkspaceImporter
WorkspaceImporter ...
| Nested Class Summary |
| Nested classes inherited from class org.apache.jackrabbit.core.xml.Importer |
Importer.NodeInfo, Importer.PropInfo, Importer.TextValue |
| Constructor Summary | |
WorkspaceImporter(Path parentPath,
WorkspaceImpl wsp,
NodeTypeRegistry ntReg,
int uuidBehavior)
Creates a new WorkspaceImporter instance. |
|
| Method Summary | |
void |
end()
|
void |
endNode(Importer.NodeInfo nodeInfo)
|
protected void |
postProcessNode(NodeState node)
Post-process imported node (initialize properties with special semantics etc.) |
protected NodeState |
resolveUUIDConflict(NodeState parent,
NodeState conflicting,
Importer.NodeInfo nodeInfo)
|
void |
start()
|
void |
startNode(Importer.NodeInfo nodeInfo,
List propInfos,
NamespaceResolver nsContext)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public WorkspaceImporter(Path parentPath,
WorkspaceImpl wsp,
NodeTypeRegistry ntReg,
int uuidBehavior)
throws PathNotFoundException,
ConstraintViolationException,
VersionException,
LockException,
RepositoryException
WorkspaceImporter instance.
parentPath - target path where to add the imported subtreewsp - ntReg - uuidBehavior - flag that governs how incoming UUIDs are handled
PathNotFoundException - if no node exists at
parentPath or if the
current session is not granted read
access.
ConstraintViolationException - if the node at
parentPath is protected
VersionException - if the node at
parentPath is not
checked-out
LockException - if a lock prevents the addition of
the subtree
RepositoryException - if another error occurs| Method Detail |
protected NodeState resolveUUIDConflict(NodeState parent,
NodeState conflicting,
Importer.NodeInfo nodeInfo)
throws RepositoryException
parent - conflicting - nodeInfo -
RepositoryException
protected void postProcessNode(NodeState node)
throws RepositoryException
node -
RepositoryException
public void start()
throws RepositoryException
start in interface ImporterRepositoryException
public void startNode(Importer.NodeInfo nodeInfo,
List propInfos,
NamespaceResolver nsContext)
throws RepositoryException
startNode in interface ImporternodeInfo - propInfos - list of PropInfo instancesnsContext - prefix mappings of current context
RepositoryException
public void endNode(Importer.NodeInfo nodeInfo)
throws RepositoryException
endNode in interface ImporternodeInfo -
RepositoryException
public void end()
throws RepositoryException
end in interface ImporterRepositoryException
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||