|
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<List<CcAccessControlEntry>> |
EFFECTIVE_ACL
List of access control entries which make up the effective ACLs for this resource. |
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<String> |
MY_EFFECTIVE_ACCESS
A permission string describing the operations the current user may performe on this resource. |
static PropertyNameList.PropertyName<List<CcAccessControlEntry>> |
MY_EFFECTIVE_ACL
List of access control entries, affecting the current user, which make up the effective ACLs for this resource. |
static PropertyNameList.PropertyName<CcPermissions> |
PERMISSIONS
The permissions applied to this resource. |
static PropertyNameList.PropertyName<CcRolemap> |
ROLEMAP
Rolemap used to define the ACLs for 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. |
void |
doApplyRolemap(String comment,
String rolemap)
Apply the specified rolemap 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. |
List<CcAccessControlEntry> |
getEffectiveAcl()
Get the value of this resource's EFFECTIVE_ACL 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. |
String |
getMyEffectiveAccess()
Get the value of this resource's MY_EFFECTIVE_ACCESS property. |
List<CcAccessControlEntry> |
getMyEffectiveAcl()
Get the value of this resource's MY_EFFECTIVE_ACL property. |
CcPermissions |
getPermissions()
Get the value of this resource's PERMISSIONS property. |
CcRolemap |
getRolemap()
Get the value of this resource's ROLEMAP 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<List<CcAccessControlEntry>> EFFECTIVE_ACL
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<String> MY_EFFECTIVE_ACCESS
static final PropertyNameList.PropertyName<List<CcAccessControlEntry>> MY_EFFECTIVE_ACL
static final PropertyNameList.PropertyName<CcPermissions> PERMISSIONS
The permissions applied to this resource.
static final PropertyNameList.PropertyName<CcRolemap> ROLEMAP
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
void doApplyRolemap(String comment, String rolemap) throws WvcmException
comment
- Comment (if any) to be used for operation. Empty string if none.rolemap
- The name of the rolemap to be applied to this resource.
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.List<CcAccessControlEntry> getEffectiveAcl() throws WvcmException
EFFECTIVE_ACL
property.
null
if the resource does not support ACLs.
WvcmException
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.String getMyEffectiveAccess() throws WvcmException
MY_EFFECTIVE_ACCESS
property.
null
if the resource does not support ACLs.
WvcmException
List<CcAccessControlEntry> getMyEffectiveAcl() throws WvcmException
MY_EFFECTIVE_ACL
property.
null
if the resource does not support ACLs.
WvcmException
CcPermissions getPermissions() throws WvcmException
PERMISSIONS
property.
WvcmException
CcRolemap getRolemap() throws WvcmException
ROLEMAP
property.
null
if the resource has no rolemap.
WvcmException
CcVob getVob() throws WvcmException
VOB
property.
WvcmException
void 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 Thu 17-Apr-2014 03:22 PM | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |