public interface IMediaHandlerDAO
Modifier and Type | Method and Description |
---|---|
boolean |
checkMediaHandlerByAccount(int nIdAccount,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Check if some Account is used by Media
|
void |
delete(int nIdMediaHandler,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Delete a record from the table
|
void |
insert(MediaHandler mediaHandler,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Insert a new record in the table.
|
MediaHandler |
load(int nKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data from the table
|
List<MediaHandler> |
selectMediaHandlersList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of all the mediaHandler objects and returns them as a List
|
void |
store(MediaHandler mediaHandler,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Update the record in the table
|
void insert(MediaHandler mediaHandler, fr.paris.lutece.portal.service.plugin.Plugin plugin)
mediaHandler
- instance of the MediaHandler object to inssertplugin
- the Pluginvoid store(MediaHandler mediaHandler, fr.paris.lutece.portal.service.plugin.Plugin plugin)
mediaHandler
- the reference of the MediaHandlerplugin
- the Pluginvoid delete(int nIdMediaHandler, fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdMediaHandler
- int identifier of the MediaHandler to deleteplugin
- the PluginMediaHandler load(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
nKey
- The identifier of the mediaHandlerplugin
- the PluginList<MediaHandler> selectMediaHandlersList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
plugin
- the Pluginboolean checkMediaHandlerByAccount(int nIdAccount, fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdAccount
- the id account to checkplugin
- the PluginCopyright © 2018 City of Paris. All rights reserved.