Please wait. This can take some minutes ...
Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance.
Project price only 1 $
You can buy this project and download/modify it how often you want.
com.liferay.commerce.service.CommerceShipmentItemServiceWrapper 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.commerce.service;
import com.liferay.portal.kernel.service.ServiceWrapper;
/**
* Provides a wrapper for {@link CommerceShipmentItemService}.
*
* @author Alessio Antonio Rendina
* @see CommerceShipmentItemService
* @generated
*/
public class CommerceShipmentItemServiceWrapper
implements CommerceShipmentItemService,
ServiceWrapper {
public CommerceShipmentItemServiceWrapper() {
this(null);
}
public CommerceShipmentItemServiceWrapper(
CommerceShipmentItemService commerceShipmentItemService) {
_commerceShipmentItemService = commerceShipmentItemService;
}
@Override
public com.liferay.commerce.model.CommerceShipmentItem
addCommerceShipmentItem(
String externalReferenceCode, long commerceShipmentId,
long commerceOrderItemId, long commerceInventoryWarehouseId,
java.math.BigDecimal quantity, String unitOfMeasureKey,
boolean validateInventory,
com.liferay.portal.kernel.service.ServiceContext serviceContext)
throws com.liferay.portal.kernel.exception.PortalException {
return _commerceShipmentItemService.addCommerceShipmentItem(
externalReferenceCode, commerceShipmentId, commerceOrderItemId,
commerceInventoryWarehouseId, quantity, unitOfMeasureKey,
validateInventory, serviceContext);
}
@Override
public com.liferay.commerce.model.CommerceShipmentItem
addOrUpdateCommerceShipmentItem(
String externalReferenceCode, long commerceShipmentId,
long commerceOrderItemId, long commerceInventoryWarehouseId,
java.math.BigDecimal quantity, String unitOfMeasureKey,
boolean validateInventory,
com.liferay.portal.kernel.service.ServiceContext serviceContext)
throws com.liferay.portal.kernel.exception.PortalException {
return _commerceShipmentItemService.addOrUpdateCommerceShipmentItem(
externalReferenceCode, commerceShipmentId, commerceOrderItemId,
commerceInventoryWarehouseId, quantity, unitOfMeasureKey,
validateInventory, serviceContext);
}
/**
* @deprecated As of Mueller (7.2.x), pass boolean for restoring stock
*/
@Deprecated
@Override
public void deleteCommerceShipmentItem(long commerceShipmentItemId)
throws com.liferay.portal.kernel.exception.PortalException {
_commerceShipmentItemService.deleteCommerceShipmentItem(
commerceShipmentItemId);
}
@Override
public void deleteCommerceShipmentItem(
long commerceShipmentItemId, boolean restoreStockQuantity)
throws com.liferay.portal.kernel.exception.PortalException {
_commerceShipmentItemService.deleteCommerceShipmentItem(
commerceShipmentItemId, restoreStockQuantity);
}
@Override
public void deleteCommerceShipmentItems(
long commerceShipmentId, boolean restoreStockQuantity)
throws com.liferay.portal.kernel.exception.PortalException {
_commerceShipmentItemService.deleteCommerceShipmentItems(
commerceShipmentId, restoreStockQuantity);
}
@Override
public com.liferay.commerce.model.CommerceShipmentItem
fetchCommerceShipmentItem(
long commerceShipmentId, long commerceOrderItemId,
long commerceInventoryWarehouseId)
throws com.liferay.portal.kernel.exception.PortalException {
return _commerceShipmentItemService.fetchCommerceShipmentItem(
commerceShipmentId, commerceOrderItemId,
commerceInventoryWarehouseId);
}
@Override
public com.liferay.commerce.model.CommerceShipmentItem
fetchCommerceShipmentItemByExternalReferenceCode(
long companyId, String externalReferenceCode)
throws com.liferay.portal.kernel.exception.PortalException {
return _commerceShipmentItemService.
fetchCommerceShipmentItemByExternalReferenceCode(
companyId, externalReferenceCode);
}
@Override
public com.liferay.commerce.model.CommerceShipmentItem
getCommerceShipmentItem(long commerceShipmentItemId)
throws com.liferay.portal.kernel.exception.PortalException {
return _commerceShipmentItemService.getCommerceShipmentItem(
commerceShipmentItemId);
}
/**
* @deprecated As of Athanasius (7.3.x)
*/
@Deprecated
@Override
public java.util.List
getCommerceShipmentItems(long commerceOrderItemId)
throws com.liferay.portal.kernel.exception.PortalException {
return _commerceShipmentItemService.getCommerceShipmentItems(
commerceOrderItemId);
}
@Override
public java.util.List
getCommerceShipmentItems(
long commerceShipmentId, int start, int end,
com.liferay.portal.kernel.util.OrderByComparator
orderByComparator)
throws com.liferay.portal.kernel.exception.PortalException {
return _commerceShipmentItemService.getCommerceShipmentItems(
commerceShipmentId, start, end, orderByComparator);
}
@Override
public java.util.List
getCommerceShipmentItemsByCommerceOrderItemId(
long commerceOrderItemId)
throws com.liferay.portal.kernel.exception.PortalException {
return _commerceShipmentItemService.
getCommerceShipmentItemsByCommerceOrderItemId(commerceOrderItemId);
}
@Override
public int getCommerceShipmentItemsCount(long commerceShipmentId)
throws com.liferay.portal.kernel.exception.PortalException {
return _commerceShipmentItemService.getCommerceShipmentItemsCount(
commerceShipmentId);
}
@Override
public int getCommerceShipmentItemsCountByCommerceOrderItemId(
long commerceOrderItemId)
throws com.liferay.portal.kernel.exception.PortalException {
return _commerceShipmentItemService.
getCommerceShipmentItemsCountByCommerceOrderItemId(
commerceOrderItemId);
}
@Override
public java.math.BigDecimal getCommerceShipmentOrderItemsQuantity(
long commerceShipmentId, long commerceOrderItemId)
throws com.liferay.portal.kernel.exception.PortalException {
return _commerceShipmentItemService.
getCommerceShipmentOrderItemsQuantity(
commerceShipmentId, commerceOrderItemId);
}
/**
* Returns the OSGi service identifier.
*
* @return the OSGi service identifier
*/
@Override
public String getOSGiServiceIdentifier() {
return _commerceShipmentItemService.getOSGiServiceIdentifier();
}
@Override
public com.liferay.commerce.model.CommerceShipmentItem
updateCommerceShipmentItem(
long commerceShipmentItemId, long commerceInventoryWarehouseId,
java.math.BigDecimal quantity, boolean validateInventory)
throws com.liferay.portal.kernel.exception.PortalException {
return _commerceShipmentItemService.updateCommerceShipmentItem(
commerceShipmentItemId, commerceInventoryWarehouseId, quantity,
validateInventory);
}
@Override
public com.liferay.commerce.model.CommerceShipmentItem
updateExternalReferenceCode(
long commerceShipmentItemId, String externalReferenceCode)
throws com.liferay.portal.kernel.exception.PortalException {
return _commerceShipmentItemService.updateExternalReferenceCode(
commerceShipmentItemId, externalReferenceCode);
}
@Override
public CommerceShipmentItemService getWrappedService() {
return _commerceShipmentItemService;
}
@Override
public void setWrappedService(
CommerceShipmentItemService commerceShipmentItemService) {
_commerceShipmentItemService = commerceShipmentItemService;
}
private CommerceShipmentItemService _commerceShipmentItemService;
}