Class ExtendableResourcePluginActionManager

java.lang.Object
fr.paris.lutece.portal.web.resource.ExtendableResourcePluginActionManager

public final class ExtendableResourcePluginActionManager extends Object
This manager is used to fill the model with the actions that interact with extend.
It uses the method fillModel of the manager PluginActionManager.
  • Field Details

    • MARK_ID_EXTENDABLE_RESOURCE

      public static final String MARK_ID_EXTENDABLE_RESOURCE
      See Also:
    • MARK_EXTENDABLE_RESOURCE_TYPE

      public static final String MARK_EXTENDABLE_RESOURCE_TYPE
      See Also:
    • TEMPLATE_EXTENDABLE_RESOURCE_ACTION_LIST

      public static final String TEMPLATE_EXTENDABLE_RESOURCE_ACTION_LIST
      The actions as a plain list, for a page that shows them in its own panel (the inspector of the site workspace)
      See Also:
  • Method Details

    • fillModel

      public static void fillModel(jakarta.servlet.http.HttpServletRequest request, AdminUser adminUser, Map<String,Object> model, String strIdExtendableResource, String strExtendableResourceType)
      Fill the model with all actions and adds the list to the given marker. It also add the mapParameter to the model.
      Parameters:
      request - the request
      adminUser - the admin user
      model - the model
      strIdExtendableResource - the str id extendable resource
      strExtendableResourceType - the str extendable resource type
    • fillModel

      public static void fillModel(jakarta.servlet.http.HttpServletRequest request, AdminUser adminUser, Map<String,Object> model, String strIdExtendableResource, String strExtendableResourceType, String strTemplate)
      Fill the model with all actions, rendered by the given template instead of the default offcanvas
      Parameters:
      request - the request
      adminUser - the admin user
      model - the model
      strIdExtendableResource - the str id extendable resource
      strExtendableResourceType - the str extendable resource type
      strTemplate - the template rendering the actions, for instance TEMPLATE_EXTENDABLE_RESOURCE_ACTION_LIST
    • fillModel

      public static void fillModel(jakarta.servlet.http.HttpServletRequest request, AdminUser adminUser, Models model, String strIdExtendableResource, String strExtendableResourceType)
      Fill the model with all actions and adds the list to the given marker. It also add the mapParameter to the models.
      Parameters:
      request - the request
      adminUser - the admin user
      model - the models object
      strIdExtendableResource - the str id extendable resource
      strExtendableResourceType - the str extendable resource type