public interface VersionHistory extends Folder
Folder.BindFlag, Folder.RebindFlag
Resource.CopyFlag
Modifier and Type | Field and Description |
---|---|
static PropertyNameList.PropertyName<Version> |
ROOT_VERSION
The root version of this VersionHistory.
|
CHILD_LIST, CHILD_MAP
ALL_CUSTOM_PROPERTIES, COMMENT, CONTENT_CHARACTER_SET, CONTENT_IDENTIFIER, CONTENT_LANGUAGE, CONTENT_LENGTH, CONTENT_TYPE, CREATION_DATE, CREATOR_DISPLAY_NAME, DISPLAY_NAME, IS_EXECUTABLE, LAST_MODIFIED, PARENT_LIST, PATHNAME_LOCATION, PROVIDER_LIST, RESOURCE_IDENTIFIER, WORKSPACE_FOLDER_LIST
Modifier and Type | Method and Description |
---|---|
Version |
doLatestActivityVersionReport(Activity activity,
Feedback feedback)
Get the latest Version for a given activity.
|
Version |
getRootVersion()
Get the
ROOT_VERSION property. |
WorkspaceProvider |
workspaceProvider()
Get the workspace provider of this resource.
|
doBindChild, doReadMemberList, doRebindAll, doRebindChild, doUnbindChild, getChildList, getChildMap
doCopy, doFind, doFindAll, doGetPropertyNameList, doGetPropertyNameList, doReadContent, doReadProperties, doUnbindAll, doWriteContent, doWriteProperties, forgetProperty, getComment, getContentCharacterSet, getContentIdentifier, getContentLanguage, getContentLength, getContentType, getCreationDate, getCreatorDisplayName, getDisplayName, getIsExecutable, getLastModified, getParentList, getPathnameLocation, getProperty, getProviderList, getResourceIdentifier, getWorkspaceFolderList, initProperty, location, lookupProperty, modifyLocation, propertyNameList, provider, removeProperty, setComment, setContentCharacterSet, setContentLanguage, setContentType, setCreatorDisplayName, setDisplayName, setIsExecutable, setProperty, setProperty, updatedPropertyNameList
static final PropertyNameList.PropertyName<Version> ROOT_VERSION
Version doLatestActivityVersionReport(Activity activity, Feedback feedback) throws WvcmException
activity
- the activity whose latest product is to be returned.feedback
- the properties available in the returned proxies.null
.WvcmException
- ReasonCode:
WvcmException.ReasonCode.METHOD_NOT_SUPPORTED
:
This resource does not support this report.
WvcmException.ReasonCode.BAD_ARGUMENT_TYPE
:
The activity argument MUST identify an activity.Version getRootVersion() throws WvcmException
ROOT_VERSION
property.ROOT_VERSION
property.WvcmException
- if this VersionHistory was not created with
ROOT_VERSION
as a wanted property.WorkspaceProvider workspaceProvider()
WorkspaceProvider
for this Resource.Copyright © IBM 2016. All rights reserved.