Interface CopyMoveManager

  • All Known Implementing Classes:
    CopyMoveManagerImpl

    public interface CopyMoveManager
    CopyMoveManager...
    • Method Detail

      • copy

        boolean copy​(CopyMoveContext context,
                     DavResource source,
                     DavResource destination)
              throws DavException
        Handles the copy command
        Parameters:
        context - The context used for this copy operation.
        source - The source of the copy.
        destination - The destination of the copy.
        Returns:
        true if the copy succeeded.
        Throws:
        DavException - If an error occurs.
      • move

        boolean move​(CopyMoveContext context,
                     DavResource source,
                     DavResource destination)
              throws DavException
        Handles the move command
        Parameters:
        context - The context used for this move operation.
        source - The source of the move.
        destination - The destination of the move.
        Returns:
        true if the move succeeded.
        Throws:
        DavException - If an error occurs.
      • addCopyMoveHandler

        void addCopyMoveHandler​(CopyMoveHandler copyMoveHandler)
        Adds the specified handler to the list of handlers.
        Parameters:
        copyMoveHandler - handler to be added
      • getCopyMoveHandlers

        CopyMoveHandler[] getCopyMoveHandlers()
        Returns all handlers that have been added to this manager.
        Returns:
        Array of all handlers