| java.lang.Object org.apache.lenya.notification.Message
Message | public class Message (Code) | | A notification message.
|
Message | public Message(String subject, String[] subjectParams, String body, String[] bodyParams, Identifiable sender, Identifiable[] recipients)(Code) | | Ctor.
Parameters: subject - The subject. Parameters: subjectParams - The subject parameters. Parameters: body - The body. Parameters: bodyParams - The body parameters. Parameters: sender - The sender. Parameters: recipients - The recipients. |
getBody | public String getBody()(Code) | | Retrieve the message content
the message |
getBodyParameters | public String[] getBodyParameters()(Code) | | Retrieve the parameters for this message
the parameters |
getSubject | public String getSubject()(Code) | | Retrieve the message subject
the subject |
getSubjectParameters | public String[] getSubjectParameters()(Code) | | Retrieve the parameters for this message
the parameters |
getTime | public Date getTime()(Code) | | The time when the message was sent. |
hasBodyParameters | public boolean hasBodyParameters()(Code) | | Determine if this message has parameters
true if the message has parameters |
hasSubjectParameters | public boolean hasSubjectParameters()(Code) | | Determine if this message has parameters
true if the message has parameters |
|
|