Constructor and Description |
---|
DiggDAO() |
Modifier and Type | Method and Description |
---|---|
void |
delete(int nIdDigg,
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(Digg digg,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Insert a new record in the table.
|
Digg |
load(int nId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of the digg from the table
|
int |
newPrimaryKey(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Generates a new primary key
|
List<Digg> |
selectDiggList(DiggFilter filter,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of all the digg who verify the filter and returns them in a list
|
void |
store(Digg digg,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Update the digg in the table
|
void |
storeDiggOrderField(int nId,
int nSortField,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Modify the order of a diggsubmit
|
public int newPrimaryKey(fr.paris.lutece.portal.service.plugin.Plugin plugin)
plugin
- the pluginpublic int insert(Digg digg, fr.paris.lutece.portal.service.plugin.Plugin plugin)
public Digg load(int nId, fr.paris.lutece.portal.service.plugin.Plugin plugin)
public void delete(int nIdDigg, fr.paris.lutece.portal.service.plugin.Plugin plugin)
public void store(Digg digg, fr.paris.lutece.portal.service.plugin.Plugin plugin)
public List<Digg> selectDiggList(DiggFilter filter, fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectDiggList
in interface IDiggDAO
filter
- the filterplugin
- the pluginpublic void storeDiggOrderField(int nId, int nSortField, fr.paris.lutece.portal.service.plugin.Plugin plugin)
storeDiggOrderField
in interface IDiggDAO
nSortField
- The reference field to sortnId
- The digg identifierplugin
- The pluginpublic Map<Integer,fr.paris.lutece.portal.business.style.Theme> getXPageThemesMap(fr.paris.lutece.portal.service.plugin.Plugin plugin)
getXPageThemesMap
in interface IDiggDAO
plugin
- the pluginCopyright © 2016 Mairie de Paris. All Rights Reserved.