|
Project: stp | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface CcVobResource
Base interface containing properties and methods common to all VOB-resident ClearCase resources.
| Nested Class Summary | |
|---|---|
static class |
CcVobResource.ApplyAttributeFlag
Flags for the doApplyAttribute method |
| Nested classes/interfaces inherited from interface com.ibm.rational.wvcm.stp.StpResource |
|---|
StpResource.UnsupportedProperty |
| Nested classes/interfaces inherited from interface javax.wvcm.Resource |
|---|
Resource.CopyFlag |
| Field Summary | |
|---|---|
static PropertyNameList.PropertyName<List<CcAttribute>> |
ATTRIBUTE_LIST
List of attributes attached to this resource. |
static PropertyNameList.PropertyName<CcReplica> |
CC_MASTER_REPLICA
Replica which has mastery of this resource. |
static PropertyNameList.PropertyName<CcReplica> |
CURRENT_REPLICA
Replica in which this resource resides. |
static PropertyNameList.PropertyName<Boolean> |
HAS_LOCAL_MASTERSHIP
Does this object have local mastership? |
static PropertyNameList.PropertyName<ResourceList<CcHyperlink>> |
HYPERLINK_LIST
List of hyperlink resources attached to this resource. |
static PropertyNameList.PropertyName<CcLockInfo> |
LOCK_INFO
CcLockInfo object contains the supported lock properties. |
static PropertyNameList.PropertyName<CcPermissions> |
PERMISSIONS
The permissions applied to this resource. |
static PropertyNameList.PropertyName<CcVob> |
VOB
The VOB in which this VOB resource resides. |
| Fields inherited from interface com.ibm.rational.wvcm.stp.StpResource |
|---|
ALL_PROPERTIES, AUTHENTICATION_REALM, CREATOR_GROUP_NAME, CREATOR_LOGIN_NAME, EFFICIENT_LOCATION, INVALID_PROPERTIES, REPOSITORY, STABLE_LOCATION, USER_FRIENDLY_LOCATION |
| Fields inherited from interface javax.wvcm.Resource |
|---|
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 |
| Method Summary | |
|---|---|
CcVobResource |
doApplyAttribute(CcVobResource.ApplyAttributeFlag[] flags,
String comment,
String attributeName,
String attributeValue,
Feedback feedback)
Apply the specified attribute to this VOB resource. |
CcVobResource |
doRemoveAttribute(String comment,
String attributeName,
Feedback feedback)
Remove the specified attribute from this VOB resource. |
CcVobResource |
doRequestForMastership(com.ibm.rational.wvcm.stp.ccex.CcExFileList.RequestForMastershipFlag[] flags,
String comment,
Feedback feedback)
Request for local mastership of this VOB resource. |
List<CcAttribute> |
getAttributeList()
Get the value of this proxy's ATTRIBUTE_LIST property. |
CcReplica |
getCurrentReplica()
Returns the value of this proxy's CURRENT_REPLICA property. |
boolean |
getHasLocalMastership()
Get the value of this proxy's HAS_LOCAL_MASTERSHIP property. |
ResourceList<CcHyperlink> |
getHyperlinkList()
Get the value of this proxy's HYPERLINK_LIST property. |
CcLockInfo |
getLockInfo()
Returns the value of this proxy's LOCK_INFO property. |
CcReplica |
getMasterReplica()
Returns the value of this proxy's CC_MASTER_REPLICA property. |
CcPermissions |
getPermissions()
Get the value of this resource's PERMISSIONS property. |
CcVob |
getVob()
Get the value of this proxy's VOB property. |
void |
setLockInfo(CcLockInfo lockInfo)
Sets (or replaces) the lock on this proxy according to the LOCK_INFO property. |
void |
setPermissions(CcPermissions permissions)
Set the value of this proxy's PERMISSIONS property. |
| Methods inherited from interface CcResource |
|---|
ccProvider, doResolve, hasSupportedProperties, isResolved |
| Methods inherited from interface com.ibm.rational.wvcm.stp.StpResource |
|---|
doReadProperties, equals, getAllProperties, getAuthenticationRealm, getCreatorGroupName, getCreatorLoginName, getCustomProperties, getEfficientLocation, getInvalidProperties, getMetaProperties, getPropertyException, getRepository, getResourceError, getResourceIdentifier, getStableLocation, getUserFriendlyLocation, hashCode, hasProperties, initMetaProperty, proxyType, setPropertyClean, stpLocation, stpProvider |
| Field Detail |
|---|
static final PropertyNameList.PropertyName<List<CcAttribute>> ATTRIBUTE_LIST
static final PropertyNameList.PropertyName<CcReplica> CC_MASTER_REPLICA
static final PropertyNameList.PropertyName<CcReplica> CURRENT_REPLICA
static final PropertyNameList.PropertyName<Boolean> HAS_LOCAL_MASTERSHIP
static final PropertyNameList.PropertyName<ResourceList<CcHyperlink>> HYPERLINK_LIST
static final PropertyNameList.PropertyName<CcLockInfo> LOCK_INFO
static final PropertyNameList.PropertyName<CcPermissions> PERMISSIONS
The permissions applied to this resource.
static final PropertyNameList.PropertyName<CcVob> VOB
| Method Detail |
|---|
CcVobResource doApplyAttribute(CcVobResource.ApplyAttributeFlag[] flags,
String comment,
String attributeName,
String attributeValue,
Feedback feedback)
throws WvcmException
flags - array of flags which specify the behavior of the operationcomment - Comment (if any) to be used for operation. Empty string if none.attributeName - Name of an existing attribute type to be used to create
an instance will to be applied to this resource.attributeValue - Value of attribute instance. If the vtype of the attribute type is
a string, it must be enclosed in additional quotes within the string. For example, if
specified as a constant it would appear as "\"string value\"". If the
vtype is not a string, this should be a string representation of the given value
(e.g. "3.1415", "0xa413", etc.).feedback -
WvcmException
CcVobResource doRemoveAttribute(String comment,
String attributeName,
Feedback feedback)
throws WvcmException
comment - Comment (if any) to be used for operation. Empty string if none.attributeName - Name of the attribute to be removed from this resourcefeedback -
WvcmException
CcVobResource doRequestForMastership(com.ibm.rational.wvcm.stp.ccex.CcExFileList.RequestForMastershipFlag[] flags,
String comment,
Feedback feedback)
throws WvcmException
Request for local mastership of this VOB resource.
Note: this operation is only supported for CcBranch and CcBranchType resources.
flags - array of flags which specify the behavior of the operation.comment - Comment (if any) to be used for operation. Empty string if none.feedback - list of properties to fetch on this resource.
WvcmException
List<CcAttribute> getAttributeList()
throws WvcmException
ATTRIBUTE_LIST property.
WvcmException - if this proxy doesn't define a value for this property.
CcReplica getCurrentReplica()
throws WvcmException
CURRENT_REPLICA property.
WvcmException - if this proxy doesn't define a value for this property.
boolean getHasLocalMastership()
throws WvcmException
HAS_LOCAL_MASTERSHIP property.
WvcmException - if this proxy doesn't define a value for this property.
ResourceList<CcHyperlink> getHyperlinkList()
throws WvcmException
HYPERLINK_LIST property.
WvcmException - if this proxy doesn't define a value for this property.
CcLockInfo getLockInfo()
throws WvcmException
LOCK_INFO property.
null if the object is not locked.
WvcmException - if this proxy doesn't define a value for this property.
CcReplica getMasterReplica()
throws WvcmException
CC_MASTER_REPLICA property.
WvcmException - if this proxy doesn't define a value for this property.
CcPermissions getPermissions()
throws WvcmException
PERMISSIONS property.
WvcmException
CcVob getVob()
throws WvcmException
VOB property.
WvcmExceptionvoid setLockInfo(CcLockInfo lockInfo)
LOCK_INFO property.
lockInfo - lock information for the new lock, or null
to unlock the proxy.
void setPermissions(CcPermissions permissions)
throws WvcmException
PERMISSIONS property.
permissions - A permissions object. Use the one returned
by getPermissions and modify it.
WvcmException - if this proxy doesn't define a value for this property.
|
Generated Wed 28-Nov-2012 10:22 AM | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||