Class ServiceConfigTaskForm


  • public final class ServiceConfigTaskForm
    extends java.lang.Object
    The Class ServiceConfigTaskForm.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static fr.paris.lutece.util.ReferenceList buildReferenceListOfInactiveNotificationConfigs​(java.util.List<INotificationConfig> listNotificationConfig, java.util.Locale locale)
      Builds a ReferenceList of inactive notification configurations
      static java.lang.String displayErrorMessage​(java.util.List<java.lang.String> lstErrors, javax.servlet.http.HttpServletRequest request)
      display the error message.
      static fr.paris.lutece.util.ReferenceList getListNotification​(java.util.Locale locale)
      display the level of notification.
      static fr.paris.lutece.util.ReferenceList getProviderReferenceList​(fr.paris.lutece.plugins.workflowcore.service.task.ITask task)
      Gets the list provider.
      static int getTabIndex​(java.lang.String strTabName)
      Gets the index of the specified tab.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • buildReferenceListOfInactiveNotificationConfigs

        public static fr.paris.lutece.util.ReferenceList buildReferenceListOfInactiveNotificationConfigs​(java.util.List<INotificationConfig> listNotificationConfig,
                                                                                                         java.util.Locale locale)
        Builds a ReferenceList of inactive notification configurations
        Parameters:
        listNotificationConfig - the list of all notification configurations
        locale - the locale used to build the ReferenceList
        Returns:
        the ReferenceList
      • getListNotification

        public static fr.paris.lutece.util.ReferenceList getListNotification​(java.util.Locale locale)
        display the level of notification.
        Parameters:
        locale - to localize resources
        Returns:
        the list of notification
      • displayErrorMessage

        public static java.lang.String displayErrorMessage​(java.util.List<java.lang.String> lstErrors,
                                                           javax.servlet.http.HttpServletRequest request)
        display the error message.
        Parameters:
        lstErrors - the list of errors
        request - 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​(java.lang.String strTabName)
        Gets the index of the specified tab.
        Parameters:
        strTabName - the name of the tab
        Returns:
        the index of the tab