fr.paris.lutece.plugins.workflow.modules.taskassignment.business
Class AssignmentHistoryHome

java.lang.Object
  extended by fr.paris.lutece.plugins.workflow.modules.taskassignment.business.AssignmentHistoryHome

public final class AssignmentHistoryHome
extends java.lang.Object

This class provides instances management methods (create, find, ...) for AssignmentHistory objects


Method Summary
static void create(AssignmentHistory assignmentHistory, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Creation of an instance of assignmentHistory
static java.util.List<AssignmentHistory> getListByHistory(int nIdHistory, int nIdTask, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          return the list of assignment associated width the history specified in parameter
static void removeByHistory(int nIdHistory, int nIdTask, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          remove all assignment associated width the history specified in parameter
static void removeByTask(int nIdTask, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          remove all assignment associated width the task specified in parameter
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

create

public static void create(AssignmentHistory assignmentHistory,
                          fr.paris.lutece.portal.service.plugin.Plugin plugin)
Creation of an instance of assignmentHistory

Parameters:
assignmentHistory - the history of the assignmennt
plugin - the plugin

removeByHistory

public static void removeByHistory(int nIdHistory,
                                   int nIdTask,
                                   fr.paris.lutece.portal.service.plugin.Plugin plugin)
remove all assignment associated width the history specified in parameter

Parameters:
nIdHistory - the history key
nIdTask - The task key
plugin - the Plugin

removeByTask

public static void removeByTask(int nIdTask,
                                fr.paris.lutece.portal.service.plugin.Plugin plugin)
remove all assignment associated width the task specified in parameter

Parameters:
nIdTask - The task key
plugin - the Plugin

getListByHistory

public static java.util.List<AssignmentHistory> getListByHistory(int nIdHistory,
                                                                 int nIdTask,
                                                                 fr.paris.lutece.portal.service.plugin.Plugin plugin)
return the list of assignment associated width the history specified in parameter

Parameters:
nIdHistory - the history id
nIdTask - the task id
plugin - the plugin
Returns:
the Config Object


Copyright © 2012 Mairie de Paris. All Rights Reserved.