Class AbstractSubject
java.lang.Object
fr.paris.lutece.plugins.helpdesk.business.AbstractSubject
This class represent a generic helpdesk subject
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract Collection<? extends AbstractSubject>getChilds(fr.paris.lutece.portal.service.plugin.Plugin plugin) Get the child abstract subject listintgetId()Returns the identifier of the abstract subjectintintabstract AbstractSubjectgetParent(fr.paris.lutece.portal.service.plugin.Plugin plugin) Get the parent abstract subjectgetText()Returns the abstract subject stringvoidsetId(int nId) Sets the identifier of the abstract subject to the specified valuevoidsetIdOrder(int nIdOrder) voidsetIdParent(int nIdParent) voidSets the abstract subject string to the specified value
-
Constructor Details
-
AbstractSubject
public AbstractSubject()
-
-
Method Details
-
getId
public int getId()Returns the identifier of the abstract subject- Returns:
- The identifier of the abstract subject
-
setId
public void setId(int nId) Sets the identifier of the abstract subject to the specified value- Parameters:
nId- The new value
-
getText
Returns the abstract subject string- Returns:
- The abstract subject string
-
setText
Sets the abstract subject string to the specified value- Parameters:
strText- The new value
-
getIdParent
public int getIdParent()- Returns:
- the _nIdParent
-
setIdParent
public void setIdParent(int nIdParent) - Parameters:
nIdParent- the _nIdParent to set
-
getParent
Get the parent abstract subject- Parameters:
plugin- The Plugin- Returns:
- The parent abstract subject
-
getChilds
public abstract Collection<? extends AbstractSubject> getChilds(fr.paris.lutece.portal.service.plugin.Plugin plugin) Get the child abstract subject list- Parameters:
plugin- The Plugin- Returns:
- A
Collectionof childs
-
getIdOrder
public int getIdOrder()- Returns:
- the _nIdOrder
-
setIdOrder
public void setIdOrder(int nIdOrder) - Parameters:
nIdOrder- the _nIdOrder to set
-