Class WorkspaceDelegate


  • public class WorkspaceDelegate
    extends java.lang.Object
    Delegate class for workspace operations.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void copy​(@NotNull java.lang.String srcPath, @NotNull java.lang.String destPath)
      Copy a node
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • WorkspaceDelegate

        public WorkspaceDelegate​(SessionContext context)
    • Method Detail

      • copy

        public void copy​(@NotNull
                         @NotNull java.lang.String srcPath,
                         @NotNull
                         @NotNull java.lang.String destPath)
                  throws RepositoryException
        Copy a node
        Parameters:
        srcPath - oak path to the source node to copy
        destPath - oak path to the destination
        Throws:
        RepositoryException