Class EntryDAO
java.lang.Object
fr.paris.lutece.plugins.quicklinks.business.EntryDAO
- All Implemented Interfaces:
IEntryDAO
Class EntryDAO
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddelete(int nId, fr.paris.lutece.portal.service.plugin.Plugin plugin) Deletes theEntrywhose identifier is specified in parameterfindByFilter(EntryFilter entryFilter, fr.paris.lutece.portal.service.plugin.Plugin plugin) Find allEntryspecified by filterInsert the Entryload(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 newEntryvoidUpdate theEntry
-
Constructor Details
-
EntryDAO
public EntryDAO()
-
-
Method Details
-
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
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
Insert the Entry -
store
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
-