public interface IResourceBatch
Modifier and Type | Method and Description |
---|---|
Map |
getLocksInfo()
Returns a map containing lock information for the resources in this resource batch.
|
Map |
getProperties(IPropertyNameList propNameList,
ResourceErrors errors)
Returns a map containing the requested properties which are available for the resources in this resource batch.
|
Map getProperties(IPropertyNameList propNameList, ResourceErrors errors) throws ResourceException
RID
) as keys and
IPropertyMap
instances as values. If a resource does not exist
no entry will exist in the map for the RID (a resource might no longer exist because it was deleted by another
user/thread since ICollection.getChildren() or IResourceFactory.getResources() was called). If an exception
occurred for some resources they are attached to the (optional) ResourceErrors
object. If the
ResourceErrors
collection contains an exception for a particular RID then this RID will not be contained in the
map. If none of the properties where found the RID will not be contained in the result. If the resource list
or the property name list is empty an empty map is returned.propNameList
- A list of property names. Must not be null
.errors
- Will be used to collect all exceptions which occurred when trying to access the properties of a resource.
Can be null
.ResourceException
Map getLocksInfo() throws ResourceException
RID
) as keys and
Object
[3]
arrays as values.
- array[0]: List of ILockInfoCollection
If there are no locks it's an empty list.
- array[1]: Boolean
instance indicating if the resource is locked
- array[2]: Boolean
instance indicating if the resource is locked by the user in the resource context
Returns also deep locks of
parent resources if set above the given resource. Returns an empty list if
no locks are found for the resources.ResourceException
- when the list of the locks can't be obtainedAccess 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 2018 SAP AG Complete Copyright Notice