| Constructor and Description |
|---|
WDResourceInfo(IResource resource,
IResourceList versionResources,
IPropertyNameList propNames) |
| Modifier and Type | Method and Description |
|---|---|
IBindableResource |
asBindableResource() |
ICollectionVersionResource |
asCollectionVersionResource() |
IPrincipal |
asPrincipal() |
IVersionControlledResource |
asVersionControlledResource() |
IVersionHistoryResource |
asVersionHistoryResource() |
IVersionResource |
asVersionResource() |
WDAcl |
getAcl() |
IContent |
getContent(boolean unfiltered)
Returns the content access object for this resource.
|
Date |
getCreationDate()
Get value of the system property CreationDate
|
Set |
getCurrentUserPrivileges() |
String |
getDescription()
Get value of the system property Description
|
String |
getDisplayName()
Get value of the system property Displayname
|
Date |
getLastModified()
Get value of the system property LastModified
|
LinkType |
getLinkType() |
String |
getName()
Get name of the resource.
|
IUri |
getOrderingType() |
RID |
getOwner() |
String |
getOwnerDisplayname() |
IPropertyMap |
getProperties()
Returns a map with
IProperty references for the resource. |
IProperty |
getProperty(IPropertyName pname) |
IPropertyNameList |
getPropNames() |
IResource |
getResource() |
String |
getRevisionID()
Returns a identifier for a revision.
|
RID |
getRID()
Get the RID of this resource
|
ISupportedOptionSet |
getSupportedOptions()
Returns a collection of supported operations for the repository the resource
belongs to.
|
IPrivilege |
getSupportedPrivileges() |
String |
getTargetURL()
Get the target URL/URI of a link.
|
IResourceList |
getVersionResources()
Get the version history for the resource.
|
boolean |
hasAclSupport() |
void |
initProperties()
Initializes the set of properties to be used with this
WDResourceInfo object. |
boolean |
isCheckedOut()
Checks whether a resource is currently checked out.
|
boolean |
isCollection()
Returns true if the resource is a collection (or an internal link to a collection)
|
boolean |
isHidden()
Get value of the system property Hidden
|
boolean |
isLinkToCollection() |
boolean |
isPrincipal() |
boolean |
isReadOnly()
Get value of the system property Readonly
|
boolean |
isRealCollection()
Returns true if the resource is a "real" collection (and not possibly a link to a collection)
|
boolean |
isRevision()
Returns true if this resource instance represents a revision.
|
boolean |
isVersioned()
Returns true if the resource supports versioning.
|
boolean |
isVhr() |
public WDResourceInfo(IResource resource, IResourceList versionResources, IPropertyNameList propNames)
public IPropertyNameList getPropNames()
public ISupportedOptionSet getSupportedOptions()
public WDAcl getAcl() throws ResourceException
ResourceExceptionpublic String getName() throws ResourceException
ResourceException - no descriptionpublic Date getCreationDate() throws ResourceException
ResourceException - no descriptionpublic Date getLastModified() throws ResourceException
ResourceException - no descriptionpublic String getDescription() throws ResourceException
ResourceException - no descriptionpublic String getDisplayName() throws ResourceException
ResourceException - no descriptionpublic IUri getOrderingType() throws ResourceException
ResourceExceptionpublic RID getOwner() throws ResourceException
ResourceException - no descriptionpublic String getOwnerDisplayname() throws ResourceException
ResourceException - no descriptionpublic RID getRID() throws ResourceException
ResourceException - no descriptionpublic boolean isReadOnly()
throws ResourceException
ResourceException - no descriptionpublic boolean isHidden()
throws ResourceException
ResourceException - no descriptionpublic boolean isCollection()
public boolean isLinkToCollection()
throws ResourceException
true if the resource is an internal link and it's target is a collectionResourceException - no descriptionpublic boolean isRealCollection()
public IContent getContent(boolean unfiltered) throws ResourceException
ResourceException - no descriptionpublic IPropertyMap getProperties() throws ResourceException
IProperty references for the resource.AccessDeniedException - If the resource is locked, readonly or authorization failedResourceExceptionpublic void initProperties()
throws ResourceException
WDResourceInfo object.AccessDeniedException - If the resource is locked, readonly or authorization failedResourceExceptionpublic IProperty getProperty(IPropertyName pname) throws ResourceException
ResourceExceptionpublic String getTargetURL() throws ResourceException
ResourceException - no descriptionpublic LinkType getLinkType() throws ResourceException
LinkType.NONE if the resource is not a link)ResourceException - no descriptionpublic boolean isVersioned()
throws ResourceException
IVersioningManager interface.ResourceExceptionpublic boolean isRevision()
public IResource getResource()
public String getRevisionID()
public boolean isCheckedOut()
throws ResourceException
ResourceException - no descriptionpublic IResourceList getVersionResources() throws ResourceException, NotSupportedException
ResourceException - no descriptionNotSupportedException - no descriptionpublic boolean hasAclSupport()
throws ResourceException
ResourceExceptionpublic IPrivilege getSupportedPrivileges() throws ResourceException
ResourceExceptionpublic Set getCurrentUserPrivileges() throws ResourceException
ResourceExceptionpublic boolean isPrincipal()
throws ResourceException
ResourceExceptionpublic IPrincipal asPrincipal() throws ResourceException
ResourceExceptionpublic IVersionControlledResource asVersionControlledResource() throws ResourceException
ResourceExceptionpublic IVersionHistoryResource asVersionHistoryResource() throws ResourceException
ResourceExceptionpublic IVersionResource asVersionResource() throws ResourceException
ResourceExceptionpublic IBindableResource asBindableResource() throws ResourceException
ResourceExceptionpublic ICollectionVersionResource asCollectionVersionResource() throws ResourceException
ResourceExceptionpublic boolean isVhr()
throws ResourceException
ResourceException| Access Rights |
|---|
| SC | DC | Public Part | ACH |
|---|---|---|---|
[sap.com] KMC-CM
|
[sap.com] tc/km/frwk
|
api
|
EP-KM-CM
|
[sap.com] KMC-WPC
|
[sap.com] tc/kmc/wpc/wpcfacade
|
api
|
EP-PIN-WPC-WCM
|
Copyright 2021 SAP SE Complete Copyright Notice