|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface AjaxAction
An Ajax request is made up of an action and builder phases. Implement this interface for the Ajax action phase. The action should put any parameters or results it wants passed on to the builders in the resultMap
Method Summary | |
---|---|
boolean |
checkAccess(RequestContext context,
java.lang.String action)
Checks to see if the current subject has access to to execute this action. |
boolean |
run(RequestContext requestContext,
java.util.Map 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,
java.util.Map 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 |
Method Detail |
---|
boolean run(RequestContext requestContext, java.util.Map resultMap) throws AJAXException
requestContext
- The Jetspeed Request ContextresultMap
- map of action parameters passed to the builder context
java.lang.Exception
AJAXException
boolean runBatch(RequestContext requestContext, java.util.Map resultMap) throws AJAXException
requestContext
- The Jetspeed Request ContextresultMap
- map of action parameters passed to the builder context
java.lang.Exception
AJAXException
boolean checkAccess(RequestContext context, java.lang.String action)
context
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |