public interface LockManager extends Remote
Modifier and Type | Method and Description |
---|---|
Item[] |
acquireManualLocks(long[] ids,
NamedValueSet[] attributes)
Acquires manual locks on the given Items.
|
Item[] |
listLockedDocuments(int[] locks,
NamedValue[] options,
AttributeRequest[] attributes)
Returns a list of Documents locked by a user.
|
void |
releaseManualLocks(long[] ids)
Releases manual locks on the given Items.
|
Item[] acquireManualLocks(long[] ids, NamedValueSet[] attributes) throws FdkException
ids
- the IDs of the Items to lock.attributes
- optional attributes.FdkException
- if the operation fails.void releaseManualLocks(long[] ids) throws FdkException
ids
- the IDs of the Items to unlock.FdkException
- if the operation fails.Item[] listLockedDocuments(int[] locks, NamedValue[] options, AttributeRequest[] attributes) throws FdkException
locks
- The types of locks to search for. Valid values are
options
- Optional restrictions/sort options. Valid Attributes:
LockEntry
may be
specified for sorting. If an attribute name is specified with
no direction, ascending is the default. Attribute names must
be valid attributes in Attributes
attributes
- Attributes to be populated on the returned LOCK itemsFdkException
- If the operation failsCopyright © 2023. All rights reserved.