JavaScript is disabled on your browser.
All Superinterfaces:
ISnapshot
This interface extends
ISnapshot
as the base object for the
IBranch
.
Most of the work on the resource is done in the snapshot for the Version Control system.
These methods provide the generic resource management for an action and or state
on a Sanbox in the version control system.
Method Summary
All Methods Instance Methods Abstract Methods
void
Remove all version for a resource in a sandbox
Getting a list of resources deleted on a sandbox.
Returns version that are marked as effective on sandbox.
Returns map between submitted resources ID and new resources IDs
that resource get after calling saveToBranch.
Creates or modifies the version from a previous version.
void
Sync a sandbox from a snapshot on a branch with a list of resources to
include in the Sync.
void
Removes the version as the effective and reverts the versoin on the sandbox
to the default version.
Save the snapshot to the branch.
void
Set a version to the efffective version in a sandbox.
void
Sync a sandbox from a snapshot on a branch with a list of resources to
include in the Sync.
void
Removes all of the versioning information (ie.
void
Updates a sandbox based off of a snapshot.
Methods inherited from interface com.webmethods.portal.service.version.ISnapshot
getBranch , getId , getIndex , getName , getNext , getPrev , getRootVersions , getSourceSyncs , getTime , getVersionFor , getVersions , getVersions , hasResource
Method Details
modifyVersion
Creates or modifies the version from a previous version.
Throws:
VersionException
deleteResource
Remove all version for a resource in a sandbox
Throws:
VersionException
getEffectiveVersions
Returns version that are marked as effective on sandbox.
When saving to a branch these version that will take precedence over
any in the target branch.
Parameters:
begin
- the start index in to a list of versions
end
- the end index in to a list of versions
Throws:
VersionException
getDeletedResources
Getting a list of resources deleted on a sandbox. Unless these have been
undeleted.
Parameters:
begin
- the start index in to a list of resources
end
- the end index in to a list of resources
Throws:
VersionException
syncFrom
Sync a sandbox from a snapshot on a branch with a list of resources to
include in the Sync.
Parameters:
snapshot
- the snapshot to sync from
resourceList
- a list of resources to include in the sandbox
effectiveVersionList
- a list of versions to take precedent in the sandbox
message
- a description or message to save with the sync
Throws:
VersionException
moveVersion
Sync a sandbox from a snapshot on a branch with a list of resources to
include in the Sync.
Parameters:
snapshot
- the snapshot to sync from
resourceList
- a list of resources to include in the sandbox
Throws:
VersionException
updateSandbox
Updates a sandbox based off of a snapshot. Effective versions will will
take the newest version when a conflict occurs.
Parameters:
snapshot
- the snapshot to sync from
effectiveVersionList
- a list of versions to take precedent in the sandbox
Throws:
VersionException
unSyncFrom
Removes all of the versioning information (ie. resources, versions)
accesable from the sink.
Parameters:
snapshot
- the snapshot to un-sync from
Throws:
VersionException
setAsEffectiveVersion
Set a version to the efffective version in a sandbox.
Parameters:
version
- set this version object to the effective version on a sandbox
Throws:
VersionException
removeEffectiveVersion
Removes the version as the effective and reverts the versoin on the sandbox
to the default version.
Parameters:
version
- removes this version object as the effective version on a sandbox
Throws:
VersionException
getResultOfChange
Returns map between submitted resources ID and new resources IDs
that resource get after calling saveToBranch. If map doesn't container particular
resource id - means that id was not changed
Throws:
VersionException