Constructor and Description |
---|
EntryDAO() |
Modifier and Type | Method and Description |
---|---|
void |
delete(int nIdEntry,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Delete a record from the table
|
List<IEntry> |
findEntriesWithoutParent(fr.paris.lutece.portal.service.plugin.Plugin plugin,
int nIdDirectory)
Finds all the entries without any parent
|
List<IEntry> |
getEntryListAnonymizeStatus(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Get the list of entries whith their titles, their ids and their anonymization status.
|
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
|
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
|
List<IEntry> |
selectEntryListByTypeByFilter(List<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
|
void |
updateEntryAnonymizeStatus(Integer nEntryId,
Boolean bAnonymize,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Update an entry anonymization status
|
public int insert(IEntry entry, fr.paris.lutece.portal.service.plugin.Plugin plugin)
public IEntry load(int nId, fr.paris.lutece.portal.service.plugin.Plugin plugin)
public void delete(int nIdEntry, fr.paris.lutece.portal.service.plugin.Plugin plugin)
public void store(IEntry entry, fr.paris.lutece.portal.service.plugin.Plugin plugin)
public List<IEntry> selectEntryListByFilter(EntryFilter filter, fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectEntryListByFilter
in interface IEntryDAO
filter
- the filterplugin
- the pluginpublic int selectNumberEntryByFilter(EntryFilter filter, fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectNumberEntryByFilter
in interface IEntryDAO
filter
- the filterplugin
- the pluginpublic List<IEntry> selectEntryListByTypeByFilter(List<Integer> idTypeEntryList, EntryFilter filter, fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectEntryListByTypeByFilter
in interface IEntryDAO
idTypeEntryList
- a of entry type needed (by id)filter
- the filterplugin
- the pluginpublic List<IEntry> getEntryListAnonymizeStatus(fr.paris.lutece.portal.service.plugin.Plugin plugin)
getEntryListAnonymizeStatus
in interface IEntryDAO
plugin
- The pluginpublic void updateEntryAnonymizeStatus(Integer nEntryId, Boolean bAnonymize, fr.paris.lutece.portal.service.plugin.Plugin plugin)
updateEntryAnonymizeStatus
in interface IEntryDAO
nEntryId
- Id of the entrybAnonymize
- True if the entry should be anonymize, false otherwiseplugin
- The pluginpublic List<IEntry> findEntriesWithoutParent(fr.paris.lutece.portal.service.plugin.Plugin plugin, int nIdDirectory)
findEntriesWithoutParent
in interface IEntryDAO
plugin
- the pluginnIdDirectory
- the id of the concerned directoryCopyright © 2020 City of Paris. All rights reserved.