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

java.lang.Object
  extended by fr.paris.lutece.plugins.helpdesk.business.AbstractSubject
Direct Known Subclasses:
Subject, Theme

public abstract class AbstractSubject
extends Object

This class represent a generic helpdesk subject


Constructor Summary
AbstractSubject()
           
 
Method Summary
abstract  Collection<? extends AbstractSubject> getChilds(fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Get the child abstract subject list
 int getId()
          Returns the identifier of the abstract subject
 int getIdOrder()
           
 int getIdParent()
           
abstract  AbstractSubject getParent(fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Get the parent abstract subject
 String getText()
          Returns the abstract subject string
 void setId(int nId)
          Sets the identifier of the abstract subject to the specified value
 void setIdOrder(int nIdOrder)
           
 void setIdParent(int nIdParent)
           
 void setText(String strText)
          Sets the abstract subject string to the specified value
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractSubject

public AbstractSubject()
Method Detail

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

public String getText()
Returns the abstract subject string

Returns:
The abstract subject string

setText

public void setText(String strText)
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

public abstract AbstractSubject getParent(fr.paris.lutece.portal.service.plugin.Plugin plugin)
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 Collection of childs

getIdOrder

public int getIdOrder()
Returns:
the _nIdOrder

setIdOrder

public void setIdOrder(int nIdOrder)
Parameters:
nIdOrder - the _nIdOrder to set


Copyright © 2013 Mairie de Paris. All Rights Reserved.