wt.vc
Interface VersionControlSvrService

All Known Implementing Classes:
StandardVersionControlSvrService

public interface VersionControlSvrService

This service is intended to be used on the server side only. It will provide services for management of a version tree. Primary use of the class will be for supporting replication of Iterated objects.

Supported API: false

Extendable: false


Method Summary
 Iterated appendIteration(long branch_id, Iterated iteration)
          Append iteration will find the last iteration in the specified branch and append the passed in iteration to the end of the branch.
 OneOffVersioned constructNewOneOffVersion(OneOffVersioned version)
          Constructs a new in-line version from the given version.
 WTValuedMap constructNewOneOffVersions(WTCollection versions)
          

Supported API: false
 void deleteIteration()
          NOT AVAILABLE AT THIS TIME

Supported API: false
 void insertIteration()
          NOT AVAILABLE AT THIS TIME

Supported API: false
 Iterated newIterationForNonWTObject(Iterated iteration)
           
 

Method Detail

appendIteration

public Iterated appendIteration(long branch_id,
                                Iterated iteration)
                         throws WTException
Append iteration will find the last iteration in the specified branch and append the passed in iteration to the end of the branch. It will replace new iteration's iterationInfo and versionInfo with that of the latest.

Supported API: false

Parameters:
branch_id -
iteration -
Returns:
Iterated
Throws:
WTException

deleteIteration

public void deleteIteration()
NOT AVAILABLE AT THIS TIME

Supported API: false


insertIteration

public void insertIteration()
NOT AVAILABLE AT THIS TIME

Supported API: false


constructNewOneOffVersion

public OneOffVersioned constructNewOneOffVersion(OneOffVersioned version)
                                          throws WTException,
                                                 VersionControlException,
                                                 WTPropertyVetoException
Constructs a new in-line version from the given version. This method does no access control checking since it assumes that it is being wrapped by a higher level method which is reponsible for the actual business operation. When persisted, a one-off version identifier will be assigned to the object.

Supported API: false

Parameters:
version -
Returns:
OneOffVersioned
Throws:
WTException
VersionControlException
WTPropertyVetoException

constructNewOneOffVersions

public WTValuedMap constructNewOneOffVersions(WTCollection versions)
                                       throws WTException,
                                              VersionControlException,
                                              WTPropertyVetoException


Supported API: false

Parameters:
versions -
Returns:
WTValuedMap
Throws:
WTException
VersionControlException
WTPropertyVetoException

newIterationForNonWTObject

public Iterated newIterationForNonWTObject(Iterated iteration)
                                    throws WTException,
                                           VersionControlException
Throws:
WTException
VersionControlException