public interface ExtendedLockManager extends LockManager
Modifier and Type | Method and Description |
---|---|
Item |
acquireDavLock(long id,
NamedValue[] attributes)
Acquires a DAV lock on the given Item.
|
Item |
acquireNullOrDavLock(long id,
String name,
NamedValue[] attributes)
Acquires either a Null Resource Lock or a DAV lock on the given Item
name.
|
Item |
refreshDavLock(long id,
NamedValue[] attributes)
Refreshes a DAV lock.
|
void |
releaseDavLock(long id)
Releases a DAV on the given Item.
|
void |
releaseNullResourceLock(long id,
String name)
Releases a Null Resource Lock on the given Item
name.
|
acquireManualLocks, listLockedDocuments, releaseManualLocks
Item acquireDavLock(long id, NamedValue[] attributes) throws FdkException
id
- the ID of the Item to lock.attributes
- DAV lock attributes:
FdkException
- if the operation fails.void releaseDavLock(long id) throws FdkException
id
- the ID of the object to unlock.FdkException
- if the operation fails.Item refreshDavLock(long id, NamedValue[] attributes) throws FdkException
id
- the ID of the object on which to refresh the lock.attributes
- DAV lock attributes:
FdkException
- if the operation fails.Item acquireNullOrDavLock(long id, String name, NamedValue[] attributes) throws FdkException
id
- the ID of the Folder containing the Item to lock.name
- the name of the Item to lock.attributes
- DAV lock attributes:
FdkException
- if the operation fails.void releaseNullResourceLock(long id, String name) throws FdkException
id
- the ID of the Folder containing the Item
holding the lockname
- the name of the Item on which the lock appliesFdkException
- if the operation fails.Copyright © 2023. All rights reserved.