Trees | Index | Help |
|
---|
Package ZenModel :: Module Lockable :: Class Lockable |
|
object
--+
|
Lockable
Device
,
DeviceComponent
Method Summary | |
---|---|
getNextLockableParent(self,
obj)
| |
isLockedFromDeletion(self)
| |
isLockedFromUpdates(self)
| |
isUnlocked(self)
| |
Lock object from being deleted | |
Lock object from being deleted or updated | |
if self.modelerLock == DELETE_LOCKED:... | |
lockWarning(self)
| |
sendEventWhenBlocked(self)
| |
setSendEventWhenBlockedFlag(self)
| |
Unlock object | |
unsetSendEventWhenBlockedFlag(self)
| |
Inherited from object :
__init__ ,
__delattr__ ,
__getattribute__ ,
__hash__ ,
__new__ ,
__reduce__ ,
__reduce_ex__ ,
__repr__ ,
__setattr__ ,
__str__
|
Class Variable Summary | |
---|---|
int |
modelerLock = 0 |
bool |
sendEventWhenBlockedFlag = False
|
Method Details |
---|
lockFromDeletion(self, sendEventWhenBlocked=None, REQUEST=None)Lock object from being deleted |
lockFromUpdates(self, sendEventWhenBlocked=None, REQUEST=None)Lock object from being deleted or updated |
lockStatus(self)if self.modelerLock == DELETE_LOCKED: return "Locked from deletion" elif self.modelerLock == UPDATE_LOCKED: return "Locked from updates and deletion" elif isinstance(self.getPrimaryParent(), Lockable): return "%s by parent" % self.getPrimaryParent().lockStatus() elif self.modelerLock == UNLOCKED: return "Unlocked" |
unlock(self, REQUEST=None)Unlock object |
Class Variable Details |
---|
modelerLock
|
sendEventWhenBlockedFlag
|
Trees | Index | Help |
|
---|
Generated by Epydoc 2.1 on Thu Aug 16 09:55:12 2007 | http://epydoc.sf.net |