java.lang.Object
fr.paris.lutece.plugins.quicklinks.business.Entry
All Implemented Interfaces:
IEntry, Cloneable
Direct Known Subclasses:
EntryInternalLink, EntrySelect, EntryText, EntryUrl

public class Entry extends Object implements IEntry, Cloneable
  • Constructor Details

    • Entry

      public Entry()
  • Method Details

    • getIdParent

      public int getIdParent()
      Specified by:
      getIdParent in interface IEntry
      Returns:
      the _nIdParent
    • setIdParent

      public void setIdParent(int nIdParent)
      Specified by:
      setIdParent in interface IEntry
      Parameters:
      nIdParent - the _nIdParent to set
    • getIdQuicklinks

      public int getIdQuicklinks()
      Specified by:
      getIdQuicklinks in interface IEntry
      Returns:
      the nIdQuicklinks
    • setIdQuicklinks

      public void setIdQuicklinks(int nIdQuicklinks)
      Specified by:
      setIdQuicklinks in interface IEntry
      Parameters:
      nIdQuicklinks - the nIdQuicklinks to set
    • getId

      public int getId()
      Specified by:
      getId in interface IEntry
      Returns:
      the nId
    • setId

      public void setId(int nIdEntry)
      Specified by:
      setId in interface IEntry
      Parameters:
      nIdEntry - the nIdEntry to set
    • getIdOrder

      public int getIdOrder()
      Specified by:
      getIdOrder in interface IEntry
      Returns:
      the nIdOrder
    • setIdOrder

      public void setIdOrder(int nIdOrder)
      Specified by:
      setIdOrder in interface IEntry
      Parameters:
      nIdOrder - the nIdOrder to set
    • getEntryType

      public EntryType getEntryType()
      Specified by:
      getEntryType in interface IEntry
      Returns:
      the entryType
    • setEntryType

      public void setEntryType(EntryType entryType)
      Specified by:
      setEntryType in interface IEntry
      Parameters:
      entryType - the entryType to set
    • getTitle

      public String getTitle()
      Specified by:
      getTitle in interface IEntry
      Returns:
      the strTitle
    • setTitle

      public void setTitle(String strTitle)
      Specified by:
      setTitle in interface IEntry
      Parameters:
      strTitle - the strTitle to set
    • clone

      public IEntry clone() throws CloneNotSupportedException
      Clone the entry
      Specified by:
      clone in interface IEntry
      Returns:
      new entry
      Throws:
      CloneNotSupportedException - exception
    • copy

      public IEntry copy(int nIdQuicklinks, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Copy an Entry
      Specified by:
      copy in interface IEntry
      Parameters:
      nIdQuicklinks - The Quicklinks identifier
      plugin - the Plugin
      Returns:
      The IEntry copy
    • copy

      public IEntry copy(int nIdQuicklinks, fr.paris.lutece.portal.service.plugin.Plugin plugin, String strNewName)
      Copy an Entry
      Specified by:
      copy in interface IEntry
      Parameters:
      nIdQuicklinks - The Quicklinks identifier
      plugin - the Plugin
      strNewName - The new name
      Returns:
      The IEntry copy
    • getHtml

      public String getHtml(fr.paris.lutece.portal.service.plugin.Plugin plugin, Locale locale)
      Description copied from interface: IEntry
      Get the HTML code of the entry
      Specified by:
      getHtml in interface IEntry
      Parameters:
      plugin - The Plugin
      locale - The Locale
      Returns:
      HTML code of the entry
    • getChilds

      public Collection<IEntry> getChilds(fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Description copied from interface: IEntry
      Get the child abstract Entry list
      Specified by:
      getChilds in interface IEntry
      Parameters:
      plugin - The Plugin
      Returns:
      A Collection of childs
    • getParent

      public IEntry getParent(fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Specified by:
      getParent in interface IEntry
      Parameters:
      plugin - the Plugin
      Returns:
      the parent Entry
    • setSpecificParameters

      public String setSpecificParameters(jakarta.servlet.http.HttpServletRequest request)
      Set the specific parameters for the entry
      Specified by:
      setSpecificParameters in interface IEntry
      Parameters:
      request - the HttpServletRequest
      Returns:
      The i18n message if error occurs, null else
    • getSpecificParameters

      public void getSpecificParameters(jakarta.servlet.http.HttpServletRequest request, Map<String,Object> model, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Get the specific parameters for the entry
      Specified by:
      getSpecificParameters in interface IEntry
      Parameters:
      request - the HttpServletRequest
      model - The HashMap model
      plugin - The Plugin
    • loadSpecificParameters

      public void loadSpecificParameters(fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Load the specific parameters
      Specified by:
      loadSpecificParameters in interface IEntry
      Parameters:
      plugin - The Plugin
    • createSpecificParameters

      public void createSpecificParameters(fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Create the specific parameters
      Specified by:
      createSpecificParameters in interface IEntry
      Parameters:
      plugin - The Plugin
    • removeSpecificParameters

      public void removeSpecificParameters(fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Remove the specific parameters
      Specified by:
      removeSpecificParameters in interface IEntry
      Parameters:
      plugin - The Plugin
    • updateSpecificParameters

      public void updateSpecificParameters(fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Update the specific parameters
      Specified by:
      updateSpecificParameters in interface IEntry
      Parameters:
      plugin - The Plugin