Trees | Index | Help |
|
---|
Package Products :: Package ZenModel :: Module ZenModelBase :: Class ZenModelBase |
|
object
--+
|
ZenModelBase
ZenModelItem
,
ZenModelRM
Method Summary | |
---|---|
Invokes the default view. | |
__hash__(self)
| |
Control what types of objects can be created within classification | |
Return the breadcrumb links for this object. | |
Call and return screen specified by zenScreenName value of REQUEST. | |
Checks a valid id | |
createHierarchyObj(self,
root,
name,
factory,
relpath,
log)
| |
List custom properties that are defined at root node. | |
List custom property definitions [{'id':'cName','label':'Name', 'type':'string'},] | |
return the dmd root object | |
get object from path that starts at dmd ie. | |
return an organizer object by its name | |
getHierarchyObj(self,
root,
name,
relpath)
| |
Return an A link to this object with its id as the name. | |
return the current time as a string | |
getObjByPath(self,
path)
| |
get the full dmd id of this object strip off everything before dmd | |
get object from path tat starts at zope root ie. | |
return a link to the objects help file | |
Check to see if a name is local to our current context. | |
Delete object by id from this object. | |
prepId(self,
id,
subchar)
| |
Save custom properties from REQUEST.form. | |
Return today's date as a string in the format 'mm/dd/yyyy'. | |
Returns the default view even if index_html is overridden. | |
List custom property definitions that should be visible [{'id':'cName','label':'Name', 'type':'string'},] | |
Return yesterday's date as a string in the format 'mm/dd/yyyy'. | |
zenpathjoin(self,
path)
| |
zenpathsplit(self,
path)
| |
Return the url for the current screen as defined by zenScreenName. | |
Return a list of hashs that define the screen tabs for this object. | |
Edit a ZenModel object and return its proper page template | |
Inherited from object :
__init__ ,
__delattr__ ,
__getattribute__ ,
__new__ ,
__reduce__ ,
__reduce_ex__ ,
__repr__ ,
__setattr__ ,
__str__
|
Class Variable Summary | |
---|---|
tuple |
__ac_permissions__ = (('Delete objects', ('manage_delete...
|
PermissionRole |
breadCrumbs__roles__ = <PermissionRole object at 0x10bf1...
|
PermissionRole |
getPrimaryDmdId__roles__ = <PermissionRole object at 0x1...
|
PermissionRole |
helpLink__roles__ = <PermissionRole object at 0x10bf1b8>
|
NoneType |
index_html = None |
PermissionRole |
manage_deleteObjects__roles__ = <PermissionRole object a...
|
tuple |
sub_meta_types = ()
|
PermissionRole |
view__roles__ = <PermissionRole object at 0x10bf1b8>
|
PermissionRole |
zentinelTabs__roles__ = <PermissionRole object at 0x10bf...
|
PermissionRole |
zmanage_editProperties__roles__ = <PermissionRole object...
|
Method Details |
---|
__call__(self)
Invokes the default view.
|
all_meta_types(self, interfaces=None)Control what types of objects can be created within classification |
breadCrumbs(self, terminator='dmd')Return the breadcrumb links for this object. [('url','id'), ...] |
callZenScreen(self, REQUEST, redirect=False)Call and return screen specified by zenScreenName value of REQUEST. If zenScreenName is not present call the default screen. This is used in functions that are called from forms to get back to the correct screen with the correct context. |
checkValidId(self, id, prep_id=False)Checks a valid id |
custPropertyIds(self)List custom properties that are defined at root node. |
custPropertyMap(self)List custom property definitions [{'id':'cName','label':'Name', 'type':'string'},] |
getDmd(self)return the dmd root object |
getDmdObj(self, path)get object from path that starts at dmd ie. /Devices/Servers/box |
getDmdRoot(self, name)return an organizer object by its name |
getIdLink(self)Return an A link to this object with its id as the name. |
getNowString(self)return the current time as a string |
getPrimaryDmdId(self, rootName='dmd', subrel='')get the full dmd id of this object strip off everything before dmd |
getZopeObj(self, path)get object from path tat starts at zope root ie. /zport/dmd/Devices |
helpLink(self)return a link to the objects help file |
isLocalName(self, name)Check to see if a name is local to our current context. |
manage_deleteObjects(self, ids=(), REQUEST=None)Delete object by id from this object. |
saveCustProperties(self, REQUEST)Save custom properties from REQUEST.form. |
todayDate(self)Return today's date as a string in the format 'mm/dd/yyyy'. |
view(self)Returns the default view even if index_html is overridden. |
visibleCustPropertyMap(self)List custom property definitions that should be visible [{'id':'cName','label':'Name', 'type':'string'},] |
yesterdayDate(self)Return yesterday's date as a string in the format 'mm/dd/yyyy'. |
zenScreenUrl(self)Return the url for the current screen as defined by zenScreenName. If zenScreenName is not found in the request the request url is used. |
zentinelTabs(self, templateName)Return a list of hashs that define the screen tabs for this object. [{'name':'Name','action':'template','selected':False},...] |
zmanage_editProperties(self, REQUEST=None)Edit a ZenModel object and return its proper page template |
Class Variable Details |
---|
breadCrumbs__roles__
|
getPrimaryDmdId__roles__
|
helpLink__roles__
|
index_html
|
manage_deleteObjects__roles__
|
sub_meta_types
|
view__roles__
|
zentinelTabs__roles__
|
zmanage_editProperties__roles__
|
Trees | Index | Help |
|
---|
Generated by Epydoc 2.1 on Thu Aug 16 09:55:14 2007 | http://epydoc.sf.net |