com.liferay.portlet.layoutsadmin.action
Class EditLayoutsAction
java.lang.Object
org.apache.struts.action.Action
com.liferay.portal.struts.PortletAction
com.liferay.portlet.layoutsadmin.action.EditLayoutsAction
- Direct Known Subclasses:
- EditLayoutBranchAction, EditLayoutsAction, EditLayoutSetAction, EditLayoutSetBranchAction
public class EditLayoutsAction
- extends PortletAction
Fields inherited from class org.apache.struts.action.Action |
defaultLocale, servlet |
Method Summary |
protected void |
checkPermission(PermissionChecker permissionChecker,
Group group,
Layout layout,
long selPlid)
|
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 void |
inheritMobileRuleGroups(Layout layout,
ServiceContext serviceContext)
|
protected boolean |
isCheckMethodOnProcessAction()
|
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 |
selectLayoutBranch(ActionRequest actionRequest)
|
protected void |
selectLayoutSetBranch(ActionRequest actionRequest)
|
void |
serveResource(org.apache.struts.action.ActionMapping actionMapping,
org.apache.struts.action.ActionForm actionForm,
PortletConfig portletConfig,
ResourceRequest resourceRequest,
ResourceResponse resourceResponse)
|
protected void |
setThemeSettingProperties(ActionRequest actionRequest,
UnicodeProperties typeSettingsProperties,
String themeId,
Map<String,ThemeSetting> themeSettings,
String device,
String deviceThemeId)
|
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,
String themeId)
|
protected UnicodeProperties |
updateThemeSettingsProperties(ActionRequest actionRequest,
long companyId,
UnicodeProperties typeSettingsProperties,
String themeId,
String device,
String deviceThemeId,
boolean wapTheme)
|
Methods inherited from class com.liferay.portal.struts.PortletAction |
addSuccessMessage, execute, getForward, getForward, getForwardKey, getForwardKey, getModuleConfig, getResources, getResources, getResources, isDisplaySuccessMessage, 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 |
EditLayoutsAction
public EditLayoutsAction()
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
checkPermission
protected void checkPermission(PermissionChecker permissionChecker,
Group group,
Layout layout,
long selPlid)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
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)
inheritMobileRuleGroups
protected void inheritMobileRuleGroups(Layout layout,
ServiceContext serviceContext)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
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
setThemeSettingProperties
protected void setThemeSettingProperties(ActionRequest actionRequest,
UnicodeProperties typeSettingsProperties,
String themeId,
Map<String,ThemeSetting> themeSettings,
String device,
String deviceThemeId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
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,
String themeId)
throws Exception
- Throws:
Exception
updateThemeSettingsProperties
protected UnicodeProperties updateThemeSettingsProperties(ActionRequest actionRequest,
long companyId,
UnicodeProperties typeSettingsProperties,
String themeId,
String device,
String deviceThemeId,
boolean wapTheme)
throws Exception
- Throws:
Exception