fr.paris.lutece.plugins.workflow.service.taskinfo
Class TaskInfoManager

java.lang.Object
  extended by fr.paris.lutece.plugins.workflow.service.taskinfo.TaskInfoManager

public final class TaskInfoManager
extends java.lang.Object

TaskInfoManager


Method Summary
static ITaskInfoProvider getProvider(java.lang.String strProviderKey)
          Get the provider from a given provider key
static java.util.List<ITaskInfoProvider> getProvidersList()
          Get the list of provider
static java.lang.String getTaskResourceInfo(int nIdHistory, int nIdTask, javax.servlet.http.HttpServletRequest request)
          Get the task resource info.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getProvidersList

public static java.util.List<ITaskInfoProvider> getProvidersList()
Get the list of provider

Returns:
the list of providers

getProvider

public static ITaskInfoProvider getProvider(java.lang.String strProviderKey)
Get the provider from a given provider key

Parameters:
strProviderKey - the provider key
Returns:
the provider

getTaskResourceInfo

public static java.lang.String getTaskResourceInfo(int nIdHistory,
                                                   int nIdTask,
                                                   javax.servlet.http.HttpServletRequest request)
Get the task resource info. This method will first get the appropriate provider from the given id task.

Parameters:
nIdHistory - the id history
nIdTask - the id task
request - the HTTP request
Returns:
the task resource info


Copyright © 2012 Mairie de Paris. All Rights Reserved.