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 Object

TaskInfoManager


Method Summary
static ITaskInfoProvider getProvider(String strProviderKey)
          Get the provider from a given provider key
static List<ITaskInfoProvider> getProvidersList()
          Get the list of provider
static 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 List<ITaskInfoProvider> getProvidersList()
Get the list of provider

Returns:
the list of providers

getProvider

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

Parameters:
strProviderKey - the provider key
Returns:
the provider

getTaskResourceInfo

public static 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 © 2013 Mairie de Paris. All Rights Reserved.