List of usage examples for com.liferay.portal.kernel.model ColorScheme getColorSchemeId
public String getColorSchemeId();
From source file:com.liferay.layout.admin.web.internal.portlet.action.ActionUtil.java
License:Open Source License
public String getColorSchemeId(long companyId, String themeId, String colorSchemeId) throws Exception { Theme theme = _themeLocalService.getTheme(companyId, themeId); if (!theme.hasColorSchemes()) { colorSchemeId = StringPool.BLANK; }//from w ww.ja v a 2s . com if (Validator.isNull(colorSchemeId)) { ColorScheme colorScheme = _themeLocalService.getColorScheme(companyId, themeId, colorSchemeId); colorSchemeId = colorScheme.getColorSchemeId(); } return colorSchemeId; }