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
ConstructorDescriptionRequestSendEMailEventData
(MClient client, MUser from, MUser to, String subject, String message, List<File> attachments, int requestID) RequestSendEMailEventData
(MClient client, MUser from, MUser to, String subject, String message, List<File> attachments, int requestID, boolean isHtml) -
Method Summary
Modifier and TypeMethodDescriptiongetFrom()
int
getTo()
boolean
isHtml()
void
setAttachments
(List<File> attachments) 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, List<File> attachments, int requestID) - Parameters:
client
-from
-to
-subject
-message
-attachments
-requestID
-
-
RequestSendEMailEventData
public RequestSendEMailEventData(MClient client, MUser from, MUser to, String subject, String message, List<File> attachments, 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
-
-
getAttachments
- Returns:
- attachment file
-
setAttachments
- 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
-
-