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

java.lang.Object
  extended by fr.paris.lutece.plugins.helpdesk.business.Faq
All Implemented Interfaces:
fr.paris.lutece.portal.service.workgroup.AdminWorkgroupResource

public class Faq
extends Object
implements fr.paris.lutece.portal.service.workgroup.AdminWorkgroupResource

This class represents a Faq object.


Field Summary
static String RESOURCE_TYPE
           
static String ROLE_NONE
           
 
Constructor Summary
Faq()
          Creates a new Faq object.
 
Method Summary
 String getDescription()
          Get the Description
 int getId()
          Get the Id
 String getName()
          Get the name
 String getRoleKey()
          Get the Lutece role key
 Collection<Subject> getSubjectsList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Get the list of subjects directly linked to Faq (not sub-subjects)
 Collection<Theme> getThemesList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Get the list of themes directly linked to Faq (not sub-themes)
 String getWorkgroup()
          Get the workgroup key for Faq
static void init()
          Initialize the Faq
 void setDescription(String strDescription)
          Set the Description
 void setId(int nId)
          Set the Id
 void setName(String strName)
          Set the name
 void setRoleKey(String strRoleKey)
          Set the Lutece role key
 void setWorkgroup(String strWorkgroupKey)
          Set the workgroup key for Faq
 
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 String RESOURCE_TYPE
See Also:
Constant Field Values

ROLE_NONE

public static final String ROLE_NONE
See Also:
Constant Field Values
Constructor Detail

Faq

public Faq()
Creates a new Faq object.

Method Detail

init

public static void init()
Initialize the Faq


getId

public int getId()
Get the Id

Returns:
the _nId

setId

public void setId(int nId)
Set the Id

Parameters:
nId - the _nId to set

getName

public String getName()
Get the name

Returns:
the _strName

setName

public void setName(String strName)
Set the name

Parameters:
strName - the _strName to set

getDescription

public String getDescription()
Get the Description

Returns:
the _strDescription

setDescription

public void setDescription(String strDescription)
Set the Description

Parameters:
strDescription - the _strDescription to set

getRoleKey

public String getRoleKey()
Get the Lutece role key

Returns:
the _strRoleKey

setRoleKey

public void setRoleKey(String strRoleKey)
Set the Lutece role key

Parameters:
strRoleKey - the _strRoleKey to set

getSubjectsList

public Collection<Subject> getSubjectsList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Get the list of subjects directly linked to Faq (not sub-subjects)

Parameters:
plugin - The Plugin
Returns:
The collection of Subject

getThemesList

public Collection<Theme> getThemesList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Get the list of themes directly linked to Faq (not sub-themes)

Parameters:
plugin - The Plugin
Returns:
The collection of Theme

setWorkgroup

public void setWorkgroup(String strWorkgroupKey)
Set the workgroup key for Faq

Parameters:
strWorkgroupKey - the _strWorkgroupKey to set

getWorkgroup

public String getWorkgroup()
Get the workgroup key for Faq

Specified by:
getWorkgroup in interface fr.paris.lutece.portal.service.workgroup.AdminWorkgroupResource
Returns:
the _strWorkgroupKey


Copyright © 2013 Mairie de Paris. All Rights Reserved.