Package org.adempiere.base.event
Class RequestSendEMailEventData
java.lang.Object
org.adempiere.base.event.RequestSendEMailEventData
Event data for
IEventTopics.REQUEST_SEND_EMAIL
event topic.- Author:
- Elaine
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetFrom()
int
getTo()
boolean
isHtml()
void
setAttachment
(File attachment) void
void
void
setHtml
(boolean isHtml) void
setMessage
(String message) void
setRequestID
(int requestID) void
setSubject
(String subject) void
-
Constructor Details
-
RequestSendEMailEventData
public RequestSendEMailEventData(MClient client, MUser from, MUser to, String subject, String message, File attachment, int requestID) - Parameters:
client
-from
-to
-subject
-message
-attachment
-requestID
-
-
RequestSendEMailEventData
public RequestSendEMailEventData(MClient client, MUser from, MUser to, String subject, String message, File attachment, int requestID, boolean isHtml) - Parameters:
client
-from
-to
-subject
-message
-attachment
-requestID
-isHtml
-
-
-
Method Details
-
getClient
- Returns:
- MClient
-
setClient
- Parameters:
client
-
-
getFrom
- Returns:
- from user
-
setFrom
- Parameters:
from
- from user
-
getTo
- Returns:
- to user
-
setTo
- Parameters:
to
- to user
-
getSubject
- Returns:
- subject
-
setSubject
- Parameters:
subject
-
-
getMessage
- Returns:
- message
-
setMessage
- Parameters:
message
-
-
getAttachment
- Returns:
- attachment file
-
setAttachment
- Parameters:
attachment
-
-
getRequestID
public int getRequestID()- Returns:
- R_Request_ID
-
setRequestID
public void setRequestID(int requestID) - Parameters:
requestID
- R_Request_ID
-
isHtml
public boolean isHtml()- Returns:
- true if message is html text
-
setHtml
public void setHtml(boolean isHtml) - Parameters:
isHtml
-
-