Class ObjectLockSourceImpl
- java.lang.Object
-
- com.microstrategy.web.objects.admin.ObjectLockSourceImpl
-
- All Implemented Interfaces:
ObjectLockSource
public class ObjectLockSourceImpl extends java.lang.Object implements ObjectLockSource
- Since:
- MicroStrategy Web 9.0.0
-
-
Constructor Summary
Constructors Constructor Description ObjectLockSourceImpl(WebObjectsFactory _factory)
-
Method Summary
All Methods Instance Methods Concrete 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.
-
-
-
Constructor Detail
-
ObjectLockSourceImpl
public ObjectLockSourceImpl(WebObjectsFactory _factory)
-
-
Method Detail
-
lockObject
public void lockObject(java.lang.String objectID, int objectType, int lockFlag, java.lang.String lockComments) throws WebObjectsAdminExceptionDescription copied from interface:ObjectLockSourceLocks a first class object.- Specified by:
lockObjectin interfaceObjectLockSource- 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
public void unlockObject(java.lang.String objectID, int objectType, int lockFlag) throws WebObjectsAdminExceptionDescription copied from interface:ObjectLockSourceUnlocks a first class object.- Specified by:
unlockObjectin interfaceObjectLockSource- 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
public ObjectLock queryObjectLock(java.lang.String objectID, int objectType, int queryFlag) throws WebObjectsAdminException
Description copied from interface:ObjectLockSourceQueries the lock on an object.- Specified by:
queryObjectLockin interfaceObjectLockSource- 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
-
-