Interface ObjectLockSource
-
- All Known Implementing Classes:
ObjectLockSourceImpl
public interface ObjectLockSourceThe interfaceObjectLockSourceadministrates object locks. It provides operations to lock and unlock objects as well as query locks on any object.- Since:
- MicroStrategy Web 9.0.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidlockObject(java.lang.String objectID, int objectType, int lockFlag, java.lang.String lockComments)Locks a first class object.ObjectLockqueryObjectLock(java.lang.String objectID, int objectType, int queryFlag)Queries the lock on an object.voidunlockObject(java.lang.String objectID, int objectType, int lockFlag)Unlocks a first class object.
-
-
-
Method Detail
-
lockObject
void lockObject(java.lang.String objectID, int objectType, int lockFlag, java.lang.String lockComments) throws WebObjectsAdminExceptionLocks a first class object.- Parameters:
objectID- the DSSID of an object.objectType- the object type, a value fromEnumDSSXMLObjectTypeslockFlag- the lock flag, a value fromEnumDSSXMLObjectLockFlagslockComments- the comments put on the lock of an object.- Throws:
WebObjectsAdminException- thrown if there is any error occurred.
-
unlockObject
void unlockObject(java.lang.String objectID, int objectType, int lockFlag) throws WebObjectsAdminExceptionUnlocks a first class object.- Parameters:
objectID- the DSSID of an object.objectType- the object type, a value fromEnumDSSXMLObjectTypeslockFlag- the lock flag, a value fromEnumDSSXMLObjectLockFlags- Throws:
WebObjectsAdminException- thrown if there is any error occurred.
-
queryObjectLock
ObjectLock queryObjectLock(java.lang.String objectID, int objectType, int queryFlag) throws WebObjectsAdminException
Queries the lock on an object.- Parameters:
objectID- the DSSID of an object.objectType- the object type, a value fromEnumDSSXMLObjectTypesqueryFlag- a flag indicates what lock information to retrieve, a value fromEnumDSSXMLLockQuery- Throws:
WebObjectsAdminException
-
-