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.


Field Summary
static java.lang.String RESOURCE_TYPE
           
 
Constructor Summary
Theme()
          Creates a new Theme object.
 
Method Summary
 java.util.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
 java.util.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(java.util.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
 

Field Detail

RESOURCE_TYPE

public static final java.lang.String RESOURCE_TYPE
See Also:
Constant Field Values
Constructor Detail

Theme

public Theme()
Creates a new Theme object.

Method Detail

init

public static void init()
Initialize the theme


getQuestions

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

Returns:
A List of VisitorQuestion objects.

setQuestions

public void setQuestions(java.util.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 java.util.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 © 2008 Mairie de Paris. All Rights Reserved.