Trees | Index | Help |
|
---|
Package webdav :: Module Lockable :: Class LockableItem |
|
EtagSupport
--+
|
LockableItem
Resource
Implements the WriteLockInterface, and is inherited by Resource which is then inherited by the majority of Zope objects. For an object to be lockable, however, it should have the WriteLockInterface in its __implements__ list, ie:
__implements__ = (WriteLockInterface,)Method Summary | |
---|---|
wl_clearLocks(self)
| |
wl_delLock(self,
locktoken)
| |
wl_getLock(self,
locktoken)
| |
wl_hasLock(self,
token,
killinvalids)
| |
wl_isLocked(self)
| |
wl_lockItems(self,
killinvalids)
| |
if 'killinvalids' is 1, locks who are no longer valid will be deleted | |
wl_lockTokens(self,
killinvalids)
| |
wl_lockValues(self,
killinvalids)
| |
wl_setLock(self,
locktoken,
lock)
| |
Inherited from EtagSupport :
http__etag ,
http__parseMatchList ,
http__processMatchHeaders ,
http__refreshEtag
|
Class Variable Summary | |
---|---|
tuple |
__ac_permissions__ = (('Manage WebDAV Locks', ('wl_clear...
|
Implements |
__implemented__ = <implementedBy webdav.Lockable.Lockabl...
|
ClassProvides |
__provides__ = <zope.interface.declarations.ClassProvide...
|
PermissionRole |
wl_clearLocks__roles__ = <PermissionRole object at 0xfa5...
|
PermissionRole |
wl_delLock__roles__ = <PermissionRole object at 0xfaa0>
|
NoneType |
wl_getLock__roles__ = None |
NoneType |
wl_isLocked__roles__ = None |
NoneType |
wl_isLockedByUser__roles__ = None |
NoneType |
wl_lockItems__roles__ = None |
tuple |
wl_lockmapping__roles__ = ()
|
NoneType |
wl_lockTokens__roles__ = None |
NoneType |
wl_lockValues__roles__ = None |
PermissionRole |
wl_setLock__roles__ = <PermissionRole object at 0xfb90>
|
Inherited from EtagSupport :
__implements__ ,
__providedBy__
|
Method Details |
---|
wl_lockmapping(self, killinvalids=0, create=0)if 'killinvalids' is 1, locks who are no longer valid will be deleted |
Class Variable Details |
---|
__implemented__
|
__provides__
|
wl_clearLocks__roles__
|
wl_delLock__roles__
|
wl_getLock__roles__
|
wl_isLocked__roles__
|
wl_isLockedByUser__roles__
|
wl_lockItems__roles__
|
wl_lockmapping__roles__
|
wl_lockTokens__roles__
|
wl_lockValues__roles__
|
wl_setLock__roles__
|
Trees | Index | Help |
|
---|
Generated by Epydoc 2.1 on Thu Aug 16 09:55:15 2007 | http://epydoc.sf.net |