Interface IEntry
-
- All Known Implementing Classes:
Entry,EntryInternalLink,EntrySelect,EntryText,EntryUrl
public interface IEntryInterface for Entry
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description IEntryclone()IEntrycopy(int nIdQuicklinks, fr.paris.lutece.portal.service.plugin.Plugin plugin)Copy an EntryIEntrycopy(int nIdQuicklinks, fr.paris.lutece.portal.service.plugin.Plugin plugin, java.lang.String strNewName)Copy an EntryvoidcreateSpecificParameters(fr.paris.lutece.portal.service.plugin.Plugin plugin)Create the specific parametersjava.util.Collection<IEntry>getChilds(fr.paris.lutece.portal.service.plugin.Plugin plugin)Get the child abstract Entry listEntryTypegetEntryType()java.lang.StringgetHtml(fr.paris.lutece.portal.service.plugin.Plugin plugin, java.util.Locale locale)Get the HTML code of the entryintgetId()intgetIdOrder()intgetIdParent()intgetIdQuicklinks()IEntrygetParent(fr.paris.lutece.portal.service.plugin.Plugin plugin)voidgetSpecificParameters(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 entryjava.lang.StringgetTitle()voidloadSpecificParameters(fr.paris.lutece.portal.service.plugin.Plugin plugin)Load the specific parametersvoidremoveSpecificParameters(fr.paris.lutece.portal.service.plugin.Plugin plugin)Remove the specific parametersvoidsetEntryType(EntryType entryType)voidsetId(int nId)voidsetIdOrder(int nIdOrder)voidsetIdParent(int nIdParent)voidsetIdQuicklinks(int nIdQuicklinks)java.lang.StringsetSpecificParameters(javax.servlet.http.HttpServletRequest request)Set the specific parameters for the entryvoidsetTitle(java.lang.String strTitle)voidupdateSpecificParameters(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- thePlugin- 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
Collectionof childs
-
getEntryType
EntryType getEntryType()
- Returns:
- the entryType
-
setEntryType
void setEntryType(EntryType entryType)
- Parameters:
entryType- 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- ThePluginlocale- TheLocale- Returns:
- HTML code of the entry
-
getSpecificParameters
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- Parameters:
request- theHttpServletRequestmodel- The HashMap to fillplugin- ThePlugin
-
setSpecificParameters
java.lang.String setSpecificParameters(javax.servlet.http.HttpServletRequest request)
Set the specific parameters for the entry- Parameters:
request- theHttpServletRequest- Returns:
- The i18n message if error occurs, null else
-
clone
IEntry clone() throws java.lang.CloneNotSupportedException
- Returns:
- new entry
- Throws:
java.lang.CloneNotSupportedException- exception
-
copy
IEntry copy(int nIdQuicklinks, fr.paris.lutece.portal.service.plugin.Plugin plugin)
Copy an Entry- Parameters:
nIdQuicklinks- TheQuicklinksidentifierplugin- ThePlugin- Returns:
- The
IEntrycopy
-
copy
IEntry copy(int nIdQuicklinks, fr.paris.lutece.portal.service.plugin.Plugin plugin, java.lang.String strNewName)
Copy an Entry- Parameters:
nIdQuicklinks- TheQuicklinksidentifierplugin- ThePluginstrNewName- The new name- Returns:
- The
IEntrycopy
-
loadSpecificParameters
void loadSpecificParameters(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the specific parameters- Parameters:
plugin- ThePlugin
-
createSpecificParameters
void createSpecificParameters(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Create the specific parameters- Parameters:
plugin- ThePlugin
-
removeSpecificParameters
void removeSpecificParameters(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Remove the specific parameters- Parameters:
plugin- ThePlugin
-
updateSpecificParameters
void updateSpecificParameters(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Update the specific parameters- Parameters:
plugin- ThePlugin
-
-