public class ClientVersionManager extends ClientObject
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) |
public ClientVersionManager(Session session, RemoteVersionManager remote, LocalAdapterFactory factory)
public void cancelMerge(String absPath, Version version) throws RepositoryException
RepositoryException
public Version checkin(String absPath) throws RepositoryException
RepositoryException
public void checkout(String absPath) throws RepositoryException
RepositoryException
public Version checkpoint(String absPath) throws RepositoryException
RepositoryException
public Node createActivity(String title) throws RepositoryException
RepositoryException
public Node createConfiguration(String absPath) throws RepositoryException
RepositoryException
public void doneMerge(String absPath, Version version) throws RepositoryException
RepositoryException
public Node getActivity() throws RepositoryException
RepositoryException
public Version getBaseVersion(String absPath) throws RepositoryException
RepositoryException
public VersionHistory getVersionHistory(String absPath) throws RepositoryException
RepositoryException
public boolean isCheckedOut(String absPath) throws RepositoryException
RepositoryException
public NodeIterator merge(Node activityNode) throws RepositoryException
RepositoryException
public NodeIterator merge(String absPath, String srcWorkspace, boolean bestEffort) throws RepositoryException
RepositoryException
public NodeIterator merge(String absPath, String srcWorkspace, boolean bestEffort, boolean isShallow) throws RepositoryException
RepositoryException
public void removeActivity(Node activityNode) throws RepositoryException
RepositoryException
public void restore(Version[] versions, boolean removeExisting) throws RepositoryException
RepositoryException
public void restore(Version version, boolean removeExisting) throws RepositoryException
RepositoryException
public void restore(String absPath, String versionName, boolean removeExisting) throws RepositoryException
RepositoryException
public void restore(String absPath, Version version, boolean removeExisting) throws RepositoryException
RepositoryException
public void restoreByLabel(String absPath, String versionLabel, boolean removeExisting) throws RepositoryException
RepositoryException
public Node setActivity(Node activity) throws RepositoryException
RepositoryException
"Copyright © 2006 - 2015 Adobe Systems Incorporated. All Rights Reserved"