|
Oracle Content Services Web Services Java API Reference 10g Release 1 (10.1.2.3) B25584-03 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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 |
public Item[] acquireManualLocks(long[] ids, NamedValueSet[] attributes) throws FdkException
ids
- the IDs of the Items to lock.attributes
- optional attributes.FdkException
- if the operation fails.public void releaseManualLocks(long[] ids) throws FdkException
ids
- the IDs of the Items to unlock.FdkException
- if the operation fails.public 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 fails
|
Oracle Content Services Web Services Java API Reference 10g Release 1 (10.1.2.3) B25584-03 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |