Class BoardService

Object
BoardService

public class BoardService extends Object
Takes care of the public boards and the private boards.
Author:
maartenl
  • Constructor Details

    • BoardService

      public BoardService()
  • 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
    • getNewsBoard

      public Board getNewsBoard()
    • getBoard

      public Board getBoard(String name)
    • getNews

      public List<BoardMessage> getNews()
      Retrieves the most recent board messages.
      Returns: