Liferay 6.2-ce-ga5

com.liferay.portlet.sites.action
Class EditGroupAction

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

public class EditGroupAction
extends PortletAction


Field Summary
 
Fields inherited from class org.apache.struts.action.Action
defaultLocale, servlet
 
Constructor Summary
EditGroupAction()
           
 
Method Summary
protected  void deleteGroups(ActionRequest actionRequest)
           
protected  long getRefererGroupId(ThemeDisplay themeDisplay)
           
protected  List<Role> getRoles(PortletRequest portletRequest)
           
protected  List<Team> getTeams(PortletRequest portletRequest)
           
 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)
           
protected  void resetMergeFailCountAndMerge(ActionRequest actionRequest)
          Resets the number of failed merge attempts for the site template, which is accessed by retrieving the layout set prototype ID.
protected  void updateActive(ActionRequest actionRequest, String cmd)
           
protected  String updateCloseRedirect(String closeRedirect, Group group, ThemeDisplay themeDisplay, String oldFriendlyURL, String oldStagingFriendlyURL)
           
protected  Object[] updateGroup(ActionRequest actionRequest)
           
 
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, serveResource, 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

EditGroupAction

public EditGroupAction()
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

deleteGroups

protected void deleteGroups(ActionRequest actionRequest)
                     throws Exception
Throws:
Exception

getRefererGroupId

protected long getRefererGroupId(ThemeDisplay themeDisplay)
                          throws Exception
Throws:
Exception

getRoles

protected List<Role> getRoles(PortletRequest portletRequest)
                       throws Exception
Throws:
Exception

getTeams

protected List<Team> getTeams(PortletRequest portletRequest)
                       throws Exception
Throws:
Exception

resetMergeFailCountAndMerge

protected void resetMergeFailCountAndMerge(ActionRequest actionRequest)
                                    throws Exception
Resets the number of failed merge attempts for the site template, which is accessed by retrieving the layout set prototype ID. Once the counter is reset, the modified site template is merged back into its linked site, which is accessed by retrieving the group ID and private layout set.

If the number of failed merge attempts is not equal to zero after the merge, an error key is submitted to SessionErrors.

Parameters:
actionRequest - the portlet request used to retrieve parameters
Throws:
Exception - if an exception occurred

updateActive

protected void updateActive(ActionRequest actionRequest,
                            String cmd)
                     throws Exception
Throws:
Exception

updateCloseRedirect

protected String updateCloseRedirect(String closeRedirect,
                                     Group group,
                                     ThemeDisplay themeDisplay,
                                     String oldFriendlyURL,
                                     String oldStagingFriendlyURL)
                              throws PortalException,
                                     SystemException
Throws:
PortalException
SystemException

updateGroup

protected Object[] updateGroup(ActionRequest actionRequest)
                        throws Exception
Throws:
Exception

Liferay 6.2-ce-ga5