Package ZenEvents :: Module ZEvent :: Class ZEvent
[show private | hide private]
[frames | no frames]

Type ZEvent

object --+    
         |    
     Event --+
             |
            ZEvent

Known Subclasses:
EventDetail

Event that lives in the zope context has zope security mechanisms and url back to event manager
Method Summary
  __init__(self, manager, fields, data)
  getCssClass(self)
return the css class name to be used for this event.
  getDataForJSON(self, fields)
returns data ready for serialization
  getDataListWithLinks(self, fields, cssClass)
return a list of data elements that map to the fields parameter.
  getEventDetailHref(self)
build an href to call the detail of this event
  zem(self)
return the id of our manager.
Inherited from Event: clearClasses, getDataList, getDedupFields, getEventData, getEventFields, updateFromDict, updateFromFields
Inherited from object: __delattr__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __str__

Class Variable Summary
tuple __ac_permissions__ = ()
int __allow_access_to_unprotected_subobjects__ = 1                                                                     

Method Details

getCssClass(self)

return the css class name to be used for this event.

getDataForJSON(self, fields)

returns data ready for serialization

getDataListWithLinks(self, fields, cssClass='')

return a list of data elements that map to the fields parameter.

getEventDetailHref(self)

build an href to call the detail of this event

zem(self)

return the id of our manager.

Class Variable Details

__ac_permissions__

Type:
tuple
Value:
()                                                                     

__allow_access_to_unprotected_subobjects__

Type:
int
Value:
1                                                                     

Generated by Epydoc 2.1 on Thu Aug 16 09:55:07 2007 http://epydoc.sf.net