public class ClientVersionManager extends ClientObject implements VersionManager
| Constructor and Description | 
|---|
| ClientVersionManager(Session session,
                    RemoteVersionManager remote,
                    LocalAdapterFactory factory) | 
| Modifier and Type | Method and Description | 
|---|---|
| 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) | 
getFactory, getItem, getNode, getNodeTypeArraypublic ClientVersionManager(Session session, RemoteVersionManager remote, LocalAdapterFactory factory)
public void cancelMerge(String absPath, Version version) throws RepositoryException
cancelMerge in interface VersionManagerRepositoryExceptionpublic Version checkin(String absPath) throws RepositoryException
checkin in interface VersionManagerRepositoryExceptionpublic void checkout(String absPath) throws RepositoryException
checkout in interface VersionManagerRepositoryExceptionpublic Version checkpoint(String absPath) throws RepositoryException
checkpoint in interface VersionManagerRepositoryExceptionpublic Node createActivity(String title) throws RepositoryException
createActivity in interface VersionManagerRepositoryExceptionpublic Node createConfiguration(String absPath) throws RepositoryException
createConfiguration in interface VersionManagerRepositoryExceptionpublic void doneMerge(String absPath, Version version) throws RepositoryException
doneMerge in interface VersionManagerRepositoryExceptionpublic Node getActivity() throws RepositoryException
getActivity in interface VersionManagerRepositoryExceptionpublic Version getBaseVersion(String absPath) throws RepositoryException
getBaseVersion in interface VersionManagerRepositoryExceptionpublic VersionHistory getVersionHistory(String absPath) throws RepositoryException
getVersionHistory in interface VersionManagerRepositoryExceptionpublic boolean isCheckedOut(String absPath) throws RepositoryException
isCheckedOut in interface VersionManagerRepositoryExceptionpublic NodeIterator merge(Node activityNode) throws RepositoryException
merge in interface VersionManagerRepositoryExceptionpublic NodeIterator merge(String absPath, String srcWorkspace, boolean bestEffort) throws RepositoryException
merge in interface VersionManagerRepositoryExceptionpublic NodeIterator merge(String absPath, String srcWorkspace, boolean bestEffort, boolean isShallow) throws RepositoryException
merge in interface VersionManagerRepositoryExceptionpublic void removeActivity(Node activityNode) throws RepositoryException
removeActivity in interface VersionManagerRepositoryExceptionpublic void restore(Version[] versions, boolean removeExisting) throws RepositoryException
restore in interface VersionManagerRepositoryExceptionpublic void restore(Version version, boolean removeExisting) throws RepositoryException
restore in interface VersionManagerRepositoryExceptionpublic void restore(String absPath, String versionName, boolean removeExisting) throws RepositoryException
restore in interface VersionManagerRepositoryExceptionpublic void restore(String absPath, Version version, boolean removeExisting) throws RepositoryException
restore in interface VersionManagerRepositoryExceptionpublic void restoreByLabel(String absPath, String versionLabel, boolean removeExisting) throws RepositoryException
restoreByLabel in interface VersionManagerRepositoryExceptionpublic Node setActivity(Node activity) throws RepositoryException
setActivity in interface VersionManagerRepositoryExceptionCopyright © 2004–2022 The Apache Software Foundation. All rights reserved.