|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfr.paris.lutece.plugins.phraseanet.business.media.MediaHandlerDAO
public final class MediaHandlerDAO
This class provides Data Access methods for MediaHandler objects
| Constructor Summary | |
|---|---|
MediaHandlerDAO()
|
|
| Method Summary | |
|---|---|
boolean |
checkMediaHandlerByAccount(int nIdAccount,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Check if some Account is used by Media |
void |
delete(int nMediaHandlerId,
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 nId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of the mediaHandler from the table |
int |
newPrimaryKey(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Generates a new primary key |
List<MediaHandler> |
selectMediaHandlersList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of all the mediaHandlers and returns them as a List |
void |
store(MediaHandler mediaHandler,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Update the record in the table |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MediaHandlerDAO()
| Method Detail |
|---|
public int newPrimaryKey(fr.paris.lutece.portal.service.plugin.Plugin plugin)
plugin - The Plugin
public void insert(MediaHandler mediaHandler,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
insert in interface IMediaHandlerDAOmediaHandler - instance of the MediaHandler object to insertplugin - The plugin
public MediaHandler load(int nId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
load in interface IMediaHandlerDAOnId - The identifier of the mediaHandlerplugin - The plugin
public void delete(int nMediaHandlerId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
delete in interface IMediaHandlerDAOnMediaHandlerId - The identifier of the mediaHandlerplugin - The plugin
public void store(MediaHandler mediaHandler,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
store in interface IMediaHandlerDAOmediaHandler - The reference of the mediaHandlerplugin - The pluginpublic List<MediaHandler> selectMediaHandlersList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectMediaHandlersList in interface IMediaHandlerDAOplugin - The plugin
public boolean checkMediaHandlerByAccount(int nIdAccount,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
checkMediaHandlerByAccount in interface IMediaHandlerDAOnIdAccount - the id account to checkplugin - the plugin
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||