public class EntityActionsManager extends Object
| Modifier | Constructor and Description |
|---|---|
protected |
EntityActionsManager() |
|
EntityActionsManager(org.sakaiproject.entitybroker.entityprovider.EntityProviderMethodStore entityProviderMethodStore)
Full constructor
|
| Modifier and Type | Method and Description |
|---|---|
org.sakaiproject.entitybroker.entityprovider.extension.CustomAction |
getCustomAction(String prefix,
String action)
Get the
CustomAction for a prefix and action if it exists |
org.sakaiproject.entitybroker.entityprovider.extension.ActionReturn |
handleCustomActionExecution(org.sakaiproject.entitybroker.entityprovider.capabilities.ActionsExecutable actionProvider,
org.sakaiproject.entitybroker.EntityReference ref,
String action,
Map<String,Object> actionParams,
OutputStream outputStream,
org.sakaiproject.entitybroker.EntityView view,
Map<String,Object> searchParams)
Handles the execution of custom actions based on a request for execution
|
org.sakaiproject.entitybroker.entityprovider.extension.ActionReturn |
handleCustomActionRequest(org.sakaiproject.entitybroker.entityprovider.capabilities.ActionsExecutable actionProvider,
org.sakaiproject.entitybroker.EntityView entityView,
String action,
HttpServletRequest request,
HttpServletResponse response,
Map<String,Object> searchParams)
Execute a custom action request
|
void |
setEntityProviderMethodStore(org.sakaiproject.entitybroker.entityprovider.EntityProviderMethodStore entityProviderMethodStore) |
protected EntityActionsManager()
public EntityActionsManager(org.sakaiproject.entitybroker.entityprovider.EntityProviderMethodStore entityProviderMethodStore)
entityProviderMethodStore - the provider method store servicepublic void setEntityProviderMethodStore(org.sakaiproject.entitybroker.entityprovider.EntityProviderMethodStore entityProviderMethodStore)
public org.sakaiproject.entitybroker.entityprovider.extension.ActionReturn handleCustomActionRequest(org.sakaiproject.entitybroker.entityprovider.capabilities.ActionsExecutable actionProvider,
org.sakaiproject.entitybroker.EntityView entityView,
String action,
HttpServletRequest request,
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 org.sakaiproject.entitybroker.entityprovider.extension.ActionReturn handleCustomActionExecution(org.sakaiproject.entitybroker.entityprovider.capabilities.ActionsExecutable actionProvider,
org.sakaiproject.entitybroker.EntityReference ref,
String action,
Map<String,Object> actionParams,
OutputStream outputStream,
org.sakaiproject.entitybroker.EntityView view,
Map<String,Object> searchParams)
IllegalArgumentException - if any args are invalidUnsupportedOperationException - if the action is not valid for this prefixpublic org.sakaiproject.entitybroker.entityprovider.extension.CustomAction getCustomAction(String prefix, String action)
CustomAction for a prefix and action if it existsprefix - an entity prefixaction - an action keyCopyright © 2007-2014 Sakai Project. All Rights Reserved.