public interface CcComponent extends Component, CcVobResource
A UCM component defines the set of files that will be captured in a baseline of that component. A baseline is a version of a component, and records a version of each element selected by the stream's configuration.
A rootless component has no root directory element. Rootless components are typically used to aggregate other components. Baselines of rootless components contain other baselines, rather than file versions.
NOTE: Not all WVCM properties and operations are supported in this release of CM API. For a list of properties currently supported by a particular resource type, use doGetPropertyNameList() on an instance of that type:
PropertyRequest supportedProps = myResource.doGetPropertyNameList();
Folder.BindFlag, Folder.RebindFlag
CcVobResource.ApplyAttributeFlag
StpResource.UnsupportedProperty
Resource.CopyFlag
Modifier and Type | Field and Description |
---|---|
static PropertyNameList.PropertyName<ResourceList<CcBaseline>> |
BASELINE_LIST_CLOSURE
This component's full closure of baselines.
|
static PropertyNameList.PropertyName<Boolean> |
HAS_ROOT_DIRECTORY_ELEMENT
Does this component have a root directory element?
|
static PropertyNameList.PropertyName<CcBaseline> |
INITIAL_BASELINE
This component's initial baseline.
|
static PropertyNameList.PropertyName<CcElement> |
ROOT_DIRECTORY_ELEMENT
This component's root directory element - the directory element in the
VOB that defines the scope of files that are captured in this component's
baselines.
|
static PropertyNameList.PropertyName<CcView> |
VIEW
A write-only property used to specify the view context
to be used for the component creation, whose root directory element
is a directory one level beneath the VOB.
|
ROOT_VERSION
CHILD_LIST, CHILD_MAP
ATTRIBUTE_LIST, CC_MASTER_REPLICA, CURRENT_REPLICA, EFFECTIVE_ACL, HAS_LOCAL_MASTERSHIP, HYPERLINK_LIST, LOCK_INFO, MY_EFFECTIVE_ACCESS, MY_EFFECTIVE_ACL, PERMISSIONS, ROLEMAP, VOB
ALL_PROPERTIES, AUTHENTICATION_REALM, CREATOR_GROUP_NAME, CREATOR_LOGIN_NAME, EFFICIENT_LOCATION, INVALID_PROPERTIES, REPOSITORY, STABLE_LOCATION, USER_FRIENDLY_LOCATION
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 |
---|---|
CcComponent |
doCreateCcComponent(Feedback feedback)
Create a new UCM component at the location identified by this proxy.
|
ResourceList<CcBaseline> |
getBaselineListClosure()
Get the value of the this proxy's
BASELINE_LIST_CLOSURE property |
boolean |
getHasRootDirectoryElement()
Get the
HAS_ROOT_DIRECTORY_ELEMENT property of this component. |
CcBaseline |
getInitialBaseline()
Get the the
INITIAL_BASELINE property of this component. |
CcElement |
getRootDirectoryElement()
Get the
ROOT_DIRECTORY_ELEMENT property of this component. |
void |
setRootDirectoryElement(CcElement root)
Set the value of this component's
ROOT_DIRECTORY_ELEMENT property. |
void |
setView(CcView view)
Set the value of this proxy's
VIEW property. |
doLatestActivityVersionReport, getRootVersion, workspaceProvider
doBindChild, doReadMemberList, doRebindAll, doRebindChild, doUnbindChild, getChildList, getChildMap
doApplyAttribute, doApplyRolemap, doRemoveAttribute, doRequestForMastership, getAttributeList, getCurrentReplica, getEffectiveAcl, getHasLocalMastership, getHyperlinkList, getLockInfo, getMasterReplica, getMyEffectiveAccess, getMyEffectiveAcl, getPermissions, getRolemap, getVob, setLockInfo, setPermissions
ccProvider, doReadContent, doResolve, doWriteProperties, hasSupportedProperties, isResolved, readProperties, readProperties, resolve, writeProperties, writeProperties
doReadProperties, equals, getAllProperties, getAuthenticationRealm, getCreatorGroupName, getCreatorLoginName, getCustomProperties, getEfficientLocation, getInvalidProperties, getMetaProperties, getPropertyException, getRepository, getResourceError, getResourceIdentifier, getStableLocation, getUserFriendlyLocation, hashCode, hasProperties, initMetaProperty, proxyType, setPropertyClean, stpLocation, stpProvider
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, getWorkspaceFolderList, initProperty, location, lookupProperty, modifyLocation, propertyNameList, provider, removeProperty, setComment, setContentCharacterSet, setContentLanguage, setContentType, setCreatorDisplayName, setDisplayName, setIsExecutable, setProperty, setProperty, updatedPropertyNameList
static final PropertyNameList.PropertyName<ResourceList<CcBaseline>> BASELINE_LIST_CLOSURE
static final PropertyNameList.PropertyName<Boolean> HAS_ROOT_DIRECTORY_ELEMENT
static final PropertyNameList.PropertyName<CcBaseline> INITIAL_BASELINE
static final PropertyNameList.PropertyName<CcElement> ROOT_DIRECTORY_ELEMENT
static final PropertyNameList.PropertyName<CcView> VIEW
CcComponent doCreateCcComponent(Feedback feedback) throws WvcmException
Create a new UCM component at the location identified by this proxy. The location should be an object name selector specifying the component's name and the repository (project VOB) in which to create it.
Set the ROOT_DIRECTORY_ELEMENT
property to specify the new component's
root. If component's root is a directory beneath the VOB, then VIEW
property must also be set.
If no root directory element is set, a rootless component is created.
This method fails if the root directory element is not a legal choice for a component root.
WvcmException
ResourceList<CcBaseline> getBaselineListClosure() throws WvcmException
BASELINE_LIST_CLOSURE
propertyWvcmException
- if this proxy doesn't define a value for this property.boolean getHasRootDirectoryElement() throws WvcmException
HAS_ROOT_DIRECTORY_ELEMENT
property of this component.WvcmException
- if this proxy doesn't define a value for this property.CcBaseline getInitialBaseline() throws WvcmException
INITIAL_BASELINE
property of this component.WvcmException
- if this proxy doesn't define a value for this property.CcElement getRootDirectoryElement() throws WvcmException
ROOT_DIRECTORY_ELEMENT
property of this component.WvcmException
- if this proxy doesn't define a value for this property.void setRootDirectoryElement(CcElement root)
ROOT_DIRECTORY_ELEMENT
property.
This property can only be set at component creation time.root
- A proxy for this component's root directory elementvoid setView(CcView view) throws WvcmException
VIEW
property. This property
can only be set at component creation time to be used by
doCreateCcComponent(Feedback)
method.view
- view context to be used for component creation.WvcmException
Copyright © IBM 2016. All rights reserved.