java.lang.Object
fr.paris.lutece.plugins.helpdesk.business.AbstractSubject
fr.paris.lutece.plugins.helpdesk.business.Subject

public class Subject extends AbstractSubject
This class represents a Subject object.
  • Constructor Details

    • Subject

      public Subject()
      Creates a new Subject object.
  • Method Details

    • getQuestions

      public List getQuestions()
      Returns the questions associated with the subject
      Returns:
      A List of QuestionAnswer objects.
    • setQuestions

      public void setQuestions(List questions)
      Assigns the specified set of questions to the subject
      Parameters:
      questions - The new List
    • getParent

      public Subject getParent(fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Get the parent subject
      Specified by:
      getParent in class AbstractSubject
      Parameters:
      plugin - The Plugin
      Returns:
      The parent Subject
    • getChilds

      public Collection<Subject> getChilds(fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Get the child subjects
      Specified by:
      getChilds in class AbstractSubject
      Parameters:
      plugin - The Plugin
      Returns:
      A Collection of child Subject
    • getFaq

      public Faq getFaq(fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Gets the owning Faq
      Parameters:
      plugin - The plugin
      Returns:
      The owning Faq