public class VideoTypeDAO extends Object implements IVideoTypeDAO
| Constructor and Description |
|---|
VideoTypeDAO() |
| Modifier and Type | Method and Description |
|---|---|
void |
delete(int nIdSuggestSubmit,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Delete a record from the table
|
int |
insert(VideoType videoType,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Insert a new record in the table.
|
VideoType |
load(int nId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of the video from the table
|
void |
store(VideoType video,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Update the Video in the table
|
public int insert(VideoType videoType, fr.paris.lutece.portal.service.plugin.Plugin plugin) throws com.mysql.jdbc.PacketTooBigException
insert in interface IVideoTypeDAOvideoType - instance of the VideoType object to insertplugin - the plugincom.mysql.jdbc.PacketTooBigException - exceptionpublic VideoType load(int nId, fr.paris.lutece.portal.service.plugin.Plugin plugin)
load in interface IVideoTypeDAOnId - The identifier of the videoplugin - the pluginpublic void delete(int nIdSuggestSubmit,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
delete in interface IVideoTypeDAOnIdSuggestSubmit - The identifier of the nIdSuggestSubmit / Videoplugin - the pluginpublic void store(VideoType video, fr.paris.lutece.portal.service.plugin.Plugin plugin)
store in interface IVideoTypeDAOvideo - instance of the VideoType object to updateplugin - the pluginCopyright © 2018 City of Paris. All rights reserved.