|
Oracle Content Database Web Services Java API Reference for Oracle WebCenter Suite 10g (10.1.3.2) B32189-01 |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface class LockManager
A facade interface for managing locks.
Method Summary | |
---|---|
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. |
Method Detail |
---|
Item[] acquireManualLocks(long[] ids, NamedValueSet[] attributes) throws FdkException
LockManager
ids
- the IDs of the Items to lock.attributes
- optional attributes.FdkException
- if the operation fails.void releaseManualLocks(long[] ids) throws FdkException
LockManager
ids
- the IDs of the Items to unlock.FdkException
- if the operation fails.Item[] listLockedDocuments(int[] locks, NamedValue[] options, AttributeRequest[] attributes) throws FdkException
LockManager
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 fails
|
Oracle Content Database Web Services Java API Reference for Oracle WebCenter Suite 10g (10.1.3.2) B32189-01 |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |