|
||||||||||
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.MediaHandlerHome
public final class MediaHandlerHome
This class provides instances management methods (create, find, ...) for MediaHandler objects
Method Summary | |
---|---|
static boolean |
checkMediaHandlerByAccount(int nIdAccount)
Check if some Account is used by Media |
static MediaHandler |
create(MediaHandler mediaHandler)
Create an instance of the mediaHandler class |
static List<MediaHandler> |
findAll()
Load the data of all the mediaHandler objects and returns them in form of a collection |
static MediaHandler |
findByPrimaryKey(int nKey)
Returns an instance of a mediaHandler whose identifier is specified in parameter |
static void |
remove(int nMediaHandlerId)
Remove the mediaHandler whose identifier is specified in parameter |
static MediaHandler |
update(MediaHandler mediaHandler)
Update of the mediaHandler data specified in parameter |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static MediaHandler create(MediaHandler mediaHandler)
mediaHandler
- The instance of the MediaHandler which contains the informations to store
public static MediaHandler update(MediaHandler mediaHandler)
mediaHandler
- The instance of the MediaHandler which contains the data to store
public static void remove(int nMediaHandlerId)
nMediaHandlerId
- The mediaHandler Idpublic static MediaHandler findByPrimaryKey(int nKey)
nKey
- The mediaHandler primary key
public static List<MediaHandler> findAll()
public static boolean checkMediaHandlerByAccount(int nIdAccount)
nIdAccount
- the id account to check
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |