public final class MediaHandlerHome extends Object
Modifier and Type | Method and Description |
---|---|
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
|
public static MediaHandler create(MediaHandler mediaHandler)
mediaHandler
- The instance of the MediaHandler which contains the informations to storepublic static MediaHandler update(MediaHandler mediaHandler)
mediaHandler
- The instance of the MediaHandler which contains the data to storepublic static void remove(int nMediaHandlerId)
nMediaHandlerId
- The mediaHandler Idpublic static MediaHandler findByPrimaryKey(int nKey)
nKey
- The mediaHandler primary keypublic static List<MediaHandler> findAll()
public static boolean checkMediaHandlerByAccount(int nIdAccount)
nIdAccount
- the id account to checkCopyright © 2018 City of Paris. All rights reserved.