Class RequestSendEMailEventData

java.lang.Object
org.adempiere.base.event.RequestSendEMailEventData

public class RequestSendEMailEventData extends Object
Event data for IEventTopics.REQUEST_SEND_EMAIL event topic.
Author:
Elaine
  • 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

      public MClient getClient()
      Returns:
      MClient
    • setClient

      public void setClient(MClient client)
      Parameters:
      client -
    • getFrom

      public MUser getFrom()
      Returns:
      from user
    • setFrom

      public void setFrom(MUser from)
      Parameters:
      from - from user
    • getTo

      public MUser getTo()
      Returns:
      to user
    • setTo

      public void setTo(MUser to)
      Parameters:
      to - to user
    • getSubject

      public String getSubject()
      Returns:
      subject
    • setSubject

      public void setSubject(String subject)
      Parameters:
      subject -
    • getMessage

      public String getMessage()
      Returns:
      message
    • setMessage

      public void setMessage(String message)
      Parameters:
      message -
    • getAttachments

      public List<File> getAttachments()
      Returns:
      attachment file
    • setAttachments

      public void setAttachments(List<File> attachments)
      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 -