Class ServiceConfigTaskForm
- java.lang.Object
-
- fr.paris.lutece.plugins.workflow.modules.notifygru.service.ServiceConfigTaskForm
-
public final class ServiceConfigTaskForm extends Object
The Class ServiceConfigTaskForm.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static fr.paris.lutece.util.ReferenceListbuildReferenceListOfInactiveNotificationConfigs(List<INotificationConfig> listNotificationConfig, Locale locale)Builds aReferenceListof inactive notification configurationsstatic StringdisplayErrorMessage(List<String> lstErrors, javax.servlet.http.HttpServletRequest request)display the error message.static fr.paris.lutece.util.ReferenceListgetListNotification(Locale locale)display the level of notification.static fr.paris.lutece.util.ReferenceListgetProviderReferenceList(fr.paris.lutece.plugins.workflowcore.service.task.ITask task)Gets the list provider.static intgetTabIndex(String strTabName)Gets the index of the specified tab.
-
-
-
Method Detail
-
buildReferenceListOfInactiveNotificationConfigs
public static fr.paris.lutece.util.ReferenceList buildReferenceListOfInactiveNotificationConfigs(List<INotificationConfig> listNotificationConfig, Locale locale)
Builds aReferenceListof inactive notification configurations- Parameters:
listNotificationConfig- the list of all notification configurationslocale- the locale used to build theReferenceList- Returns:
- the
ReferenceList
-
getListNotification
public static fr.paris.lutece.util.ReferenceList getListNotification(Locale locale)
display the level of notification.- Parameters:
locale- to localize resources- Returns:
- the list of notification
-
displayErrorMessage
public static String displayErrorMessage(List<String> lstErrors, javax.servlet.http.HttpServletRequest request)
display the error message.- Parameters:
lstErrors- the list of errorsrequest- the http request- Returns:
- the error message
-
getProviderReferenceList
public static fr.paris.lutece.util.ReferenceList getProviderReferenceList(fr.paris.lutece.plugins.workflowcore.service.task.ITask task)
Gets the list provider.- Parameters:
task- the task- Returns:
- the list of providers
-
getTabIndex
public static int getTabIndex(String strTabName)
Gets the index of the specified tab.- Parameters:
strTabName- the name of the tab- Returns:
- the index of the tab
-
-