org.apache.jackrabbit.rmi.client
Class ClientVersionManager
java.lang.Object
org.apache.jackrabbit.rmi.client.ClientObject
org.apache.jackrabbit.rmi.client.ClientVersionManager
- All Implemented Interfaces:
- VersionManager
public class ClientVersionManager
- extends ClientObject
- implements VersionManager
Method Summary |
void |
cancelMerge(String absPath,
Version version)
|
Version |
checkin(String absPath)
|
void |
checkout(String absPath)
|
Version |
checkpoint(String absPath)
|
Node |
createActivity(String title)
|
Node |
createConfiguration(String absPath)
|
void |
doneMerge(String absPath,
Version version)
|
Node |
getActivity()
|
Version |
getBaseVersion(String absPath)
|
VersionHistory |
getVersionHistory(String absPath)
|
boolean |
isCheckedOut(String absPath)
|
NodeIterator |
merge(Node activityNode)
|
NodeIterator |
merge(String absPath,
String srcWorkspace,
boolean bestEffort)
|
NodeIterator |
merge(String absPath,
String srcWorkspace,
boolean bestEffort,
boolean isShallow)
|
void |
removeActivity(Node activityNode)
|
void |
restore(String absPath,
String versionName,
boolean removeExisting)
|
void |
restore(String absPath,
Version version,
boolean removeExisting)
|
void |
restore(Version[] versions,
boolean removeExisting)
|
void |
restore(Version version,
boolean removeExisting)
|
void |
restoreByLabel(String absPath,
String versionLabel,
boolean removeExisting)
|
Node |
setActivity(Node activity)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ClientVersionManager
public ClientVersionManager(Session session,
RemoteVersionManager remote,
LocalAdapterFactory factory)
cancelMerge
public void cancelMerge(String absPath,
Version version)
throws RepositoryException
- Specified by:
cancelMerge
in interface VersionManager
- Throws:
RepositoryException
checkin
public Version checkin(String absPath)
throws RepositoryException
- Specified by:
checkin
in interface VersionManager
- Throws:
RepositoryException
checkout
public void checkout(String absPath)
throws RepositoryException
- Specified by:
checkout
in interface VersionManager
- Throws:
RepositoryException
checkpoint
public Version checkpoint(String absPath)
throws RepositoryException
- Specified by:
checkpoint
in interface VersionManager
- Throws:
RepositoryException
createActivity
public Node createActivity(String title)
throws RepositoryException
- Specified by:
createActivity
in interface VersionManager
- Throws:
RepositoryException
createConfiguration
public Node createConfiguration(String absPath)
throws RepositoryException
- Specified by:
createConfiguration
in interface VersionManager
- Throws:
RepositoryException
doneMerge
public void doneMerge(String absPath,
Version version)
throws RepositoryException
- Specified by:
doneMerge
in interface VersionManager
- Throws:
RepositoryException
getActivity
public Node getActivity()
throws RepositoryException
- Specified by:
getActivity
in interface VersionManager
- Throws:
RepositoryException
getBaseVersion
public Version getBaseVersion(String absPath)
throws RepositoryException
- Specified by:
getBaseVersion
in interface VersionManager
- Throws:
RepositoryException
getVersionHistory
public VersionHistory getVersionHistory(String absPath)
throws RepositoryException
- Specified by:
getVersionHistory
in interface VersionManager
- Throws:
RepositoryException
isCheckedOut
public boolean isCheckedOut(String absPath)
throws RepositoryException
- Specified by:
isCheckedOut
in interface VersionManager
- Throws:
RepositoryException
merge
public NodeIterator merge(Node activityNode)
throws RepositoryException
- Specified by:
merge
in interface VersionManager
- Throws:
RepositoryException
merge
public NodeIterator merge(String absPath,
String srcWorkspace,
boolean bestEffort)
throws RepositoryException
- Specified by:
merge
in interface VersionManager
- Throws:
RepositoryException
merge
public NodeIterator merge(String absPath,
String srcWorkspace,
boolean bestEffort,
boolean isShallow)
throws RepositoryException
- Specified by:
merge
in interface VersionManager
- Throws:
RepositoryException
removeActivity
public void removeActivity(Node activityNode)
throws RepositoryException
- Specified by:
removeActivity
in interface VersionManager
- Throws:
RepositoryException
restore
public void restore(Version[] versions,
boolean removeExisting)
throws RepositoryException
- Specified by:
restore
in interface VersionManager
- Throws:
RepositoryException
restore
public void restore(Version version,
boolean removeExisting)
throws RepositoryException
- Specified by:
restore
in interface VersionManager
- Throws:
RepositoryException
restore
public void restore(String absPath,
String versionName,
boolean removeExisting)
throws RepositoryException
- Specified by:
restore
in interface VersionManager
- Throws:
RepositoryException
restore
public void restore(String absPath,
Version version,
boolean removeExisting)
throws RepositoryException
- Specified by:
restore
in interface VersionManager
- Throws:
RepositoryException
restoreByLabel
public void restoreByLabel(String absPath,
String versionLabel,
boolean removeExisting)
throws RepositoryException
- Specified by:
restoreByLabel
in interface VersionManager
- Throws:
RepositoryException
setActivity
public Node setActivity(Node activity)
throws RepositoryException
- Specified by:
setActivity
in interface VersionManager
- Throws:
RepositoryException
Copyright © 2004-2010 The Apache Software Foundation. All Rights Reserved.