Class Faq
java.lang.Object
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
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the DescriptionintgetId()Get the IdgetName()Get the nameGet the Lutece role keygetSubjectsList(fr.paris.lutece.portal.service.plugin.Plugin plugin) Get the list of subjects directly linked toFaq(not sub-subjects)getThemesList(fr.paris.lutece.portal.service.plugin.Plugin plugin) Get the list of themes directly linked toFaq(not sub-themes)Get the workgroup key forFaqstatic voidinit()Initialize the FaqvoidsetDescription(String strDescription) Set the DescriptionvoidsetId(int nId) Set the IdvoidSet the namevoidsetRoleKey(String strRoleKey) Set the Lutece role keyvoidsetWorkgroup(String strWorkgroupKey) Set the workgroup key forFaq
-
Field Details
-
RESOURCE_TYPE
- See Also:
-
ROLE_NONE
- See Also:
-
-
Constructor Details
-
Faq
public Faq()Creates a new Faq object.
-
-
Method Details
-
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
Get the name- Returns:
- the _strName
-
setName
Set the name- Parameters:
strName- the _strName to set
-
getDescription
Get the Description- Returns:
- the _strDescription
-
setDescription
Set the Description- Parameters:
strDescription- the _strDescription to set
-
getRoleKey
Get the Lutece role key- Returns:
- the _strRoleKey
-
setRoleKey
Set the Lutece role key- Parameters:
strRoleKey- the _strRoleKey to set
-
getSubjectsList
Get the list of subjects directly linked toFaq(not sub-subjects)- Parameters:
plugin- ThePlugin- Returns:
- The collection of
Subject
-
getThemesList
Get the list of themes directly linked toFaq(not sub-themes)- Parameters:
plugin- ThePlugin- Returns:
- The collection of
Theme
-
setWorkgroup
Set the workgroup key forFaq- Parameters:
strWorkgroupKey- the _strWorkgroupKey to set
-
getWorkgroup
Get the workgroup key forFaq- Specified by:
getWorkgroupin interfacefr.paris.lutece.portal.service.workgroup.AdminWorkgroupResource- Returns:
- the _strWorkgroupKey
-