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

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

Introduction

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

Prototype

public static com.liferay.portal.kernel.model.Company deleteLogo(long companyId)
        throws com.liferay.portal.kernel.exception.PortalException 

Source Link

Document

Deletes the company's logo.

Usage

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

License:Open Source License

@Override
public void deleteCompanyLogo(long companyId) throws PortalException {

    _log.info("Deleting company logog for company with id: " + companyId);

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

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

    _log.info("    ... deleting company ...");

    CompanyLocalServiceUtil.deleteLogo(companyId);

}