java.lang.Object
fr.paris.lutece.plugins.helpdesk.business.AbstractSubjectHome
fr.paris.lutece.plugins.helpdesk.business.ThemeHome
All Implemented Interfaces:
AbstractSubjectHomeInterface

public final class ThemeHome extends AbstractSubjectHome
This class provides instances management methods (create, find, ...) for Theme objects
  • Constructor Details

    • ThemeHome

      public ThemeHome()
      Constructor
  • Method Details

    • getInstance

      public static ThemeHome getInstance()
      Returns the instance of ThemeHome
      Returns:
      the ThemeHome instance
    • findAllReferenceList

      public static fr.paris.lutece.util.ReferenceList findAllReferenceList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Returns Theme list
      Parameters:
      plugin - The current plugin using this method
      Returns:
      the ReferenceList of the Theme of the database in form of ReferenceList
    • findQuestion

      public static Collection<VisitorQuestion> findQuestion(int nIdTheme, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Returns Question list for Theme
      Parameters:
      plugin - The current plugin using this method
      nIdTheme - The Theme ID
      Returns:
      the Collection of the VisitorQuestion of Theme
    • getVirtualRootTheme

      public static Theme getVirtualRootTheme(Locale locale)
      Create the virtual root Theme to initialize the tree
      Parameters:
      locale - The locale
      Returns:
      The virtual root Theme
    • getDAO

      public IAbstractSubjectDAO getDAO()
      Return the used DAO
      Returns:
      the used DAO