|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.jackrabbit.jcr2spi.xml.SessionImporter
public class SessionImporter
SessionImporter
...
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface org.apache.jackrabbit.jcr2spi.xml.Importer |
---|
Importer.NodeInfo, Importer.PropInfo, Importer.TextValue |
Constructor Summary | |
---|---|
SessionImporter(Path parentPath,
SessionImpl session,
SessionItemStateManager stateManager,
int uuidBehavior)
Creates a new WorkspaceImporter instance. |
Method Summary | |
---|---|
void |
end()
|
void |
endNode(Importer.NodeInfo nodeInfo)
|
void |
loggedOut(Session session)
Called when a Session has been 'closed' by
calling
|
void |
loggingOut(Session session)
Called when a Session is about to be 'closed' by
calling
|
void |
start()
|
void |
startNode(Importer.NodeInfo nodeInfo,
List propInfos,
NamePathResolver resolver)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SessionImporter(Path parentPath, SessionImpl session, SessionItemStateManager stateManager, int uuidBehavior) throws PathNotFoundException, ConstraintViolationException, VersionException, LockException, RepositoryException
WorkspaceImporter
instance.
parentPath
- qualified path of target node where to add the imported
subtreesession
- 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 |
---|
public void start() throws RepositoryException
start
in interface Importer
RepositoryException
public void startNode(Importer.NodeInfo nodeInfo, List propInfos, NamePathResolver resolver) throws RepositoryException
startNode
in interface Importer
propInfos
- list of PropInfo
instancesresolver
- NamePathResolver dealing with prefix mappings of current
context.
RepositoryException
public void endNode(Importer.NodeInfo nodeInfo) throws RepositoryException
endNode
in interface Importer
RepositoryException
public void end() throws RepositoryException
end
in interface Importer
RepositoryException
public void loggingOut(Session session)
SessionListener
Session
is about to be 'closed' by
calling Session.logout()
- Specified by:
loggingOut
in interface SessionListener
- Parameters:
session
- - See Also:
SessionListener.loggingOut(Session)
public void loggedOut(Session session)
SessionListener
Session
has been 'closed' by
calling Session.logout()
- Specified by:
loggedOut
in interface SessionListener
- Parameters:
session
- - See Also:
SessionListener.loggedOut(Session)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |