com.liferay.layout.util.LayoutServiceContextHelper Maven / Gradle / Ivy
/**
* SPDX-FileCopyrightText: (c) 2000 Liferay, Inc. https://liferay.com
* SPDX-License-Identifier: LGPL-2.1-or-later OR LicenseRef-Liferay-DXP-EULA-2.0.0-2023-06
*/
package com.liferay.layout.util;
import com.liferay.portal.kernel.exception.PortalException;
import com.liferay.portal.kernel.model.Company;
import com.liferay.portal.kernel.model.Layout;
import com.liferay.portal.kernel.model.User;
import org.osgi.annotation.versioning.ProviderType;
/**
* @author Lourdes Fernández Besada
*/
@ProviderType
public interface LayoutServiceContextHelper {
public AutoCloseable getServiceContextAutoCloseable(Company company)
throws PortalException;
public AutoCloseable getServiceContextAutoCloseable(
Company company, User user)
throws PortalException;
public AutoCloseable getServiceContextAutoCloseable(Layout layout)
throws PortalException;
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy