Class Entry

    • Constructor Summary

      Constructors 
      Constructor Description
      Entry()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      IEntry clone()
      Clone the entry
      IEntry copy​(int nIdQuicklinks, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Copy an Entry
      IEntry copy​(int nIdQuicklinks, fr.paris.lutece.portal.service.plugin.Plugin plugin, java.lang.String strNewName)
      Copy an Entry
      void createSpecificParameters​(fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Create the specific parameters
      java.util.Collection<IEntry> getChilds​(fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Get the child abstract Entry list
      EntryType getEntryType()  
      java.lang.String getHtml​(fr.paris.lutece.portal.service.plugin.Plugin plugin, java.util.Locale locale)
      Get the HTML code of the entry
      int getId()  
      int getIdOrder()  
      int getIdParent()  
      int getIdQuicklinks()  
      IEntry getParent​(fr.paris.lutece.portal.service.plugin.Plugin plugin)  
      void getSpecificParameters​(javax.servlet.http.HttpServletRequest request, java.util.Map<java.lang.String,​java.lang.Object> model, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Get the specific parameters for the entry
      java.lang.String getTitle()  
      void loadSpecificParameters​(fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Load the specific parameters
      void removeSpecificParameters​(fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Remove the specific parameters
      void setEntryType​(EntryType entryType)  
      void setId​(int nIdEntry)  
      void setIdOrder​(int nIdOrder)  
      void setIdParent​(int nIdParent)  
      void setIdQuicklinks​(int nIdQuicklinks)  
      java.lang.String setSpecificParameters​(javax.servlet.http.HttpServletRequest request)
      Set the specific parameters for the entry
      void setTitle​(java.lang.String strTitle)  
      void updateSpecificParameters​(fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Update the specific parameters
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Entry

        public Entry()
    • Method Detail

      • 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
      • setEntryType

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

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

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

        public IEntry clone()
                     throws java.lang.CloneNotSupportedException
        Clone the entry
        Specified by:
        clone in interface IEntry
        Returns:
        new entry
        Throws:
        java.lang.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,
                           java.lang.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 java.lang.String getHtml​(fr.paris.lutece.portal.service.plugin.Plugin plugin,
                                        java.util.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 java.util.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 java.lang.String setSpecificParameters​(javax.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​(javax.servlet.http.HttpServletRequest request,
                                          java.util.Map<java.lang.String,​java.lang.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