Class ServiceConfigTaskForm
java.lang.Object
fr.paris.lutece.plugins.workflow.modules.alertgru.service.ServiceConfigTaskForm
The Class ServiceConfigTaskForm.
-
Method Summary
Modifier and TypeMethodDescriptionstatic fr.paris.lutece.util.ReferenceListbuildReferenceListOfInactiveAlertConfigs(List<IAlertConfig> listAlertConfig, Locale locale) Builds aReferenceListof inactive alert configurationsstatic StringdisplayErrorMessage(List<String> lstErrors, javax.servlet.http.HttpServletRequest request) display the error message.static fr.paris.lutece.util.ReferenceListgetListAlert(Locale locale) display the level of alert.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 Details
-
buildReferenceListOfInactiveAlertConfigs
public static fr.paris.lutece.util.ReferenceList buildReferenceListOfInactiveAlertConfigs(List<IAlertConfig> listAlertConfig, Locale locale) Builds aReferenceListof inactive alert configurations- Parameters:
listAlertConfig- the list of all notification configurationslocale- the locale used to build theReferenceList- Returns:
- the
ReferenceList
-
getListAlert
display the level of alert.- Parameters:
locale- to localize resources- Returns:
- the list of alert
-
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
Gets the index of the specified tab.- Parameters:
strTabName- the name of the tab- Returns:
- the index of the tab
-