fr.paris.lutece.plugins.helpdesk.business
Class Theme

java.lang.Object
  extended by fr.paris.lutece.plugins.helpdesk.business.AbstractSubject
      extended by fr.paris.lutece.plugins.helpdesk.business.Theme

public class Theme
extends AbstractSubject

This class represents a Theme object.


Constructor Summary
Theme()
          Creates a new Theme object.
 
Method Summary
 Collection<Theme> getChilds(fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Get the child Theme list
 int getIdMailingList()
          Get the mailing list id
 Theme getParent(fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Get the parent Theme
 Collection<VisitorQuestion> getQuestions()
          Returns the VisitorQuestion associated with the Theme
static void init()
          Initialize the theme
 void setIdMailingList(int nIdMailingList)
          Set the mailing list id
 void setQuestions(Collection<VisitorQuestion> questions)
          Assigns the specified set of questions to the Theme
 
Methods inherited from class fr.paris.lutece.plugins.helpdesk.business.AbstractSubject
getId, getIdOrder, getIdParent, getText, setId, setIdOrder, setIdParent, setText
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Theme

public Theme()
Creates a new Theme object.

Method Detail

init

public static void init()
Initialize the theme


getQuestions

public Collection<VisitorQuestion> getQuestions()
Returns the VisitorQuestion associated with the Theme

Returns:
A List of VisitorQuestion objects.

setQuestions

public void setQuestions(Collection<VisitorQuestion> questions)
Assigns the specified set of questions to the Theme

Parameters:
questions - The new Collection of VisitorQuestion

getParent

public Theme getParent(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Get the parent Theme

Specified by:
getParent in class AbstractSubject
Parameters:
plugin - The Plugin
Returns:
The parent Theme

getChilds

public Collection<Theme> getChilds(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Get the child Theme list

Specified by:
getChilds in class AbstractSubject
Parameters:
plugin - The Plugin
Returns:
A Collection of child Theme

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


Copyright © 2013 Mairie de Paris. All Rights Reserved.