List of usage examples for com.liferay.portal.kernel.service CompanyLocalServiceUtil updateSecurity
public static void updateSecurity(long companyId, String authType, boolean autoLogin, boolean sendPassword, boolean strangers, boolean strangersWithMx, boolean strangersVerify, boolean siteLogo)
From source file:eu.gerhards.liferay.services.angular.service.impl.AngularVirtualInstanceServiceImpl.java
License:Open Source License
@Override public void updateCompanySecurity(long companyId, String authType, boolean autoLogin, boolean sendPassword, boolean strangers, boolean strangesWithMx, boolean strangersVerify, boolean siteLogo) throws PortalException { _log.info("Updating company security for company with id: " + companyId); _log.debug(" ... security check ..."); PortalPermissionUtil.check(getPermissionChecker(), AngularActionKeys.UPDATE_VIRTUAL_INSTANCE); _log.debug(" ... updating security ... "); CompanyLocalServiceUtil.updateSecurity(companyId, authType, autoLogin, sendPassword, strangers, strangesWithMx, strangersVerify, siteLogo); }