Package Products :: Package ZenWidgets :: Module interfaces :: Class IMessage |
[hide private]
[frames] | no frames]

# Class IMessage

source code

            zope.interface.Interface --+
                                       |
      zope.location.interfaces.ILocation --+
                                           |
    zope.app.container.interfaces.IContained --+
                                               |
                                              IMessage

A single message. Messages are stored in user-specific MessageQueue objects and in the session object.

Instance Methods | [hide private]
delete() Delete this message from any queues in which it exists. | source code
mark_as_read() Mark this message as read. | source code

Class Variables | [hide private]
| title = `Attribute("Title of the message")`
| body = `Attribute("Body of the message")`
| image = `Attribute("Optional path to image to be displayed")`
| priority = `Attribute("Priority of the message")`
| timestamp = `Attribute("Time the message was sent")`
Inherited from `zope.location.interfaces.ILocation`: `__name__`, `__parent__`