Class EntryHome
- java.lang.Object
-
- fr.paris.lutece.plugins.form.business.EntryHome
-
public final class EntryHome extends java.lang.ObjectThis class provides instances management methods (create, find, ...) for Entry objects
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidcopy(IEntry entry, fr.paris.lutece.portal.service.plugin.Plugin plugin)Copy of an instance of Entrystatic intcreate(IEntry entry, fr.paris.lutece.portal.service.plugin.Plugin plugin)Creation of an instance of Entrystatic IEntryfindByPrimaryKey(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)Returns an instance of a Entry whose identifier is specified in parameterstatic java.util.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 liststatic intgetNumberEntryByFilter(EntryFilter filter, fr.paris.lutece.portal.service.plugin.Plugin plugin)Return the number of entry who verify the filterstatic voidremove(int nIdEntry, fr.paris.lutece.portal.service.plugin.Plugin plugin)Remove the entry whose identifier is specified in parameterstatic voidupdate(IEntry entry, fr.paris.lutece.portal.service.plugin.Plugin plugin)Update of the entry which is specified in parameter
-
-
-
Method Detail
-
create
public static int create(IEntry entry, fr.paris.lutece.portal.service.plugin.Plugin plugin)
Creation of an instance of Entry- Parameters:
entry- The instance of the Entry which contains the informations to storeplugin- the Plugin- Returns:
- The primary key of the new entry.
-
copy
public static void copy(IEntry entry, fr.paris.lutece.portal.service.plugin.Plugin plugin)
Copy of an instance of Entry- Parameters:
entry- The instance of the Entry who must copyplugin- the Plugin
-
update
public static void update(IEntry entry, fr.paris.lutece.portal.service.plugin.Plugin plugin)
Update of the entry which is specified in parameter- Parameters:
entry- The instance of the Entry which contains the informations to updateplugin- the Plugin
-
remove
public static void remove(int nIdEntry, fr.paris.lutece.portal.service.plugin.Plugin plugin)Remove the entry whose identifier is specified in parameter- Parameters:
nIdEntry- The entry Idplugin- the Plugin
-
findByPrimaryKey
public 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- Parameters:
nKey- The entry primary keyplugin- the Plugin- Returns:
- an instance of Entry
-
getEntryList
public static java.util.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- Parameters:
filter- the filterplugin- the plugin- Returns:
- the list of entry
-
getNumberEntryByFilter
public static int getNumberEntryByFilter(EntryFilter filter, fr.paris.lutece.portal.service.plugin.Plugin plugin)
Return the number of entry who verify the filter- Parameters:
filter- the filterplugin- the plugin- Returns:
- the number of entry who verify the filter
-
-