public interface CqResource extends StpResource
StpResource.UnsupportedProperty
Resource.CopyFlag
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 |
---|---|
CqProvider |
cqProvider() |
String |
getComment()
Most ClearQuest resources do not support the COMMENT property
|
String |
getContentCharacterSet()
Most ClearQuest resources do not have content and therefore do not
support the CONTENT_CHARACTER_SET property
|
String |
getContentIdentifier()
Most ClearQuest resources do not have content and therefore do not
support the CONTENT_IDENTIFIER property
|
Locale |
getContentLanguage()
Most ClearQuest resources do not have content and therefore do not
support the CONTENT_LANGUAGE property
|
long |
getContentLength()
Most ClearQuest resources do not have content and therefore do not support
the CONTENT_LENGTH property
|
String |
getContentType()
Most ClearQuest resources do not have content and therefore do not support
the CONTENT_TYPE property
|
Date |
getCreationDate()
Most ClearQuest resources do not have content and therefore do not
support the CREATION_DATE property
|
String |
getCreatorDisplayName()
Most ClearQuest resources do not have content and therefore do not
support the CREATOR_DISPLAY_NAME property
|
String |
getCreatorGroupName()
Most ClearQuest resources do not have content and therefore do not
support the CREATOR_GROUP_NAME property
|
String |
getCreatorLoginName()
Most ClearQuest resources do not have content and therefore do not
support the CREATOR_LOGIN_NAME property
|
Boolean |
getIsExecutable()
No ClearQuest resources is executable
|
Date |
getLastModified()
Most ClearQuest resources do not have content and therefore do not
support the LAST_MODIFIED property
|
List<String> |
getProviderList()
Get the
Resource.PROVIDER_LIST property. |
ResourceList<Folder> |
getWorkspaceFolderList()
ClearQuest resources do not use workspaces.
|
void |
setComment(String value)
Most ClearQuest resources do not support the COMMENT property
|
void |
setContentCharacterSet(String value)
Most ClearQuest resources do not have content and therefore do not
support the CONTENT_CHARACTER_SET property
|
void |
setContentLanguage(Locale value)
Most ClearQuest resources do not have content and therefore do not
support the CONTENT_LANGUAGE property
|
void |
setContentType(String value)
Most ClearQuest resources do not have content and therefore do not support
the CONTENT_TYPE property
|
void |
setCreatorDisplayName(String value)
Most ClearQuest resources do not have content and therefore do not
support the CREATOR_DISPLAY_NAME property
|
void |
setIsExecutable(Boolean executable)
No ClearQuest resource is executable
|
doReadProperties, equals, getAllProperties, getAuthenticationRealm, 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, getDisplayName, getParentList, getPathnameLocation, getProperty, initProperty, location, lookupProperty, modifyLocation, propertyNameList, provider, removeProperty, setDisplayName, setProperty, setProperty, updatedPropertyNameList
CqProvider cqProvider()
String getComment() throws WvcmException
getComment
in interface Resource
Resource.COMMENT
property.WvcmException
- if this property was not set and
this Resource was not created with
Resource.COMMENT
as a wanted property.Resource.getComment()
String getContentCharacterSet() throws WvcmException
getContentCharacterSet
in interface Resource
Resource.CONTENT_CHARACTER_SET
property.WvcmException
- if this property was not set and
this Resource was not created with
Resource.CONTENT_CHARACTER_SET
as a wanted property.Resource.getContentCharacterSet()()
String getContentIdentifier() throws WvcmException
getContentIdentifier
in interface Resource
Resource.CONTENT_IDENTIFIER
property.WvcmException
- if this Resource was not created with
Resource.CONTENT_IDENTIFIER
as a wanted property.Resource.getContentIdentifier()()
Locale getContentLanguage() throws WvcmException
getContentLanguage
in interface Resource
Resource.CONTENT_LANGUAGE
property.WvcmException
- if this property was not set and
this Resource was not created with
Resource.CONTENT_LANGUAGE
as a wanted property.Resource.getContentLanguage()
long getContentLength() throws WvcmException
getContentLength
in interface Resource
Resource.CONTENT_LENGTH
property.WvcmException
- if this Resource was not created with
Resource.CONTENT_LENGTH
as a wanted property.Resource.getContentLength()()
String getContentType() throws WvcmException
getContentType
in interface Resource
Resource.CONTENT_TYPE
property.WvcmException
- if this property was not set and
this Resource was not created with
Resource.CONTENT_TYPE
as a wanted property.Resource.getContentType()()
Date getCreationDate() throws WvcmException
getCreationDate
in interface Resource
Resource.CREATION_DATE
property.WvcmException
- if this Resource was not created with
Resource.CREATION_DATE
as a wanted propertyResource.getCreationDate()()
String getCreatorDisplayName() throws WvcmException
getCreatorDisplayName
in interface Resource
Resource.CREATOR_DISPLAY_NAME
property.WvcmException
- if this property was not set and
this Resource was not created with
Resource.CREATOR_DISPLAY_NAME
as a wanted property.Resource.getCreatorDisplayName()
String getCreatorGroupName() throws WvcmException
getCreatorGroupName
in interface StpResource
WvcmException
- Thrown if the property was never requested, or is
otherwise unavailable (e.g. requested in a client-context
only).StpResource.getCreatorGroupName()
String getCreatorLoginName() throws WvcmException
getCreatorLoginName
in interface StpResource
WvcmException
- Thrown if the property was never requested, or
otherwise unavailable (e.g. requested in a client-context
only).StpResource.getCreatorLoginName()
Boolean getIsExecutable() throws WvcmException
getIsExecutable
in interface Resource
Resource.IS_EXECUTABLE
property.WvcmException
- if this property was not set and
this Resource was not created with
Resource.IS_EXECUTABLE
as a wanted property.Resource.getIsExecutable()
Date getLastModified() throws WvcmException
getLastModified
in interface Resource
Resource.LAST_MODIFIED
property.WvcmException
- if this Resource was not created with
Resource.LAST_MODIFIED
as a wanted property.Resource.getLastModified()
List<String> getProviderList() throws WvcmException
Resource
Resource.PROVIDER_LIST
property.getProviderList
in interface Resource
Resource.PROVIDER_LIST
property.WvcmException
- if this Resource was not created with
Resource.PROVIDER_LIST
as a wanted property.Resource.getWorkspaceFolderList()
ResourceList<Folder> getWorkspaceFolderList() throws WvcmException
getWorkspaceFolderList
in interface Resource
Resource.WORKSPACE_FOLDER_LIST
property.WvcmException
- if this Resource was not created with
Resource.WORKSPACE_FOLDER_LIST
as a wanted property.Resource.getWorkspaceFolderList()
void setComment(String value)
setComment
in interface Resource
value
- the new comment to apply to this Resource.Resource.setComment(java.lang.String)
void setContentCharacterSet(String value)
setContentCharacterSet
in interface Resource
value
- the content character set for the resource.Resource.setContentCharacterSet(java.lang.String)
void setContentLanguage(Locale value)
setContentLanguage
in interface Resource
value
- the content language for the resource.Resource.setContentLanguage(java.util.Locale)
void setContentType(String value)
setContentType
in interface Resource
value
- the content type for the resource.Resource.setContentType(java.lang.String)
void setCreatorDisplayName(String value)
setCreatorDisplayName
in interface Resource
value
- the new creator display name to apply to the resource.Resource.setCreatorDisplayName(java.lang.String)
void setIsExecutable(Boolean executable)
setIsExecutable
in interface Resource
executable
- whether the resource is executable.Resource.getIsExecutable()
Copyright © IBM 2017. All rights reserved.