|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectfr.paris.lutece.plugins.crm.business.notification.NotificationHome
public final class NotificationHome
NotificationHome
Method Summary | |
---|---|
static int |
create(Notification notification)
Insert a new record in the table. |
static java.util.List<Notification> |
findAll()
Find all notifications |
static java.util.List<Notification> |
findByFilter(NotificationFilter nFilter)
Find all notification by filter |
static Notification |
findByPrimaryKey(int nIdNotification)
Load the data from the table |
static int |
newPrimaryKey()
Generates a new primary key |
static void |
remove(int nIdNotification)
Delete a record from the table |
static void |
removeByIdDemand(int nIdDemand)
Delete all records from a given id demand |
static void |
update(Notification notification)
Update the record in the table |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static int newPrimaryKey()
public static int create(Notification notification)
notification
- instance of the Notification object to insert
public static void update(Notification notification)
notification
- the reference of the Notificationpublic static void remove(int nIdNotification)
nIdNotification
- int identifier of the notification to deletepublic static void removeByIdDemand(int nIdDemand)
nIdDemand
- the id demandpublic static Notification findByPrimaryKey(int nIdNotification)
nIdNotification
- The identifier of the notification
public static java.util.List<Notification> findAll()
Notification
public static java.util.List<Notification> findByFilter(NotificationFilter nFilter)
nFilter
- the filter
Notification
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |