org.apache.jackrabbit.rmi.server
Class ServerVersionManager

java.lang.Object
  extended by java.rmi.server.RemoteObject
      extended by java.rmi.server.RemoteServer
          extended by java.rmi.server.UnicastRemoteObject
              extended by org.apache.jackrabbit.rmi.server.ServerObject
                  extended by org.apache.jackrabbit.rmi.server.ServerVersionManager
All Implemented Interfaces:
Serializable, Remote, RemoteVersionManager

public class ServerVersionManager
extends ServerObject
implements RemoteVersionManager

See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.rmi.server.RemoteObject
ref
 
Constructor Summary
ServerVersionManager(VersionManager manager, RemoteAdapterFactory factory)
           
 
Method Summary
 RemoteVersion checkin(String absPath)
           
 void checkout(String absPath)
           
 RemoteVersion checkpoint(String absPath)
           
 RemoteNode createActivity(String title)
           
 RemoteNode createConfiguration(String absPath)
           
 RemoteNode getActivity()
           
 RemoteVersion getBaseVersion(String absPath)
           
 RemoteVersionHistory getVersionHistory(String absPath)
           
 boolean isCheckedOut(String absPath)
           
 RemoteIterator merge(String absPath, String srcWorkspace, boolean bestEffort)
           
 RemoteIterator merge(String absPath, String srcWorkspace, boolean bestEffort, boolean isShallow)
           
 void restore(String absPath, String versionName, boolean removeExisting)
           
 void restoreByLabel(String absPath, String versionLabel, boolean removeExisting)
           
 
Methods inherited from class org.apache.jackrabbit.rmi.server.ServerObject
getFactory, getRemoteItem, getRemoteNode, getRemoteNodeTypeArray, getRepositoryException, getSerialValue, getSerialValues
 
Methods inherited from class java.rmi.server.UnicastRemoteObject
clone, exportObject, exportObject, exportObject, unexportObject
 
Methods inherited from class java.rmi.server.RemoteServer
getClientHost, getLog, setLog
 
Methods inherited from class java.rmi.server.RemoteObject
equals, getRef, hashCode, toString, toStub
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ServerVersionManager

public ServerVersionManager(VersionManager manager,
                            RemoteAdapterFactory factory)
                     throws RemoteException
Throws:
RemoteException
Method Detail

checkin

public RemoteVersion checkin(String absPath)
                      throws RepositoryException,
                             RemoteException
Specified by:
checkin in interface RemoteVersionManager
Throws:
RepositoryException
RemoteException

checkout

public void checkout(String absPath)
              throws RepositoryException
Specified by:
checkout in interface RemoteVersionManager
Throws:
RepositoryException

checkpoint

public RemoteVersion checkpoint(String absPath)
                         throws RepositoryException,
                                RemoteException
Specified by:
checkpoint in interface RemoteVersionManager
Throws:
RepositoryException
RemoteException

createActivity

public RemoteNode createActivity(String title)
                          throws RepositoryException,
                                 RemoteException
Specified by:
createActivity in interface RemoteVersionManager
Throws:
RepositoryException
RemoteException

createConfiguration

public RemoteNode createConfiguration(String absPath)
                               throws RepositoryException,
                                      RemoteException
Specified by:
createConfiguration in interface RemoteVersionManager
Throws:
RepositoryException
RemoteException

getActivity

public RemoteNode getActivity()
                       throws RepositoryException,
                              RemoteException
Specified by:
getActivity in interface RemoteVersionManager
Throws:
RepositoryException
RemoteException

getBaseVersion

public RemoteVersion getBaseVersion(String absPath)
                             throws RepositoryException,
                                    RemoteException
Specified by:
getBaseVersion in interface RemoteVersionManager
Throws:
RepositoryException
RemoteException

getVersionHistory

public RemoteVersionHistory getVersionHistory(String absPath)
                                       throws RepositoryException,
                                              RemoteException
Specified by:
getVersionHistory in interface RemoteVersionManager
Throws:
RepositoryException
RemoteException

isCheckedOut

public boolean isCheckedOut(String absPath)
                     throws RepositoryException
Specified by:
isCheckedOut in interface RemoteVersionManager
Throws:
RepositoryException

merge

public RemoteIterator merge(String absPath,
                            String srcWorkspace,
                            boolean bestEffort)
                     throws RepositoryException,
                            RemoteException
Specified by:
merge in interface RemoteVersionManager
Throws:
RepositoryException
RemoteException

merge

public RemoteIterator merge(String absPath,
                            String srcWorkspace,
                            boolean bestEffort,
                            boolean isShallow)
                     throws RepositoryException,
                            RemoteException
Specified by:
merge in interface RemoteVersionManager
Throws:
RepositoryException
RemoteException

restore

public void restore(String absPath,
                    String versionName,
                    boolean removeExisting)
             throws RepositoryException
Specified by:
restore in interface RemoteVersionManager
Throws:
RepositoryException

restoreByLabel

public void restoreByLabel(String absPath,
                           String versionLabel,
                           boolean removeExisting)
                    throws RepositoryException
Specified by:
restoreByLabel in interface RemoteVersionManager
Throws:
RepositoryException


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