Class Subject
java.lang.Object
fr.paris.lutece.plugins.helpdesk.business.AbstractSubject
fr.paris.lutece.plugins.helpdesk.business.Subject
This class represents a Subject object.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetChilds(fr.paris.lutece.portal.service.plugin.Plugin plugin) Get the child subjectsgetFaq(fr.paris.lutece.portal.service.plugin.Plugin plugin) Gets the owning FaqgetParent(fr.paris.lutece.portal.service.plugin.Plugin plugin) Get the parent subjectReturns the questions associated with the subjectvoidsetQuestions(List questions) Assigns the specified set of questions to the subjectMethods inherited from class fr.paris.lutece.plugins.helpdesk.business.AbstractSubject
getId, getIdOrder, getIdParent, getText, setId, setIdOrder, setIdParent, setText
-
Constructor Details
-
Subject
public Subject()Creates a new Subject object.
-
-
Method Details
-
getQuestions
Returns the questions associated with the subject- Returns:
- A List of QuestionAnswer objects.
-
setQuestions
Assigns the specified set of questions to the subject- Parameters:
questions- The new List
-
getParent
Get the parent subject- Specified by:
getParentin classAbstractSubject- Parameters:
plugin- The Plugin- Returns:
- The parent Subject
-
getChilds
Get the child subjects- Specified by:
getChildsin classAbstractSubject- Parameters:
plugin- The Plugin- Returns:
- A
Collectionof childSubject
-
getFaq
Gets the owning Faq- Parameters:
plugin- The plugin- Returns:
- The owning Faq
-