All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.liferay.commerce.service.CommerceAvailabilityEstimateServiceWrapper Maven / Gradle / Ivy

There is a newer version: 91.0.0
Show newest version
/**
 * 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.commerce.service;

import com.liferay.portal.kernel.service.ServiceWrapper;

/**
 * Provides a wrapper for {@link CommerceAvailabilityEstimateService}.
 *
 * @author Alessio Antonio Rendina
 * @see CommerceAvailabilityEstimateService
 * @generated
 */
public class CommerceAvailabilityEstimateServiceWrapper
	implements CommerceAvailabilityEstimateService,
			   ServiceWrapper {

	public CommerceAvailabilityEstimateServiceWrapper() {
		this(null);
	}

	public CommerceAvailabilityEstimateServiceWrapper(
		CommerceAvailabilityEstimateService
			commerceAvailabilityEstimateService) {

		_commerceAvailabilityEstimateService =
			commerceAvailabilityEstimateService;
	}

	@Override
	public com.liferay.commerce.model.CommerceAvailabilityEstimate
			addCommerceAvailabilityEstimate(
				java.util.Map titleMap,
				double priority,
				com.liferay.portal.kernel.service.ServiceContext serviceContext)
		throws com.liferay.portal.kernel.exception.PortalException {

		return _commerceAvailabilityEstimateService.
			addCommerceAvailabilityEstimate(titleMap, priority, serviceContext);
	}

	@Override
	public void deleteCommerceAvailabilityEstimate(
			long commerceAvailabilityEstimateId)
		throws com.liferay.portal.kernel.exception.PortalException {

		_commerceAvailabilityEstimateService.deleteCommerceAvailabilityEstimate(
			commerceAvailabilityEstimateId);
	}

	@Override
	public com.liferay.commerce.model.CommerceAvailabilityEstimate
			getCommerceAvailabilityEstimate(long commerceAvailabilityEstimateId)
		throws com.liferay.portal.kernel.exception.PortalException {

		return _commerceAvailabilityEstimateService.
			getCommerceAvailabilityEstimate(commerceAvailabilityEstimateId);
	}

	@Override
	public java.util.List
		
				getCommerceAvailabilityEstimates(
					long companyId, int start, int end,
					com.liferay.portal.kernel.util.OrderByComparator
						 orderByComparator)
			throws com.liferay.portal.kernel.exception.PortalException {

		return _commerceAvailabilityEstimateService.
			getCommerceAvailabilityEstimates(
				companyId, start, end, orderByComparator);
	}

	@Override
	public int getCommerceAvailabilityEstimatesCount(long companyId)
		throws com.liferay.portal.kernel.exception.PortalException {

		return _commerceAvailabilityEstimateService.
			getCommerceAvailabilityEstimatesCount(companyId);
	}

	/**
	 * Returns the OSGi service identifier.
	 *
	 * @return the OSGi service identifier
	 */
	@Override
	public String getOSGiServiceIdentifier() {
		return _commerceAvailabilityEstimateService.getOSGiServiceIdentifier();
	}

	@Override
	public com.liferay.commerce.model.CommerceAvailabilityEstimate
			updateCommerceAvailabilityEstimate(
				long commerceAvailabilityEstimateId,
				java.util.Map titleMap,
				double priority,
				com.liferay.portal.kernel.service.ServiceContext serviceContext)
		throws com.liferay.portal.kernel.exception.PortalException {

		return _commerceAvailabilityEstimateService.
			updateCommerceAvailabilityEstimate(
				commerceAvailabilityEstimateId, titleMap, priority,
				serviceContext);
	}

	@Override
	public CommerceAvailabilityEstimateService getWrappedService() {
		return _commerceAvailabilityEstimateService;
	}

	@Override
	public void setWrappedService(
		CommerceAvailabilityEstimateService
			commerceAvailabilityEstimateService) {

		_commerceAvailabilityEstimateService =
			commerceAvailabilityEstimateService;
	}

	private CommerceAvailabilityEstimateService
		_commerceAvailabilityEstimateService;

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy