public final class EntryHome extends Object
Modifier and Type | Method and Description |
---|---|
static void |
copy(IEntry entry,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Copy of an instance of Entry
|
static int |
create(IEntry entry,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Creation of an instance of Entry
|
static IEntry |
findByPrimaryKey(int nKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Returns an instance of a Entry whose identifier is specified in parameter
|
static List<IEntry> |
getEntryList(EntryFilter filter,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of all the entry who verify the filter and returns them in a list
|
static int |
getNumberEntryByFilter(EntryFilter filter,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Return the number of entry who verify the filter
|
static void |
remove(int nIdEntry,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Remove the entry whose identifier is specified in parameter
|
static void |
update(IEntry entry,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Update of the entry which is specified in parameter
|
public static int create(IEntry entry, fr.paris.lutece.portal.service.plugin.Plugin plugin)
entry
- The instance of the Entry which contains the informations to storeplugin
- the Pluginpublic static void copy(IEntry entry, fr.paris.lutece.portal.service.plugin.Plugin plugin)
entry
- The instance of the Entry who must copyplugin
- the Pluginpublic static void update(IEntry entry, fr.paris.lutece.portal.service.plugin.Plugin plugin)
entry
- The instance of the Entry which contains the informations to updateplugin
- the Pluginpublic static void remove(int nIdEntry, fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdEntry
- The entry Idplugin
- the Pluginpublic static IEntry findByPrimaryKey(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
nKey
- The entry primary keyplugin
- the Pluginpublic static List<IEntry> getEntryList(EntryFilter filter, fr.paris.lutece.portal.service.plugin.Plugin plugin)
filter
- the filterplugin
- the pluginpublic static int getNumberEntryByFilter(EntryFilter filter, fr.paris.lutece.portal.service.plugin.Plugin plugin)
filter
- the filterplugin
- the pluginCopyright © 2017 City of Paris. All rights reserved.