List of usage examples for com.liferay.portal.kernel.model Theme getConfigurableSettings
public Map<String, ThemeSetting> getConfigurableSettings();
From source file:com.liferay.layout.admin.web.internal.portlet.action.ActionUtil.java
License:Open Source License
public UnicodeProperties updateThemeSettingsProperties(ActionRequest actionRequest, long companyId, UnicodeProperties typeSettingsProperties, String device, String deviceThemeId, boolean layout) throws Exception { Theme theme = _themeLocalService.getTheme(companyId, deviceThemeId); deleteThemeSettingsProperties(typeSettingsProperties, device); Map<String, ThemeSetting> themeSettings = theme.getConfigurableSettings(); if (themeSettings.isEmpty()) { return typeSettingsProperties; }/* w w w. ja va2 s . c o m*/ setThemeSettingProperties(actionRequest, typeSettingsProperties, themeSettings, device, layout); return typeSettingsProperties; }