Class MailService

Object
MailService

public class MailService extends Object
TODO : add all mail here instead of in PrivateRestService. use Path:{name}/mail
Author:
maartenl
  • Constructor Details

    • MailService

      public MailService()
  • Method Details

    • getEntityManager

      protected EntityManager getEntityManager()
      Returns the entity manager of JPA. This is defined in build/web/WEB-INF/classes/META-INF/persistence.xml.
      Returns:
      EntityManager
    • hasNewMail

      public boolean hasNewMail(Person person)