fr.paris.lutece.plugins.workflow.modules.taskassignment.business
Interface IAssignmentHistoryDAO

All Known Implementing Classes:
AssignmentHistoryDAO

public interface IAssignmentHistoryDAO

IAssignmentHistoryDAO


Method Summary
 void deleteByHistory(int nIdHistory, int nIdTask, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          delete all assignments associated width the history specified in parameter
 void deleteByTask(int nIdTask, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          delete all assignments associated width the task specified in parameter
 void insert(AssignmentHistory history, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          insert new history assignment
 java.util.List<AssignmentHistory> selectByHistory(int nIdHistory, int nIdTask, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          return for a history the list of assignments
 

Method Detail

insert

void insert(AssignmentHistory history,
            fr.paris.lutece.portal.service.plugin.Plugin plugin)
insert new history assignment

Parameters:
history - history assignment
plugin - the plugin

selectByHistory

java.util.List<AssignmentHistory> selectByHistory(int nIdHistory,
                                                  int nIdTask,
                                                  fr.paris.lutece.portal.service.plugin.Plugin plugin)
return for a history the list of assignments

Parameters:
nIdHistory - the history id
nIdTask - the task id
plugin - the plugin
Returns:
a list of AssignmentHistory

deleteByTask

void deleteByTask(int nIdTask,
                  fr.paris.lutece.portal.service.plugin.Plugin plugin)
delete all assignments associated width the task specified in parameter

Parameters:
nIdTask - the task id
plugin - the plugin

deleteByHistory

void deleteByHistory(int nIdHistory,
                     int nIdTask,
                     fr.paris.lutece.portal.service.plugin.Plugin plugin)
delete all assignments associated width the history specified in parameter

Parameters:
nIdHistory - the history id
nIdTask - the task id
plugin - the plugin


Copyright © 2011 Mairie de Paris. All Rights Reserved.