public class

ObjectLockSourceImpl

extends Object
implements ObjectLockSource
java.lang.Object
   ↳ com.microstrategy.web.objects.admin.ObjectLockSourceImpl

Summary

Public Constructors
ObjectLockSourceImpl(WebObjectsFactory _factory)
Public Methods
void lockObject(String objectID, int objectType, int lockFlag, String lockComments)
Locks a first class object.
ObjectLock queryObjectLock(String objectID, int objectType, int queryFlag)
Queries the lock on an object.
void unlockObject(String objectID, int objectType, int lockFlag)
Unlocks a first class object.
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.microstrategy.web.objects.admin.ObjectLockSource

Public Constructors

public ObjectLockSourceImpl (WebObjectsFactory _factory)

Public Methods

public void lockObject (String objectID, int objectType, int lockFlag, String lockComments)

Locks a first class object.

Parameters
objectID the DSSID of an object.
objectType the object type, a value from EnumDSSXMLObjectTypes
lockFlag the lock flag, a value from EnumDSSXMLObjectLockFlags
lockComments the comments put on the lock of an object.

public ObjectLock queryObjectLock (String objectID, int objectType, int queryFlag)

Queries the lock on an object.

Parameters
objectID the DSSID of an object.
objectType the object type, a value from EnumDSSXMLObjectTypes
queryFlag a flag indicates what lock information to retrieve, a value from EnumDSSXMLLockQuery

public void unlockObject (String objectID, int objectType, int lockFlag)

Unlocks a first class object.

Parameters
objectID the DSSID of an object.
objectType the object type, a value from EnumDSSXMLObjectTypes
lockFlag the lock flag, a value from EnumDSSXMLObjectLockFlags