fr.paris.lutece.plugins.quicklinks.business
Interface IEntry

All Known Implementing Classes:
Entry, EntryInternalLink, EntrySelect, EntryText, EntryUrl

public interface IEntry

Interface for Entry


Method Summary
 IEntry clone()
           
 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.HashMap<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 nId)
           
 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
 

Method Detail

getIdQuicklinks

int getIdQuicklinks()
Returns:
the nIdQuicklinks

setIdQuicklinks

void setIdQuicklinks(int nIdQuicklinks)
Parameters:
nIdQuicklinks - the nIdQuicklinks to set

getId

int getId()
Returns:
the nId

setId

void setId(int nId)
Parameters:
nId - the nIdEntry to set

getIdOrder

int getIdOrder()
Returns:
the nIdOrder

setIdOrder

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

getIdParent

int getIdParent()
Returns:
the _nIdParent

setIdParent

void setIdParent(int nIdParent)
Parameters:
nIdParent - the _nIdParent to set

getParent

IEntry getParent(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Parameters:
plugin - the Plugin
Returns:
the parent Entry

getChilds

java.util.Collection<IEntry> getChilds(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Get the child abstract Entry list

Parameters:
plugin - The Plugin
Returns:
A Collection of childs

getEntryType

EntryType getEntryType()
Returns:
the entryType

setEntryType

void setEntryType(EntryType entryType)
Parameters:
nType - the entryType to set

getTitle

java.lang.String getTitle()
Returns:
the strTitle

setTitle

void setTitle(java.lang.String strTitle)
Parameters:
strTitle - the strTitle to set

getHtml

java.lang.String getHtml(fr.paris.lutece.portal.service.plugin.Plugin plugin,
                         java.util.Locale locale)
Get the HTML code of the entry

Parameters:
plugin - The Plugin
locale - The Locale
Returns:
HTML code of the entry

getSpecificParameters

void getSpecificParameters(javax.servlet.http.HttpServletRequest request,
                           java.util.HashMap<java.lang.String,java.lang.Object> model,
                           fr.paris.lutece.portal.service.plugin.Plugin plugin)
get the specific parameters for the entry

Parameters:
request - the HttpServletRequest
model - The HashMap to fill
plugin - The Plugin

setSpecificParameters

java.lang.String setSpecificParameters(javax.servlet.http.HttpServletRequest request)
Set the specific parameters for the entry

Parameters:
request - the HttpServletRequest
Returns:
The i18n message if error occurs, null else

clone

IEntry clone()
             throws java.lang.CloneNotSupportedException
Returns:
Throws:
java.lang.CloneNotSupportedException

copy

IEntry copy(int nIdQuicklinks,
            fr.paris.lutece.portal.service.plugin.Plugin plugin)
Copy an Entry

Parameters:
nIdQuicklinks - The Quicklinks identifier
plugin - The Plugin
Returns:
The IEntry copy

copy

IEntry copy(int nIdQuicklinks,
            fr.paris.lutece.portal.service.plugin.Plugin plugin,
            java.lang.String strNewName)
Copy an Entry

Parameters:
nIdQuicklinks - The Quicklinks identifier
plugin - The Plugin
strNewName - The new name
Returns:
The IEntry copy

loadSpecificParameters

void loadSpecificParameters(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the specific parameters

Parameters:
plugin - The Plugin

createSpecificParameters

void createSpecificParameters(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Create the specific parameters

Parameters:
plugin - The Plugin

removeSpecificParameters

void removeSpecificParameters(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Remove the specific parameters

Parameters:
plugin - The Plugin

updateSpecificParameters

void updateSpecificParameters(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Update the specific parameters

Parameters:
plugin - The Plugin


Copyright © 2011 Mairie de Paris. All Rights Reserved.