Liferay 6.2-ce-ga5

com.liferay.portlet.rolesadmin.action
Class EditRolePermissionsAction

java.lang.Object
  extended by org.apache.struts.action.Action
      extended by com.liferay.portal.struts.PortletAction
          extended by com.liferay.portlet.rolesadmin.action.EditRolePermissionsAction

public class EditRolePermissionsAction
extends PortletAction


Field Summary
 
Fields inherited from class org.apache.struts.action.Action
defaultLocale, servlet
 
Constructor Summary
EditRolePermissionsAction()
           
 
Method Summary
protected  void deletePermission(ActionRequest actionRequest, ActionResponse actionResponse)
           
 void processAction(org.apache.struts.action.ActionMapping actionMapping, org.apache.struts.action.ActionForm actionForm, PortletConfig portletConfig, ActionRequest actionRequest, ActionResponse actionResponse)
           
 org.apache.struts.action.ActionForward render(org.apache.struts.action.ActionMapping actionMapping, org.apache.struts.action.ActionForm actionForm, PortletConfig portletConfig, RenderRequest renderRequest, RenderResponse renderResponse)
           
 void serveResource(org.apache.struts.action.ActionMapping actionMapping, org.apache.struts.action.ActionForm actionForm, PortletConfig portletConfig, ResourceRequest resourceRequest, ResourceResponse resourceResponse)
           
protected  void updateAction(Role role, long groupId, String selResource, String actionId, boolean selected, int scope, String[] groupIds)
           
protected  void updateActions_Blocks(Role role, long scopeGroupId, String selResource, String actionId, boolean selected, int scope, String[] groupIds)
           
protected  void updateActions(ActionRequest actionRequest, ActionResponse actionResponse)
           
protected  void updateViewControlPanelPermission(Role role, long scopeGroupId, String portletId, int scope, String[] groupIds)
           
protected  void updateViewRootResourcePermission(Role role, long scopeGroupId, String portletId, int scope, String[] groupIds)
           
 
Methods inherited from class com.liferay.portal.struts.PortletAction
addSuccessMessage, execute, getForward, getForward, getForwardKey, getForwardKey, getModuleConfig, getResources, getResources, getResources, getStrictPortletSetup, getStrictPortletSetup, hideDefaultSuccessMessage, hideDefaultSuccessMessage, isCheckMethodOnProcessAction, isDisplaySuccessMessage, processEvent, redirectToLogin, sendRedirect, sendRedirect, sendRedirect, setForward, strutsExecute, writeJSON, writeJSON
 
Methods inherited from class org.apache.struts.action.Action
addErrors, addMessages, execute, generateToken, getDataSource, getDataSource, getErrors, getLocale, getMessages, getResources, getServlet, isCancelled, isTokenValid, isTokenValid, resetToken, saveErrors, saveErrors, saveErrors, saveMessages, saveMessages, saveToken, setLocale, setServlet
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EditRolePermissionsAction

public EditRolePermissionsAction()
Method Detail

processAction

public void processAction(org.apache.struts.action.ActionMapping actionMapping,
                          org.apache.struts.action.ActionForm actionForm,
                          PortletConfig portletConfig,
                          ActionRequest actionRequest,
                          ActionResponse actionResponse)
                   throws Exception
Overrides:
processAction in class PortletAction
Throws:
Exception

render

public org.apache.struts.action.ActionForward render(org.apache.struts.action.ActionMapping actionMapping,
                                                     org.apache.struts.action.ActionForm actionForm,
                                                     PortletConfig portletConfig,
                                                     RenderRequest renderRequest,
                                                     RenderResponse renderResponse)
                                              throws Exception
Overrides:
render in class PortletAction
Throws:
Exception

serveResource

public void serveResource(org.apache.struts.action.ActionMapping actionMapping,
                          org.apache.struts.action.ActionForm actionForm,
                          PortletConfig portletConfig,
                          ResourceRequest resourceRequest,
                          ResourceResponse resourceResponse)
                   throws Exception
Overrides:
serveResource in class PortletAction
Throws:
Exception

deletePermission

protected void deletePermission(ActionRequest actionRequest,
                                ActionResponse actionResponse)
                         throws Exception
Throws:
Exception

updateAction

protected void updateAction(Role role,
                            long groupId,
                            String selResource,
                            String actionId,
                            boolean selected,
                            int scope,
                            String[] groupIds)
                     throws Exception
Throws:
Exception

updateActions

protected void updateActions(ActionRequest actionRequest,
                             ActionResponse actionResponse)
                      throws Exception
Throws:
Exception

updateActions_Blocks

protected void updateActions_Blocks(Role role,
                                    long scopeGroupId,
                                    String selResource,
                                    String actionId,
                                    boolean selected,
                                    int scope,
                                    String[] groupIds)
                             throws Exception
Throws:
Exception

updateViewControlPanelPermission

protected void updateViewControlPanelPermission(Role role,
                                                long scopeGroupId,
                                                String portletId,
                                                int scope,
                                                String[] groupIds)
                                         throws Exception
Throws:
Exception

updateViewRootResourcePermission

protected void updateViewRootResourcePermission(Role role,
                                                long scopeGroupId,
                                                String portletId,
                                                int scope,
                                                String[] groupIds)
                                         throws Exception
Throws:
Exception

Liferay 6.2-ce-ga5