Trees | Index | Help |
|
---|
Package Products :: Package BTreeFolder2 :: Module BTreeFolder2 :: Class BTreeFolder2Base |
|
object
--+ |Base
--+ |object
--+ | | |Persistent
--+ |Persistent
--+ | BTreeFolder2Base
BTreeFolder2
Method Summary | |
---|---|
__init__(self,
id)
| |
__getattr__(self,
name)
| |
Returns the number of items in the folder. | |
Returns an ID not used yet by this folder. | |
get(self,
name,
default)
| |
Return a structure for a page template to show the list of objects. | |
Indicates whether the folder has an item by ID. | |
Indicates whether the folder has an item by ID. | |
items(self,
spec)
| |
keys(self,
spec)
| |
Calls self._cleanup() and reports the result as text. | |
Calls self._fixCount() and reports the result as text. | |
Redirects to the workspace of the first object in the list. | |
Returns the number of items in the folder. | |
objectIds(self,
spec)
| |
objectIds_d(self,
t)
| |
objectItems(self,
spec)
| |
objectMap(self)
| |
objectMap_d(self,
t)
| |
objectValues(self,
spec)
| |
Ensures the items don't show up in the left pane. | |
values(self,
spec)
| |
Inherited from Persistent :
__class_init__ ,
__getattribute__ ,
bobobase_modification_time ,
locked_in_version ,
modified_in_version
Inherited from Persistent :
__delattr__ ,
__getstate__ ,
__new__ ,
__reduce__ ,
__setattr__ ,
__setstate__
Inherited from Base :
__getnewargs__
Inherited from object :
__hash__ ,
__reduce_ex__ ,
__repr__ ,
__str__
|
Class Variable Summary | |
---|---|
tuple |
__ac_permissions__ = (('Access contents information', ('...
|
PermissionRole |
generateId__roles__ = <PermissionRole object at 0x20b523...
|
PermissionRole |
get__roles__ = <PermissionRole object at 0x20b5230>
|
PermissionRole |
getBatchObjectListing__roles__ = <PermissionRole object ...
|
PermissionRole |
has_key__roles__ = <PermissionRole object at 0x20b5230>
|
PermissionRole |
manage_cleanup__roles__ = <PermissionRole object at 0x20...
|
PermissionRole |
manage_fixCount__roles__ = <PermissionRole object at 0x2...
|
DTMLFile |
manage_main = <App.special_dtml.DTMLFile object at 0x220...
|
PermissionRole |
manage_main__roles__ = <PermissionRole object at 0x20b52...
|
PermissionRole |
manage_object_workspace__roles__ = <PermissionRole objec...
|
tuple |
manage_options = ({'action': 'manage_main', 'label': 'Co...
|
PermissionRole |
objectCount__roles__ = <PermissionRole object at 0x20b52...
|
PermissionRole |
objectIds__roles__ = <PermissionRole object at 0x20b5230...
|
PermissionRole |
objectIds_d__roles__ = <PermissionRole object at 0x20b52...
|
PermissionRole |
objectItems__roles__ = <PermissionRole object at 0x20b52...
|
PermissionRole |
objectMap__roles__ = <PermissionRole object at 0x20b5230...
|
PermissionRole |
objectMap_d__roles__ = <PermissionRole object at 0x20b52...
|
PermissionRole |
objectValues__roles__ = <PermissionRole object at 0x20b5...
|
str |
title = ''
|
PermissionRole |
tpValues__roles__ = <PermissionRole object at 0x20b5230>
|
Method Details |
---|
__len__(self)
Returns the number of items in the folder.
|
generateId(self, prefix='item', suffix='', rand_ceiling=999999999)Returns an ID not used yet by this folder. The ID is unlikely to collide with other threads and clients. The IDs are sequential to optimize access to objects that are likely to have some relation. |
getBatchObjectListing(self, REQUEST=None)Return a structure for a page template to show the list of objects. |
has_key(self, id)Indicates whether the folder has an item by ID. |
hasObject(self, id)Indicates whether the folder has an item by ID. |
manage_cleanup(self)Calls self._cleanup() and reports the result as text. |
manage_fixCount(self)Calls self._fixCount() and reports the result as text. |
manage_object_workspace(self, ids=(), REQUEST=None)Redirects to the workspace of the first object in the list. |
objectCount(self)Returns the number of items in the folder. |
tpValues(self)Ensures the items don't show up in the left pane. |
Class Variable Details |
---|
__ac_permissions__
|
generateId__roles__
|
get__roles__
|
getBatchObjectListing__roles__
|
has_key__roles__
|
manage_cleanup__roles__
|
manage_fixCount__roles__
|
manage_main
|
manage_main__roles__
|
manage_object_workspace__roles__
|
objectCount__roles__
|
objectIds__roles__
|
objectIds_d__roles__
|
objectItems__roles__
|
objectMap__roles__
|
objectMap_d__roles__
|
objectValues__roles__
|
title
|
tpValues__roles__
|
Trees | Index | Help |
|
---|
Generated by Epydoc 2.1 on Thu Aug 16 09:55:13 2007 | http://epydoc.sf.net |