public final class SuggestDAO extends Object implements ISuggestDAO
| Constructor and Description |
|---|
SuggestDAO() |
| Modifier and Type | Method and Description |
|---|---|
void |
delete(int nIdSuggest,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Delete a record from the table
|
Map<Integer,fr.paris.lutece.portal.business.style.Theme> |
getXPageThemesMap(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load all the themes for form xpages
|
int |
insert(Suggest suggest,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Insert a new record in the table.
|
Suggest |
load(int nId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of the suggest from the table
|
int |
newPrimaryKey(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Generates a new primary key
|
List<Suggest> |
selectSuggestList(SuggestFilter filter,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of all the suggest who verify the filter and returns them in a list
|
void |
store(Suggest suggest,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Update the suggest in the table
|
void |
storeSuggestOrderField(int nId,
int nSortField,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Modify the order of a suggestsubmit
|
public int newPrimaryKey(fr.paris.lutece.portal.service.plugin.Plugin plugin)
plugin - the pluginpublic int insert(Suggest suggest, fr.paris.lutece.portal.service.plugin.Plugin plugin)
insert in interface ISuggestDAOsuggest - instance of the Suggest to insertplugin - the pluginpublic Suggest load(int nId, fr.paris.lutece.portal.service.plugin.Plugin plugin)
load in interface ISuggestDAOnId - The identifier of the suggestplugin - the pluginpublic void delete(int nIdSuggest,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
delete in interface ISuggestDAOnIdSuggest - The identifier of the suggestplugin - the pluginpublic void store(Suggest suggest, fr.paris.lutece.portal.service.plugin.Plugin plugin)
store in interface ISuggestDAOsuggest - instance of the suggest object to updateplugin - the pluginpublic List<Suggest> selectSuggestList(SuggestFilter filter, fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectSuggestList in interface ISuggestDAOfilter - the filterplugin - the pluginpublic void storeSuggestOrderField(int nId,
int nSortField,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
storeSuggestOrderField in interface ISuggestDAOnSortField - The reference field to sortnId - The suggest identifierplugin - The pluginpublic Map<Integer,fr.paris.lutece.portal.business.style.Theme> getXPageThemesMap(fr.paris.lutece.portal.service.plugin.Plugin plugin)
getXPageThemesMap in interface ISuggestDAOplugin - the pluginCopyright © 2018 City of Paris. All rights reserved.