Class EntryDAO
- java.lang.Object
-
- fr.paris.lutece.plugins.quicklinks.business.EntryDAO
-
-
Constructor Summary
Constructors Constructor Description EntryDAO()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddelete(int nId, fr.paris.lutece.portal.service.plugin.Plugin plugin)Deletes theEntrywhose identifier is specified in parameterCollection<IEntry>findByFilter(EntryFilter entryFilter, fr.paris.lutece.portal.service.plugin.Plugin plugin)Find allEntryspecified by filterIEntryinsert(IEntry entry, fr.paris.lutece.portal.service.plugin.Plugin plugin)Insert the EntryIEntryload(int nId, fr.paris.lutece.portal.service.plugin.Plugin plugin)Load the data of the entry type from the tableintnewPrimaryKey(fr.paris.lutece.portal.service.plugin.Plugin plugin)Calculate a new primary key to add a newEntryvoidstore(IEntry entry, fr.paris.lutece.portal.service.plugin.Plugin plugin)Update theEntry
-
-
-
Method Detail
-
newPrimaryKey
public int newPrimaryKey(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Calculate a new primary key to add a newEntry- Parameters:
plugin- ThePluginusing this data access service- Returns:
- The new key.
-
load
public IEntry load(int nId, fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of the entry type from the table
-
delete
public void delete(int nId, fr.paris.lutece.portal.service.plugin.Plugin plugin)Deletes theEntrywhose identifier is specified in parameter
-
insert
public IEntry insert(IEntry entry, fr.paris.lutece.portal.service.plugin.Plugin plugin)
Insert the Entry
-
store
public void store(IEntry entry, fr.paris.lutece.portal.service.plugin.Plugin plugin)
Update theEntry
-
findByFilter
public Collection<IEntry> findByFilter(EntryFilter entryFilter, fr.paris.lutece.portal.service.plugin.Plugin plugin)
Find allEntryspecified by filter- Specified by:
findByFilterin interfaceIEntryDAO- Parameters:
entryFilter- TheEntryFilterobjectplugin- thePlugin- Returns:
- the instance of the EntryType
-
-