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 void
lockObject(java.lang.String objectID, int objectType, int lockFlag, java.lang.String lockComments)
Locks a first class object.ObjectLock
queryObjectLock(java.lang.String objectID, int objectType, int queryFlag)
Queries the lock on an object.void
unlockObject(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 WebObjectsAdminException
Description copied from interface:ObjectLockSource
Locks a first class object.- Specified by:
lockObject
in interfaceObjectLockSource
- Parameters:
objectID
- the DSSID of an object.objectType
- the object type, a value fromEnumDSSXMLObjectTypes
lockFlag
- the lock flag, a value fromEnumDSSXMLObjectLockFlags
lockComments
- 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 WebObjectsAdminException
Description copied from interface:ObjectLockSource
Unlocks a first class object.- Specified by:
unlockObject
in interfaceObjectLockSource
- Parameters:
objectID
- the DSSID of an object.objectType
- the object type, a value fromEnumDSSXMLObjectTypes
lockFlag
- 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:ObjectLockSource
Queries the lock on an object.- Specified by:
queryObjectLock
in interfaceObjectLockSource
- Parameters:
objectID
- the DSSID of an object.objectType
- the object type, a value fromEnumDSSXMLObjectTypes
queryFlag
- a flag indicates what lock information to retrieve, a value fromEnumDSSXMLLockQuery
- Throws:
WebObjectsAdminException
-
-