List of usage examples for com.liferay.portal.kernel.util PropsKeys COMPANY_SECURITY_SITE_LOGO
String COMPANY_SECURITY_SITE_LOGO
To view the source code for com.liferay.portal.kernel.util PropsKeys COMPANY_SECURITY_SITE_LOGO.
Click Source Link
From source file:com.liferay.portlet.portalsettings.action.EditCompanyAction.java
License:Open Source License
protected void updateDisplay(ActionRequest actionRequest) throws Exception { Company company = PortalUtil.getCompany(actionRequest); String languageId = ParamUtil.getString(actionRequest, "languageId"); String timeZoneId = ParamUtil.getString(actionRequest, "timeZoneId"); CompanyServiceUtil.updateDisplay(company.getCompanyId(), languageId, timeZoneId); boolean siteLogo = ParamUtil.getBoolean(actionRequest, "settings--" + PropsKeys.COMPANY_SECURITY_SITE_LOGO + "--"); CompanyServiceUtil.updateSecurity(company.getCompanyId(), company.getAuthType(), company.isAutoLogin(), company.isSendPassword(), company.isStrangers(), company.isStrangersWithMx(), company.isStrangersVerify(), siteLogo); boolean deleteLogo = ParamUtil.getBoolean(actionRequest, "deleteLogo"); if (deleteLogo) { CompanyServiceUtil.deleteLogo(company.getCompanyId()); }//ww w. jav a 2 s.c o m }