fr.paris.lutece.plugins.workflow.modules.assignment.business
Class AssignmentHistoryDAO

java.lang.Object
  extended by fr.paris.lutece.plugins.workflow.modules.assignment.business.AssignmentHistoryDAO
All Implemented Interfaces:
IAssignmentHistoryDAO

public class AssignmentHistoryDAO
extends java.lang.Object
implements IAssignmentHistoryDAO

class AssignmentHistoryDAO


Constructor Summary
AssignmentHistoryDAO()
           
 
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AssignmentHistoryDAO

public AssignmentHistoryDAO()
Method Detail

insert

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

Specified by:
insert in interface IAssignmentHistoryDAO
Parameters:
history - history assignment
plugin - the plugin

selectByHistory

public 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

Specified by:
selectByHistory in interface IAssignmentHistoryDAO
Parameters:
nIdHistory - the history id
nIdTask - the task id
plugin - the plugin
Returns:
a list of AssignmentHistory

deleteByHistory

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

Specified by:
deleteByHistory in interface IAssignmentHistoryDAO
Parameters:
nIdHistory - the history id
nIdTask - the task id
plugin - the plugin

deleteByTask

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

Specified by:
deleteByTask in interface IAssignmentHistoryDAO
Parameters:
nIdTask - the task id
plugin - the plugin


Copyright © 2012 Mairie de Paris. All Rights Reserved.