| org.apache.jetspeed.ajax.AjaxAction
All known Subclasses: org.apache.jetspeed.layout.impl.MultipleAction, org.apache.jetspeed.layout.impl.RemovePortletAction, org.apache.jetspeed.layout.impl.ChangePortletAction, org.apache.jetspeed.layout.impl.BasePortletAction, org.apache.jetspeed.layout.impl.ExportJetspeedSchema, org.apache.jetspeed.layout.impl.GetPortletActionsAction, org.apache.jetspeed.layout.impl.GetUserInformationAction, org.apache.jetspeed.layout.impl.GetFolderAction, org.apache.jetspeed.layout.impl.BaseGetResourceAction, org.apache.jetspeed.layout.impl.GetMenusAction, org.apache.jetspeed.layout.impl.MovePortletAction, org.apache.jetspeed.layout.impl.BaseSiteUpdateAction, org.apache.jetspeed.layout.impl.SecurityConstraintsAction, org.apache.jetspeed.layout.impl.UpdatePageAction, org.apache.jetspeed.layout.impl.GetFolderListAction, org.apache.jetspeed.layout.impl.GetPageAction, org.apache.jetspeed.layout.impl.SecurityPermissionAction, org.apache.jetspeed.layout.impl.GetThemesAction, org.apache.jetspeed.layout.impl.GetPagesAction, org.apache.jetspeed.layout.impl.GetMenuAction, org.apache.jetspeed.layout.impl.GetLinkAction, org.apache.jetspeed.layout.impl.GetUserListAction, org.apache.jetspeed.layout.impl.ExportObject, org.apache.jetspeed.layout.impl.UpdateFolderAction, org.apache.jetspeed.layout.impl.UpdateLinkAction, org.apache.jetspeed.layout.impl.GetPortletsAction, org.apache.jetspeed.layout.impl.AddPortletAction, org.apache.jetspeed.layout.impl.GetFoldersListAction, org.apache.jetspeed.layout.impl.BaseUserAction,
AjaxAction | public interface AjaxAction (Code) | | 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
author: David Sean Taylor |
Method Summary | |
public boolean | checkAccess(RequestContext context, String action) Checks to see if the current subject has access to to execute this action. | public boolean | run(RequestContext requestContext, 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. | public boolean | runBatch(RequestContext requestContext, Map resultMap) |
checkAccess | public boolean checkAccess(RequestContext context, String action)(Code) | | Checks to see if the current subject has access to to execute this action.
Parameters: context - true if access granted, false if denied. |
run | public boolean run(RequestContext requestContext, Map resultMap) throws AJAXException(Code) | | The action should put any parameters or results it wants
passed on to the builders in the resultMap
This method runs an Ajax action.
Parameters: requestContext - The Jetspeed Request Context Parameters: resultMap - map of action parameters passed to the builder context success is true, failure is false throws: Exception - |
runBatch | public boolean runBatch(RequestContext requestContext, Map resultMap) throws AJAXException(Code) | | 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
Parameters: requestContext - The Jetspeed Request Context Parameters: resultMap - map of action parameters passed to the builder context success is true, failure is false throws: Exception - |
|
|