public final class DiggHome extends Object
Modifier and Type | Method and Description |
---|---|
static void |
copy(Digg digg,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Copy of an instance of Digg
|
static int |
create(Digg digg,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Creation of an instance of Digg
|
static Digg |
findByPrimaryKey(int nKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Returns an instance of a digg whose identifier is specified in parameter
|
static List<Digg> |
getDiggList(DiggFilter filter,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of all the diggs who verify the filter and returns them in
a list
|
static Map<Integer,fr.paris.lutece.portal.business.style.Theme> |
getXPageThemes(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the xpage themes for all diggs
|
static void |
remove(int nIdDigg,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Remove thedigg whose identifier is specified in parameter
|
static void |
update(Digg digg,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Update data of the digg which is specified in parameter
|
static void |
updateDiggSortField(int nNewField,
int nIdDigg,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Update the value of the field which will be use to sort the diggSubmit
|
public static int create(Digg digg, fr.paris.lutece.portal.service.plugin.Plugin plugin)
digg
- The instance of the Digg which contains the informations to
storeplugin
- the Pluginpublic static void copy(Digg digg, fr.paris.lutece.portal.service.plugin.Plugin plugin)
digg
- The instance of the digg who must copyplugin
- the Pluginpublic static void update(Digg digg, fr.paris.lutece.portal.service.plugin.Plugin plugin)
digg
- The instance of the digg which contains the informations to
updateplugin
- the Pluginpublic static void remove(int nIdDigg, fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdDigg
- The digg Idplugin
- the Pluginpublic static Digg findByPrimaryKey(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
nKey
- The digg primary keyplugin
- the Pluginpublic static List<Digg> getDiggList(DiggFilter filter, fr.paris.lutece.portal.service.plugin.Plugin plugin)
filter
- the filterplugin
- the pluginpublic static void updateDiggSortField(int nNewField, int nIdDigg, fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdDigg
- the id of the diggSubmitnNewField
- the new number of orderplugin
- The Plugin objectCopyright © 2016 Mairie de Paris. All Rights Reserved.