public interface IMutableLockManager extends ILockManager
Created 23. Januar 2003
Modifier and Type | Method and Description |
---|---|
ILockInfo |
lock(IResourceHandle resourceHandle,
ILockDescriptor lockDescriptor)
Lock a resource (content, properties, etc. and the namespace, not the
resources, below the resource).
|
ILockInfo |
refreshLock(IResourceHandle resourceHandle,
String lockToken)
Refresh, i.e. reset the timer of the given lock for a given resource handle
until the lock is released automatically.
|
void |
unlock(IResourceHandle resourceHandle,
String lockToken)
Unlock a resource (content, properties, etc. and the namespace, not the
resources, below the resource).
|
getLocks
ILockInfo lock(IResourceHandle resourceHandle, ILockDescriptor lockDescriptor) throws ResourceException
resourceHandle
- resource handlelockDescriptor
- lock descriptor object describing the properties of
the lockResourceException
- when the lock can't be obtainedvoid unlock(IResourceHandle resourceHandle, String lockToken) throws ResourceException
resourceHandle
- resource handlelockToken
- lock token identifying the lockResourceException
- when the lock can't be releasedILockInfo refreshLock(IResourceHandle resourceHandle, String lockToken) throws ResourceException
resourceHandle
- resource handlelockToken
- lock token identifying the lockResourceException
- when the lock can't be refreshedAccess 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