public interface INoticeDAO
Modifier and Type | Method and Description |
---|---|
void |
delete(int nIdNotice,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Delete a record notice the table
|
fr.paris.lutece.util.ReferenceList |
getEnableNoticeList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of all enable notice returns them in a reference list
|
List<Notice> |
getNoticeByIdForm(String nIdForm,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the list of the Notice from the table
|
fr.paris.lutece.util.ReferenceList |
getNoticeByTitle(String strTitle,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of the Notice from the table
|
int |
insert(Notice notice,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Insert a new notice in the table.
|
boolean |
isEnable(Notice notice,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Returns true if is enable false otherwise
|
Notice |
load(int nKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of the Notice from the table
|
int |
selectMaxOrderByNoticeGroup(int nIdNoticeGroup,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Selects the last order for the group
|
List<Notice> |
selectNoticeList(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
|
void |
store(Notice notice,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Update the notice in the table
|
int insert(Notice notice, fr.paris.lutece.portal.service.plugin.Plugin plugin)
notice
- instance of the Notice to insertplugin
- the pluginvoid store(Notice notice, fr.paris.lutece.portal.service.plugin.Plugin plugin)
notice
- instance of the Notice object to updateplugin
- the pluginvoid delete(int nIdNotice, fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdNotice
- The identifier of the noticeplugin
- the pluginNotice load(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
nKey
- The identifier of the noticeplugin
- the pluginfr.paris.lutece.util.ReferenceList getNoticeByTitle(String strTitle, fr.paris.lutece.portal.service.plugin.Plugin plugin)
strTitle
- The title of the noticeplugin
- the pluginList<Notice> selectNoticeList(NoticeFilter filter, fr.paris.lutece.portal.service.plugin.Plugin plugin)
filter
- the filterplugin
- the pluginfr.paris.lutece.util.ReferenceList getEnableNoticeList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
plugin
- the pluginList<Notice> getNoticeByIdForm(String nIdForm, fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdForm
- The id of formplugin
- the pluginboolean isEnable(Notice notice, fr.paris.lutece.portal.service.plugin.Plugin plugin)
notice
- The noticeplugin
- the Pluginint selectMaxOrderByNoticeGroup(int nIdNoticeGroup, fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdNoticeGroup
- the notice group idplugin
- the plugin-1
otherwise.Copyright © 2016 Mairie de Paris. All Rights Reserved.