Package org.apache.jackrabbit.server.io
Class CopyMoveContextImpl
- java.lang.Object
-
- org.apache.jackrabbit.server.io.CopyMoveContextImpl
-
- All Implemented Interfaces:
CopyMoveContext
public class CopyMoveContextImpl extends Object implements CopyMoveContext
CopyMoveContextImpl
...
-
-
Constructor Summary
Constructors Constructor Description CopyMoveContextImpl(Session session)
CopyMoveContextImpl(Session session, boolean isShallowCopy)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Session
getSession()
Workspace
getWorkspace()
boolean
isShallowCopy()
-
-
-
Method Detail
-
isShallowCopy
public boolean isShallowCopy()
- Specified by:
isShallowCopy
in interfaceCopyMoveContext
- Returns:
- true if this context defines a shallow copy.
- See Also:
CopyMoveContext.isShallowCopy()
-
getSession
public Session getSession()
- Specified by:
getSession
in interfaceCopyMoveContext
- Returns:
- the jcr session associated with this context.
- See Also:
CopyMoveContext.getSession()
-
getWorkspace
public Workspace getWorkspace() throws RepositoryException
- Specified by:
getWorkspace
in interfaceCopyMoveContext
- Returns:
- The JCR workspace associated with this context.
- Throws:
RepositoryException
- If an error occurs.- See Also:
CopyMoveContext.getWorkspace()
-
-