|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectfr.paris.lutece.plugins.workflow.business.task.TaskHome
public final class TaskHome
This class provides instances management methods (create, find, ...) for Task objects
Method Summary | |
---|---|
static void |
create(ITask task,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Creation of an instance of task |
static ITask |
findByPrimaryKey(int nIdTask,
fr.paris.lutece.portal.service.plugin.Plugin plugin,
java.util.Locale locale)
Load the Task Object |
static java.util.List<ITask> |
getListTaskByIdAction(int nIdAction,
fr.paris.lutece.portal.service.plugin.Plugin plugin,
java.util.Locale locale)
Select all tasks associated to the action |
static void |
remove(int nIdTask,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
remove task which is specified in parameter |
static void |
update(ITask task,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Update of task which is specified in parameter |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static void create(ITask task, fr.paris.lutece.portal.service.plugin.Plugin plugin)
task
- The instance of task which contains the informations to storeplugin
- the pluginpublic static void update(ITask task, fr.paris.lutece.portal.service.plugin.Plugin plugin)
task
- The instance of task which contains the informations to updateplugin
- the Pluginpublic static void remove(int nIdTask, fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdTask
- The task keyplugin
- the Pluginpublic static ITask findByPrimaryKey(int nIdTask, fr.paris.lutece.portal.service.plugin.Plugin plugin, java.util.Locale locale)
nIdTask
- the task idplugin
- the pluginlocale
- the locale
public static java.util.List<ITask> getListTaskByIdAction(int nIdAction, fr.paris.lutece.portal.service.plugin.Plugin plugin, java.util.Locale locale)
nIdAction
- the action keyplugin
- the pluginlocale
- the locale
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |