Example usage for com.liferay.portal.kernel.service CompanyLocalServiceUtil updateCompany

List of usage examples for com.liferay.portal.kernel.service CompanyLocalServiceUtil updateCompany

Introduction

In this page you can find the example usage for com.liferay.portal.kernel.service CompanyLocalServiceUtil updateCompany.

Prototype

public static com.liferay.portal.kernel.model.Company updateCompany(long companyId, String virtualHostname,
        String mx, String homeURL, boolean hasLogo, byte[] logoBytes, String name, String legalName,
        String legalId, String legalType, String sicCode, String tickerSymbol, String industry, String type,
        String size) throws com.liferay.portal.kernel.exception.PortalException 

Source Link

Document

Update the company with additional account information.

Usage

From source file:eu.gerhards.liferay.services.angular.service.impl.AngularVirtualInstanceServiceImpl.java

License:Open Source License

@Override
public Company updateVirtualInstanceExtended(long companyId, String virtualHostname, String mx, String homeUrl,
        boolean logo, byte[] logoBytes, String name, String legalName, String legalId, String legalType,
        String sicCode, String tickerSymbol, String industry, String type, String size) throws PortalException {

    _log.info("Updating instance ...");

    _log.debug("    ... security check ...");

    PortalPermissionUtil.check(getPermissionChecker(), AngularActionKeys.UPDATE_VIRTUAL_INSTANCE);

    _log.debug(" .... updating company ...");

    return CompanyLocalServiceUtil.updateCompany(companyId, virtualHostname, mx, homeUrl, logo, logoBytes, name,
            legalName, legalId, legalType, sicCode, tickerSymbol, industry, type, size);
}