public class EntityActionsManager extends Object
| Modifier | Constructor and Description |
|---|---|
protected |
EntityActionsManager() |
|
EntityActionsManager(EntityProviderMethodStore entityProviderMethodStore)
Full constructor
|
| Modifier and Type | Method and Description |
|---|---|
CustomAction |
getCustomAction(String prefix,
String action)
Get the
CustomAction for a prefix and action if it exists |
ActionReturn |
handleCustomActionExecution(ActionsExecutable actionProvider,
EntityReference ref,
String action,
Map<String,Object> actionParams,
OutputStream outputStream,
EntityView view,
Map<String,Object> searchParams)
Handles the execution of custom actions based on a request for execution
|
ActionReturn |
handleCustomActionRequest(ActionsExecutable actionProvider,
EntityView entityView,
String action,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
Map<String,Object> searchParams)
Execute a custom action request
|
void |
setEntityProviderMethodStore(EntityProviderMethodStore entityProviderMethodStore) |
protected EntityActionsManager()
public EntityActionsManager(EntityProviderMethodStore entityProviderMethodStore)
entityProviderMethodStore - the provider method store servicepublic void setEntityProviderMethodStore(EntityProviderMethodStore entityProviderMethodStore)
public ActionReturn handleCustomActionRequest(ActionsExecutable actionProvider, EntityView entityView, String action, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, Map<String,Object> searchParams)
actionProvider - entityView - action - request - response - IllegalArgumentException - if any args are invalidUnsupportedOperationException - if the action is not valid for this prefixIllegalStateException - if a failure occurspublic ActionReturn handleCustomActionExecution(ActionsExecutable actionProvider, EntityReference ref, String action, Map<String,Object> actionParams, OutputStream outputStream, EntityView view, Map<String,Object> searchParams)
IllegalArgumentException - if any args are invalidUnsupportedOperationException - if the action is not valid for this prefixpublic CustomAction getCustomAction(String prefix, String action)
CustomAction for a prefix and action if it existsprefix - an entity prefixaction - an action keyCopyright © 2003–2020 Sakai Project. All rights reserved.