Liferay 6.1.10-ee-ga1

com.liferay.portlet.layoutsadmin.action
Class EditLayoutsAction

java.lang.Object
  extended by org.apache.struts.action.Action
      extended by com.liferay.portal.struts.PortletAction
          extended by com.liferay.portlet.layoutsadmin.action.EditLayoutsAction
Direct Known Subclasses:
EditLayoutBranchAction, EditLayoutsAction, EditLayoutSetAction, EditLayoutSetBranchAction

public class EditLayoutsAction
extends PortletAction


Field Summary
 
Fields inherited from class org.apache.struts.action.Action
defaultLocale, servlet
 
Constructor Summary
EditLayoutsAction()
           
 
Method Summary
protected  void checkPermissions(PortletRequest portletRequest)
           
protected  void deleteLayoutRevision(ActionRequest actionRequest)
           
protected  void deleteThemeSettingsProperties(UnicodeProperties typeSettingsProperties, String device)
           
protected  void enableLayout(ActionRequest actionRequest)
           
protected  String getColorSchemeId(long companyId, String themeId, String colorSchemeId, boolean wapTheme)
           
protected  Group getGroup(PortletRequest portletRequest)
           
protected  byte[] getIconBytes(UploadPortletRequest uploadPortletRequest, String iconFileName)
           
protected  UnicodeProperties getThemeSettingsProperties(ActionRequest actionRequest, long companyId, UnicodeProperties typeSettingsProperties, String device, String themeId, boolean wapTheme)
           
protected  boolean isCheckMethodOnProcessAction()
           
 void processAction(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, PortletConfig portletConfig, ActionRequest actionRequest, ActionResponse actionResponse)
           
 org.apache.struts.action.ActionForward render(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, PortletConfig portletConfig, RenderRequest renderRequest, RenderResponse renderResponse)
           
protected  void selectLayoutBranch(ActionRequest actionRequest)
           
protected  void selectLayoutSetBranch(ActionRequest actionRequest)
           
 void serveResource(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, PortletConfig portletConfig, ResourceRequest resourceRequest, ResourceResponse resourceResponse)
           
protected  String updateCloseRedirect(String closeRedirect, Group group, Layout layout, String oldLayoutFriendlyURL)
           
protected  void updateDisplayOrder(ActionRequest actionRequest)
           
protected  Object[] updateLayout(ActionRequest actionRequest, ActionResponse actionResponse)
           
protected  void updateLayoutRevision(ActionRequest actionRequest, ThemeDisplay themeDisplay)
           
protected  void updateLookAndFeel(ActionRequest actionRequest, long companyId, long liveGroupId, long stagingGroupId, boolean privateLayout, long layoutId, UnicodeProperties typeSettingsProperties)
           
 
Methods inherited from class com.liferay.portal.struts.PortletAction
addSuccessMessage, execute, getForward, getForward, getForwardKey, getForwardKey, getModuleConfig, getResources, getResources, getResources, redirectToLogin, 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

EditLayoutsAction

public EditLayoutsAction()
Method Detail

processAction

public void processAction(org.apache.struts.action.ActionMapping mapping,
                          org.apache.struts.action.ActionForm form,
                          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 mapping,
                                                     org.apache.struts.action.ActionForm form,
                                                     PortletConfig portletConfig,
                                                     RenderRequest renderRequest,
                                                     RenderResponse renderResponse)
                                              throws Exception
Overrides:
render in class PortletAction
Throws:
Exception

serveResource

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

checkPermissions

protected void checkPermissions(PortletRequest portletRequest)
                         throws Exception
Throws:
Exception

deleteLayoutRevision

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

deleteThemeSettingsProperties

protected void deleteThemeSettingsProperties(UnicodeProperties typeSettingsProperties,
                                             String device)

enableLayout

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

getColorSchemeId

protected String getColorSchemeId(long companyId,
                                  String themeId,
                                  String colorSchemeId,
                                  boolean wapTheme)
                           throws Exception
Throws:
Exception

getGroup

protected Group getGroup(PortletRequest portletRequest)
                  throws Exception
Throws:
Exception

getIconBytes

protected byte[] getIconBytes(UploadPortletRequest uploadPortletRequest,
                              String iconFileName)

getThemeSettingsProperties

protected UnicodeProperties getThemeSettingsProperties(ActionRequest actionRequest,
                                                       long companyId,
                                                       UnicodeProperties typeSettingsProperties,
                                                       String device,
                                                       String themeId,
                                                       boolean wapTheme)
                                                throws Exception
Throws:
Exception

isCheckMethodOnProcessAction

protected boolean isCheckMethodOnProcessAction()
Overrides:
isCheckMethodOnProcessAction in class PortletAction

selectLayoutBranch

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

selectLayoutSetBranch

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

updateCloseRedirect

protected String updateCloseRedirect(String closeRedirect,
                                     Group group,
                                     Layout layout,
                                     String oldLayoutFriendlyURL)

updateDisplayOrder

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

updateLayout

protected Object[] updateLayout(ActionRequest actionRequest,
                                ActionResponse actionResponse)
                         throws Exception
Throws:
Exception

updateLayoutRevision

protected void updateLayoutRevision(ActionRequest actionRequest,
                                    ThemeDisplay themeDisplay)
                             throws Exception
Throws:
Exception

updateLookAndFeel

protected void updateLookAndFeel(ActionRequest actionRequest,
                                 long companyId,
                                 long liveGroupId,
                                 long stagingGroupId,
                                 boolean privateLayout,
                                 long layoutId,
                                 UnicodeProperties typeSettingsProperties)
                          throws Exception
Throws:
Exception

Liferay 6.1.10-ee-ga1