Project: stp

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

All Superinterfaces:
Resource, StpResource
All Known Subinterfaces:
CcActivity, CcAttributeType, CcBaseline, CcBranch, CcBranchType, CcComponent, CcDirectory, CcDirectoryElement, CcDirectoryVersion, CcElement, CcElementType, CcFile, CcHyperlink, CcHyperlinkType, CcLabelType, CcProject, CcProjectFolder, CcRegistryRegion, CcReplica, CcStream, CcSymlink, CcTriggerType, CcTypeBase, CcVersion, CcView, CcViewTag, CcVob, CcVobResource, CcVobTag

public interface CcResource
extends StpResource

A proxy for a resource in a ClearCase VOB or view.


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
 
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
 CcProvider ccProvider()
          Fetches an instance of a ClearCase provider which can be used for or instantiating proxies for various ClearCase-specific resources.
 CcResource doResolve()
          Construct a new proxy for this resource.
 boolean isResolved()
          Has this proxy already been resolved?
 
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
 

Method Detail

ccProvider

CcProvider ccProvider()
Fetches an instance of a ClearCase provider which can be used for or instantiating proxies for various ClearCase-specific resources.

Returns:
An instance of a ClearCase provider

doResolve

CcResource doResolve()
                     throws WvcmException
Construct a new proxy for this resource. This new proxy will be of the most correct, most derived class for this resource, based on currently available information in the resource's location, on the local client machine, and/or on the ClearCase server. In addition, this new proxy will have its RESOURCE_IDENTIFIER property correctly set so that its equals() and hashMap() methods will work correctly.

Unresolved resource proxies should not be used in situations where equality matters, especially in maps, lists, sets, and other collection classes.

Returns:
a new proxy of the correct, most specific resource type
Throws:
WvcmException
See Also:
StpResource.equals(Object)

isResolved

boolean isResolved()
                   throws WvcmException
Has this proxy already been resolved?

Returns:
true if this proxy has been resolved; else false
Throws:
WvcmException
See Also:
doResolve()

Generated Tue 10-Jun-2014 09:00 AM

Copyright © IBM 2014. All rights reserved.