Class HelpService

Object
HelpService

public class HelpService extends Object
Takes care of the help topics.
Author:
maartenl
  • Constructor Details

    • HelpService

      public HelpService()
  • 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
    • getHelp

      public Help getHelp(String name)
      returns a help message on the current command, or general help
      Parameters:
      name - the command to enlist help for. If this is a null pointer, general help will be requested.
      Returns:
      Help entity.