public final class DbNotificationHome extends Object
| Modifier and Type | Method and Description |
|---|---|
static DbNotification |
create(DbNotification notification)
Create an instance of the notification class
|
static List<DbNotification> |
findByDemand(int nDemandId)
Select all notification for a given demand
|
static DbNotification |
findByPrimaryKey(int nKey)
Returns an instance of a notification whose identifier is specified in parameter
|
static List<Integer> |
getIdNotificationsList()
Load the id of all the notification objects and returns them in form of a collection
|
static List<DbNotification> |
getNotificationsList()
Load the data of all the notification objects and returns them in form of a collection
|
static void |
remove(int nKey)
Remove the notification whose identifier is specified in parameter
|
static DbNotification |
update(DbNotification notification)
Update of the notification which is specified in parameter
|
public static DbNotification create(DbNotification notification)
notification - The instance of the DbNotification which contains the informations to storepublic static DbNotification update(DbNotification notification)
notification - The instance of the DbNotification which contains the data to storepublic static void remove(int nKey)
nKey - The notification Idpublic static DbNotification findByPrimaryKey(int nKey)
nKey - The notification primary keypublic static List<DbNotification> findByDemand(int nDemandId)
nDemandId - The demand IDpublic static List<DbNotification> getNotificationsList()
Copyright © 2016 City of Paris. All rights reserved.