fr.paris.lutece.plugins.workflow.modules.alert.business
Interface IAlertDAO

All Known Implementing Classes:
AlertDAO

public interface IAlertDAO

IAlertValueDAO


Method Summary
 void deleteByHistory(int nIdResourceHistory, int nIdTask, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Remove alert by history
 void deleteByTask(int nIdTask, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Remove alert by task
 void insert(Alert alert, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Insert new record
 Alert load(int nIdResourceHistory, int nIdTask, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Load a record by primary key
 List<Alert> selectAll(fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Find all alerts
 

Method Detail

insert

void insert(Alert alert,
            fr.paris.lutece.portal.service.plugin.Plugin plugin)
Insert new record

Parameters:
alert - the Alert Object
plugin - the plugin

load

Alert load(int nIdResourceHistory,
           int nIdTask,
           fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load a record by primary key

Parameters:
nIdResourceHistory - the action history id
nIdTask - the task id
plugin - the plugin
Returns:
Alert Object

deleteByHistory

void deleteByHistory(int nIdResourceHistory,
                     int nIdTask,
                     fr.paris.lutece.portal.service.plugin.Plugin plugin)
Remove alert by history

Parameters:
nIdResourceHistory - the History id
nIdTask - the task id
plugin - the plugin

deleteByTask

void deleteByTask(int nIdTask,
                  fr.paris.lutece.portal.service.plugin.Plugin plugin)
Remove alert by task

Parameters:
nIdTask - the task id
plugin - the plugin

selectAll

List<Alert> selectAll(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Find all alerts

Parameters:
plugin - the plugin
Returns:
a list of Alert


Copyright © 2013 Mairie de Paris. All Rights Reserved.