org.benow.web.message
Interface Message
- All Known Implementing Classes:
- MessageImpl, MessageReceivedMessage
public interface Message
getRecipients
java.util.List<Recipient> getRecipients()
getSender
org.benow.security.user.User getSender()
- The sender of the message. If the sender is null, the message was sent by the system.
- Returns:
getSubject
java.lang.String getSubject()
getConfirmURL
java.net.URL getConfirmURL()
- Returns:
- the url to confirm the operation indicated in the message, if any. Can also
refer to the primary url for handling the message
getDenyURL
java.net.URL getDenyURL()
- Returns:
- the url to deny the operation indicated in the message.
getBody
java.lang.String getBody()
getBodyMimeType
org.benow.java.mime.MimeType getBodyMimeType()
getPriority
Message.Priority getPriority()
sendAsEmail
boolean sendAsEmail()
received
boolean received()
sent
boolean sent()
lastSent
java.util.Date lastSent()
created
java.util.Date created()