Class AbstractSubject

java.lang.Object
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 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

      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