Class PluginActionManager

    • Method Detail

      • 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
      • fillModel

        public static <A extends IPluginAction<?>> void fillModel​(javax.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