Class EmailTemplate

java.lang.Object
io.jmix.emailtemplates.entity.EmailTemplate
Direct Known Subclasses:
JsonEmailTemplate, ReportEmailTemplate

@Entity(name="emltmp_EmailTemplate") public abstract class EmailTemplate extends Object
  • Field Details

    • id

      protected UUID id
    • version

      protected Integer version
    • createTs

      protected Date createTs
    • createdBy

      protected String createdBy
    • updateTs

      protected Date updateTs
    • updatedBy

      protected String updatedBy
    • deleteTs

      protected Date deleteTs
    • deletedBy

      protected String deletedBy
    • useReportSubject

      protected Boolean useReportSubject
    • name

      @NotNull protected @NotNull String name
    • group

      protected TemplateGroup group
    • type

      @NotNull protected @NotNull String type
    • code

      @NotNull protected @NotNull String code
    • from

      @Email protected @Email String from
    • to

      protected String to
    • cc

      protected String cc
    • bcc

      protected String bcc
    • subject

      protected String subject
    • attachedFiles

      protected List<EmailTemplateAttachment> attachedFiles
    • attachedTemplateReports

      protected List<TemplateReport> attachedTemplateReports
  • Constructor Details

    • EmailTemplate

      public EmailTemplate()
  • Method Details

    • setAttachedTemplateReports

      public void setAttachedTemplateReports(List<TemplateReport> attachedTemplateReports)
    • getAttachedTemplateReports

      public List<TemplateReport> getAttachedTemplateReports()
    • setAttachedFiles

      public void setAttachedFiles(List<EmailTemplateAttachment> attachedFiles)
    • getAttachedFiles

      public List<EmailTemplateAttachment> getAttachedFiles()
    • setType

      public void setType(TemplateType type)
    • getType

      public TemplateType getType()
    • getInstanceName

      public String getInstanceName()
    • setFrom

      public void setFrom(String from)
    • getFrom

      public String getFrom()
    • setTo

      public void setTo(String to)
    • getTo

      public String getTo()
    • setCc

      public void setCc(String cc)
    • getCc

      public String getCc()
    • setBcc

      public void setBcc(String bcc)
    • getBcc

      public String getBcc()
    • setSubject

      public void setSubject(String subject)
    • getSubject

      public String getSubject()
    • setGroup

      public void setGroup(TemplateGroup group)
    • getGroup

      public TemplateGroup getGroup()
    • setName

      public void setName(String name)
    • getName

      public String getName()
    • setCode

      public void setCode(String code)
    • getCode

      public String getCode()
    • getReport

      public abstract Report getReport()
    • setEmailBodyReport

      public abstract void setEmailBodyReport(TemplateReport emailBodyReport)
    • getEmailBodyReport

      public abstract TemplateReport getEmailBodyReport()
    • getUseReportSubject

      public Boolean getUseReportSubject()
    • setUseReportSubject

      public void setUseReportSubject(Boolean useReportSubject)
    • getId

      public UUID getId()
    • setId

      public void setId(UUID id)
    • getVersion

      public Integer getVersion()
    • setVersion

      public void setVersion(Integer version)
    • getCreateTs

      public Date getCreateTs()
    • setCreateTs

      public void setCreateTs(Date createTs)
    • getCreatedBy

      public String getCreatedBy()
    • setCreatedBy

      public void setCreatedBy(String createdBy)
    • getUpdateTs

      public Date getUpdateTs()
    • setUpdateTs

      public void setUpdateTs(Date updateTs)
    • getUpdatedBy

      public String getUpdatedBy()
    • setUpdatedBy

      public void setUpdatedBy(String updatedBy)
    • getDeleteTs

      public Date getDeleteTs()
    • setDeleteTs

      public void setDeleteTs(Date deleteTs)
    • getDeletedBy

      public String getDeletedBy()
    • setDeletedBy

      public void setDeletedBy(String deletedBy)
    • setType

      public void setType(String type)