Project: stp

com.ibm.rational.wvcm.stp.cc
Interface CcVobResource

All Superinterfaces:
CcResource, Resource, StpResource
All Known Subinterfaces:
CcActivity, CcAttributeType, CcBaseline, CcBranchType, CcComponent, CcDirectoryElement, CcDirectoryVersion, CcElement, CcElementType, CcHyperlink, CcHyperlinkType, CcLabelType, CcProject, CcProjectFolder, CcReplica, CcStream, CcTypeBase, CcVersion, CcVob

public interface CcVobResource
extends CcResource

Base interface containing properties and methods common to all VOB-resident ClearCase resources.


Nested Class Summary
 
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<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
 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.
 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, 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, stpLocation, stpProvider
 
Methods inherited from interface javax.wvcm.Resource
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
 

Field Detail

ATTRIBUTE_LIST

static final PropertyNameList.PropertyName<List<CcAttribute>> ATTRIBUTE_LIST
List of attributes attached to this resource.


CC_MASTER_REPLICA

static final PropertyNameList.PropertyName<CcReplica> CC_MASTER_REPLICA
Replica which has mastery of this resource.


CURRENT_REPLICA

static final PropertyNameList.PropertyName<CcReplica> CURRENT_REPLICA
Replica in which this resource resides.


HYPERLINK_LIST

static final PropertyNameList.PropertyName<ResourceList<CcHyperlink>> HYPERLINK_LIST
List of hyperlink resources attached to this resource.


LOCK_INFO

static final PropertyNameList.PropertyName<CcLockInfo> LOCK_INFO
CcLockInfo object contains the supported lock properties.


PERMISSIONS

static final PropertyNameList.PropertyName<CcPermissions> PERMISSIONS

The permissions applied to this resource.


VOB

static final PropertyNameList.PropertyName<CcVob> VOB
The VOB in which this VOB resource resides.

Method Detail

getAttributeList

List<CcAttribute> getAttributeList()
                                   throws WvcmException
Get the value of this proxy's ATTRIBUTE_LIST property.

Returns:
List of CcAttribute proxies applied to this resource. Empty list if none.
Throws:
WvcmException - if this proxy doesn't define a value for this property.

getCurrentReplica

CcReplica getCurrentReplica()
                            throws WvcmException
Returns the value of this proxy's CURRENT_REPLICA property.

Returns:
Replica in which the resource resides as a CcReplica instance.
Throws:
WvcmException - if this proxy doesn't define a value for this property.

getHyperlinkList

ResourceList<CcHyperlink> getHyperlinkList()
                                           throws WvcmException
Get the value of this proxy's HYPERLINK_LIST property.

Returns:
List of CcHyperlink proxies applied to this resource. Empty list if none.
Throws:
WvcmException - if this proxy doesn't define a value for this property.

getLockInfo

CcLockInfo getLockInfo()
                       throws WvcmException
Returns the value of this proxy's LOCK_INFO property.

Returns:
the CcLockInfo object for the resource. null if the object is not locked.
Throws:
WvcmException - if this proxy doesn't define a value for this property.

getMasterReplica

CcReplica getMasterReplica()
                           throws WvcmException
Returns the value of this proxy's CC_MASTER_REPLICA property.

Returns:
Replica in which the resource is mastered as a CcReplica instance. null if resource cannot be mastered.
Throws:
WvcmException - if this proxy doesn't define a value for this property.

getPermissions

CcPermissions getPermissions()
                             throws WvcmException
Get the value of this resource's PERMISSIONS property.

Returns:
A permissions object from which specific permissions information can be extracted.
Throws:
WvcmException

getVob

CcVob getVob()
             throws WvcmException
Get the value of this proxy's VOB property.

Returns:
This resource's VOB. Will never be null.
Throws:
WvcmException

setLockInfo

void setLockInfo(CcLockInfo lockInfo)
Sets (or replaces) the lock on this proxy according to the LOCK_INFO property.

Parameters:
lockInfo - lock information for the new lock, or null to unlock the proxy.

setPermissions

void setPermissions(CcPermissions permissions)
                    throws WvcmException
Set the value of this proxy's PERMISSIONS property.

Parameters:
permissions - A permissions object. Use the one returned by getPermissions and modify it.
Throws:
WvcmException - if this proxy doesn't define a value for this property.

Generated Sun 26-Oct-2008 10:17 AM

Copyright © IBM 2008. All rights reserved.