public final class NoticeHome extends Object
| Modifier and Type | Method and Description |
|---|---|
static void |
copy(Notice notice,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Copy of an instance of notice
|
static int |
create(Notice notice,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Creation of an instance of notice
|
static Notice |
findByPrimaryKey(int nKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Returns an instance of a notice whose identifier is specified in parameter
|
static fr.paris.lutece.util.ReferenceList |
findByTitle(String strTitle,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Returns an instance of a notice whose identifier is specified in parameter
|
static int |
findMaxOrderForNoticeGroup(int nIdNoticeGroup,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Finds the last order for the group
|
static List<Notice> |
getNoticeList(NoticeFilter filter,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of all the notice who verify the filter and returns them in a list
|
static fr.paris.lutece.util.ReferenceList |
getNoticeList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the list of all notice returns them in a reference list
|
static boolean |
isEnable(Notice notice,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Returns true if is enable false otherwise
|
static void |
remove(int nIdNotice,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Remove the notice whose identifier is specified in parameter
|
static void |
update(Notice notice,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Update of the notice which is specified in parameter
|
public static int create(Notice notice, fr.paris.lutece.portal.service.plugin.Plugin plugin)
notice - The instance of the Notice which contains the informations to storeplugin - the Pluginpublic static void copy(Notice notice, fr.paris.lutece.portal.service.plugin.Plugin plugin)
notice - The instance of the notice who must copyplugin - the Pluginpublic static void update(Notice notice, fr.paris.lutece.portal.service.plugin.Plugin plugin)
notice - The instance of the notice which contains the informations to updateplugin - the Pluginpublic static void remove(int nIdNotice,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdNotice - The notice Idplugin - the Pluginpublic static Notice findByPrimaryKey(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
nKey - The entry primary keyplugin - the Pluginpublic static fr.paris.lutece.util.ReferenceList findByTitle(String strTitle, fr.paris.lutece.portal.service.plugin.Plugin plugin)
strTitle - The title of the noticeplugin - the Pluginpublic static List<Notice> getNoticeList(NoticeFilter filter, fr.paris.lutece.portal.service.plugin.Plugin plugin)
filter - the filterplugin - the pluginpublic static fr.paris.lutece.util.ReferenceList getNoticeList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
plugin - the pluginpublic static boolean isEnable(Notice notice, fr.paris.lutece.portal.service.plugin.Plugin plugin)
notice - The noticeplugin - the Pluginpublic static int findMaxOrderForNoticeGroup(int nIdNoticeGroup,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdNoticeGroup - the notice group idplugin - the plugin0 otherwise.Copyright © 2016 Mairie de Paris. All Rights Reserved.