org.apache.jackrabbit.core
Class SessionMoveOperation

java.lang.Object
  extended by org.apache.jackrabbit.core.SessionMoveOperation
All Implemented Interfaces:
SessionOperation<Object>, SessionWriteOperation<Object>

public class SessionMoveOperation
extends Object
implements SessionWriteOperation<Object>


Constructor Summary
SessionMoveOperation(PathResolver resolver, String srcAbsPath, String destAbsPath)
           
 
Method Summary
 Object perform(SessionContext context)
          Performs the session operation.
 String toString()
          Returns a string representation of this operation.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SessionMoveOperation

public SessionMoveOperation(PathResolver resolver,
                            String srcAbsPath,
                            String destAbsPath)
                     throws RepositoryException
Throws:
RepositoryException
Method Detail

perform

public Object perform(SessionContext context)
               throws RepositoryException
Description copied from interface: SessionOperation
Performs the session operation.

Specified by:
perform in interface SessionOperation<Object>
Parameters:
context - component context of this session
Throws:
RepositoryException - if the operation fails

toString

public String toString()
Returns a string representation of this operation.

Overrides:
toString in class Object


Copyright © 2004-2010 The Apache Software Foundation. All Rights Reserved.