The IAMLockable interface underwent some changes from CS3 to CS4.
Most of the methods now have objectUID as an additional parameter.
For instance, IAMLockable::HasLock(UID objectUID = kInvalidUID)
I have my own asset management, and I need to check the lock status of the asset using HasLock(UID).
How would I check the lock status using the objectUID, which is passed in as parameter?
In CS3, I did the following inside HasLock():
IAMLockable::HasLock()
{
...
VerifyState(kSuppressUI);
if(fLockState == IAMLockable::enCheckOut)
return kTrue;
}
But, in CS4 how would I check the lock status using the objectUID?
Also, there is a method GetLockObjectUID. When and where should I initialize the objectUID?
North America
Europe, Middle East and Africa
Asia Pacific