Class PluginActionManager

java.lang.Object
fr.paris.lutece.portal.web.pluginaction.PluginActionManager

public final class PluginActionManager extends Object
PluginActionManager.
See Also:
  • Method Details

    • getListPluginAction

      public static <A extends IPluginAction<?>> List<A> getListPluginAction(Class<A> pluginActionClass)
      Gets the list of IPluginAction.
      Type Parameters:
      A - the generic type
      Parameters:
      pluginActionClass - the plugin action class
      Returns:
      the list
    • getPluginAction

      public static <A extends IPluginAction<?>> A getPluginAction(jakarta.servlet.http.HttpServletRequest request, Class<A> pluginActionClass)
      Gets the IPluginAction for the request.
      Type Parameters:
      A - the generic type
      Parameters:
      request - the request
      pluginActionClass - the plugin action class
      Returns:
      the invoked IPluginAction, null otherwise.
      See Also:
    • fillModel

      public static <A extends IPluginAction<?>> void fillModel(jakarta.servlet.http.HttpServletRequest request, AdminUser adminUser, Map<String,Object> model, Class<A> pluginActionClass, String strMark)
      Fills the model with all actions and adds the list to the given marker
      Type Parameters:
      A - the action type (usually the interface)
      Parameters:
      request - the request
      adminUser - the admin user
      model - the model
      pluginActionClass - the action class (usually the interface)
      strMark - the marker to put for the actions list