Class ExtendableResourcePluginActionManager
java.lang.Object
fr.paris.lutece.portal.web.resource.ExtendableResourcePluginActionManager
This manager is used to fill the model with the actions that interact with extend.
It uses the method fillModel of the manager
It uses the method fillModel of the manager
PluginActionManager.-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic voidfillModel(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.static voidfillModel(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.static voidfillModel(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
-
Field Details
-
MARK_ID_EXTENDABLE_RESOURCE
- See Also:
-
MARK_EXTENDABLE_RESOURCE_TYPE
- See Also:
-
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 requestadminUser- the admin usermodel- the modelstrIdExtendableResource- the str id extendable resourcestrExtendableResourceType- 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 requestadminUser- the admin usermodel- the modelstrIdExtendableResource- the str id extendable resourcestrExtendableResourceType- the str extendable resource typestrTemplate- the template rendering the actions, for instanceTEMPLATE_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 requestadminUser- the admin usermodel- the models objectstrIdExtendableResource- the str id extendable resourcestrExtendableResourceType- the str extendable resource type
-