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 SessiongetSession()WorkspacegetWorkspace()booleanisShallowCopy()
-
-
-
Method Detail
-
isShallowCopy
public boolean isShallowCopy()
- Specified by:
isShallowCopyin interfaceCopyMoveContext- Returns:
- true if this context defines a shallow copy.
- See Also:
CopyMoveContext.isShallowCopy()
-
getSession
public Session getSession()
- Specified by:
getSessionin interfaceCopyMoveContext- Returns:
- the jcr session associated with this context.
- See Also:
CopyMoveContext.getSession()
-
getWorkspace
public Workspace getWorkspace() throws RepositoryException
- Specified by:
getWorkspacein interfaceCopyMoveContext- Returns:
- The JCR workspace associated with this context.
- Throws:
RepositoryException- If an error occurs.- See Also:
CopyMoveContext.getWorkspace()
-
-