Class Theme
java.lang.Object
fr.paris.lutece.plugins.helpdesk.business.AbstractSubject
fr.paris.lutece.plugins.helpdesk.business.Theme
This class represents a Theme object.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetChilds(fr.paris.lutece.portal.service.plugin.Plugin plugin) Get the child Theme listintGet the mailing list idgetParent(fr.paris.lutece.portal.service.plugin.Plugin plugin) Get the parent ThemeReturns theVisitorQuestionassociated with the Themestatic voidinit()Initialize the themevoidsetIdMailingList(int nIdMailingList) Set the mailing list idvoidsetQuestions(Collection<VisitorQuestion> questions) Assigns the specified set of questions to the ThemeMethods inherited from class fr.paris.lutece.plugins.helpdesk.business.AbstractSubject
getId, getIdOrder, getIdParent, getText, setId, setIdOrder, setIdParent, setText
-
Constructor Details
-
Theme
public Theme()Creates a new Theme object.
-
-
Method Details
-
init
public static void init()Initialize the theme -
getQuestions
Returns theVisitorQuestionassociated with the Theme- Returns:
- A List of
VisitorQuestionobjects.
-
setQuestions
Assigns the specified set of questions to the Theme- Parameters:
questions- The newCollectionofVisitorQuestion
-
getParent
Get the parent Theme- Specified by:
getParentin classAbstractSubject- Parameters:
plugin- The Plugin- Returns:
- The parent Theme
-
getChilds
Get the child Theme list- Specified by:
getChildsin classAbstractSubject- Parameters:
plugin- The Plugin- Returns:
- A
Collectionof childTheme
-
getIdMailingList
public int getIdMailingList()Get the mailing list id- Returns:
- the mailingList id
-
setIdMailingList
public void setIdMailingList(int nIdMailingList) Set the mailing list id- Parameters:
nIdMailingList- The mailinglist id
-