|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectfr.paris.lutece.plugins.directory.business.EntryDAO
public final class EntryDAO
This class provides Data Access methods for Entry objects
Constructor Summary | |
---|---|
EntryDAO()
|
Method Summary | |
---|---|
void |
delete(int nIdEntry,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Delete a record from the table |
int |
insert(IEntry entry,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Insert a new record in the table. |
IEntry |
load(int nId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of the entry from the table |
java.util.List<IEntry> |
selectEntryListByFilter(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 |
java.util.List<IEntry> |
selectEntryListByTypeByFilter(java.util.List<java.lang.Integer> idTypeEntryList,
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 |
int |
selectNumberEntryByFilter(EntryFilter filter,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Return the number of entry who verify the filter |
void |
store(IEntry entry,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Update the entry in the table |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public EntryDAO()
Method Detail |
---|
public int insert(IEntry entry, fr.paris.lutece.portal.service.plugin.Plugin plugin)
insert
in interface IEntryDAO
entry
- instance of the Entry object to insertplugin
- the plugin
public IEntry load(int nId, fr.paris.lutece.portal.service.plugin.Plugin plugin)
load
in interface IEntryDAO
nId
- The identifier of the entryplugin
- the plugin
public void delete(int nIdEntry, fr.paris.lutece.portal.service.plugin.Plugin plugin)
delete
in interface IEntryDAO
nIdEntry
- The identifier of the entryplugin
- the pluginpublic void store(IEntry entry, fr.paris.lutece.portal.service.plugin.Plugin plugin)
store
in interface IEntryDAO
entry
- instance of the Entry object to updateplugin
- the pluginpublic java.util.List<IEntry> selectEntryListByFilter(EntryFilter filter, fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectEntryListByFilter
in interface IEntryDAO
filter
- the filterplugin
- the plugin
public int selectNumberEntryByFilter(EntryFilter filter, fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectNumberEntryByFilter
in interface IEntryDAO
filter
- the filterplugin
- the plugin
public java.util.List<IEntry> selectEntryListByTypeByFilter(java.util.List<java.lang.Integer> idTypeEntryList, EntryFilter filter, fr.paris.lutece.portal.service.plugin.Plugin plugin)
IEntryDAO
selectEntryListByTypeByFilter
in interface IEntryDAO
idTypeEntryList
- a of entry type needed (by id)filter
- the filterplugin
- the plugin
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |