public interface AjaxAction
Modifier and Type | Method and Description |
---|---|
boolean |
checkAccess(RequestContext context,
String action)
Checks to see if the current subject has access to to execute this action.
|
boolean |
run(RequestContext requestContext,
Map<String,Object> resultMap)
The action should put any parameters or results it wants
passed on to the builders in the resultMap
This method runs an Ajax action.
|
boolean |
runBatch(RequestContext requestContext,
Map<String,Object> resultMap)
Same as run method, but runs in batch mode, as a hint to the action
that it is running a multiple action and can delay its update
runBatch currently supports pageManager.updatePage
|
boolean run(RequestContext requestContext, Map<String,Object> resultMap) throws AJAXException
requestContext
- The Jetspeed Request ContextresultMap
- map of action parameters (any object) passed to the builder contextAJAXException
boolean runBatch(RequestContext requestContext, Map<String,Object> resultMap) throws AJAXException
requestContext
- The Jetspeed Request ContextresultMap
- map of action parameters passed to the builder contextAJAXException
boolean checkAccess(RequestContext context, String action)
context
- Copyright © 1999–2016 The Apache Software Foundation. All rights reserved.