Package com.liferay.commerce.service
Class CommerceShipmentServiceWrapper
java.lang.Object
com.liferay.commerce.service.CommerceShipmentServiceWrapper
- All Implemented Interfaces:
CommerceShipmentService,com.liferay.portal.kernel.service.BaseService,com.liferay.portal.kernel.service.ServiceWrapper<CommerceShipmentService>
public class CommerceShipmentServiceWrapper
extends Object
implements CommerceShipmentService, com.liferay.portal.kernel.service.ServiceWrapper<CommerceShipmentService>
Provides a wrapper for
CommerceShipmentService.- See Also:
- Generated:
-
Constructor Summary
ConstructorsConstructorDescriptionCommerceShipmentServiceWrapper(CommerceShipmentService commerceShipmentService) -
Method Summary
Modifier and TypeMethodDescriptionaddCommerceShipment(long commerceOrderId, com.liferay.portal.kernel.service.ServiceContext serviceContext) addCommerceShipment(String externalReferenceCode, long groupId, long commerceAccountId, long commerceAddressId, long commerceShippingMethodId, String commerceShippingOptionName, com.liferay.portal.kernel.service.ServiceContext serviceContext) voiddeleteCommerceShipment(long commerceShipmentId) Deprecated.As of Mueller (7.2.x), pass boolean for restoring stockvoiddeleteCommerceShipment(long commerceShipmentId, boolean restoreStockQuantity) fetchCommerceShipmentByExternalReferenceCode(long companyId, String externalReferenceCode) getCommerceShipment(long commerceShipmentId) getCommerceShipments(long companyId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipment> orderByComparator) getCommerceShipments(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipment> orderByComparator) getCommerceShipments(long companyId, long[] groupIds, long[] commerceAccountIds, String keywords, int[] shipmentStatuses, boolean excludeShipmentStatus, int start, int end) getCommerceShipments(long companyId, long commerceAddressId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipment> orderByComparator) getCommerceShipmentsByOrderId(long commerceOrderId, int start, int end) intgetCommerceShipmentsCount(long companyId) intgetCommerceShipmentsCount(long companyId, int status) intgetCommerceShipmentsCount(long companyId, long commerceAddressId) intgetCommerceShipmentsCount(long companyId, long[] groupIds, long[] commerceAccountIds, String keywords, int[] shipmentStatuses, boolean excludeShipmentStatus) intgetCommerceShipmentsCountByOrderId(long commerceOrderId) Returns the OSGi service identifier.reprocessCommerceShipment(long commerceShipmentId) voidsetWrappedService(CommerceShipmentService commerceShipmentService) updateAddress(String externalReferenceCode, long commerceShipmentId, String name, String description, String street1, String street2, String street3, String city, String zip, long regionId, long countryId, String phoneNumber, com.liferay.portal.kernel.service.ServiceContext serviceContext) updateCarrierDetails(long commerceShipmentId, long commerceShippingMethodId, String carrier, String trackingNumber, String trackingURL) updateCommerceShipment(long commerceShipmentId, long commerceShippingMethodId, String carrier, int expectedDateMonth, int expectedDateDay, int expectedDateYear, int expectedDateHour, int expectedDateMinute, int shippingDateMonth, int shippingDateDay, int shippingDateYear, int shippingDateHour, int shippingDateMinute, String trackingNumber, String trackingURL, int status, com.liferay.portal.kernel.service.ServiceContext serviceContext) updateCommerceShipment(long commerceShipmentId, long commerceShippingMethodId, String carrier, int expectedDateMonth, int expectedDateDay, int expectedDateYear, int expectedDateHour, int expectedDateMinute, int shippingDateMonth, int shippingDateDay, int shippingDateYear, int shippingDateHour, int shippingDateMinute, String trackingNumber, String trackingURL, int status, String name, String description, String street1, String street2, String street3, String city, String zip, long regionId, long countryId, String phoneNumber, com.liferay.portal.kernel.service.ServiceContext serviceContext) updateCommerceShipment(CommerceShipment commerceShipment) updateExpectedDate(long commerceShipmentId, int expectedDateMonth, int expectedDateDay, int expectedDateYear, int expectedDateHour, int expectedDateMinute) updateExternalReferenceCode(long commerceShipmentId, String externalReferenceCode) updateShippingDate(long commerceShipmentId, int shippingDateMonth, int shippingDateDay, int shippingDateYear, int shippingDateHour, int shippingDateMinute) updateStatus(long commerceShipmentId, int status)
-
Constructor Details
-
CommerceShipmentServiceWrapper
public CommerceShipmentServiceWrapper() -
CommerceShipmentServiceWrapper
-
-
Method Details
-
addCommerceShipment
public CommerceShipment addCommerceShipment(long commerceOrderId, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
addCommerceShipmentin interfaceCommerceShipmentService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
addCommerceShipment
public CommerceShipment addCommerceShipment(String externalReferenceCode, long groupId, long commerceAccountId, long commerceAddressId, long commerceShippingMethodId, String commerceShippingOptionName, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
addCommerceShipmentin interfaceCommerceShipmentService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
deleteCommerceShipment
@Deprecated public void deleteCommerceShipment(long commerceShipmentId) throws com.liferay.portal.kernel.exception.PortalException Deprecated.As of Mueller (7.2.x), pass boolean for restoring stock- Specified by:
deleteCommerceShipmentin interfaceCommerceShipmentService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
deleteCommerceShipment
public void deleteCommerceShipment(long commerceShipmentId, boolean restoreStockQuantity) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
deleteCommerceShipmentin interfaceCommerceShipmentService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
fetchCommerceShipmentByExternalReferenceCode
public CommerceShipment fetchCommerceShipmentByExternalReferenceCode(long companyId, String externalReferenceCode) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
fetchCommerceShipmentByExternalReferenceCodein interfaceCommerceShipmentService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCommerceShipment
public CommerceShipment getCommerceShipment(long commerceShipmentId) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getCommerceShipmentin interfaceCommerceShipmentService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCommerceShipments
public List<CommerceShipment> getCommerceShipments(long companyId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipment> orderByComparator) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getCommerceShipmentsin interfaceCommerceShipmentService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCommerceShipments
public List<CommerceShipment> getCommerceShipments(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipment> orderByComparator) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getCommerceShipmentsin interfaceCommerceShipmentService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCommerceShipments
public List<CommerceShipment> getCommerceShipments(long companyId, long commerceAddressId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipment> orderByComparator) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getCommerceShipmentsin interfaceCommerceShipmentService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCommerceShipments
public List<CommerceShipment> getCommerceShipments(long companyId, long[] groupIds, long[] commerceAccountIds, String keywords, int[] shipmentStatuses, boolean excludeShipmentStatus, int start, int end) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getCommerceShipmentsin interfaceCommerceShipmentService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCommerceShipmentsByOrderId
public List<CommerceShipment> getCommerceShipmentsByOrderId(long commerceOrderId, int start, int end) - Specified by:
getCommerceShipmentsByOrderIdin interfaceCommerceShipmentService
-
getCommerceShipmentsCount
public int getCommerceShipmentsCount(long companyId) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getCommerceShipmentsCountin interfaceCommerceShipmentService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCommerceShipmentsCount
public int getCommerceShipmentsCount(long companyId, int status) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getCommerceShipmentsCountin interfaceCommerceShipmentService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCommerceShipmentsCount
public int getCommerceShipmentsCount(long companyId, long commerceAddressId) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getCommerceShipmentsCountin interfaceCommerceShipmentService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCommerceShipmentsCount
public int getCommerceShipmentsCount(long companyId, long[] groupIds, long[] commerceAccountIds, String keywords, int[] shipmentStatuses, boolean excludeShipmentStatus) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getCommerceShipmentsCountin interfaceCommerceShipmentService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCommerceShipmentsCountByOrderId
public int getCommerceShipmentsCountByOrderId(long commerceOrderId) - Specified by:
getCommerceShipmentsCountByOrderIdin interfaceCommerceShipmentService
-
getOSGiServiceIdentifier
Returns the OSGi service identifier.- Specified by:
getOSGiServiceIdentifierin interfaceCommerceShipmentService- Returns:
- the OSGi service identifier
-
reprocessCommerceShipment
public CommerceShipment reprocessCommerceShipment(long commerceShipmentId) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
reprocessCommerceShipmentin interfaceCommerceShipmentService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateAddress
public CommerceShipment updateAddress(String externalReferenceCode, long commerceShipmentId, String name, String description, String street1, String street2, String street3, String city, String zip, long regionId, long countryId, String phoneNumber, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
updateAddressin interfaceCommerceShipmentService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateCarrierDetails
public CommerceShipment updateCarrierDetails(long commerceShipmentId, long commerceShippingMethodId, String carrier, String trackingNumber, String trackingURL) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
updateCarrierDetailsin interfaceCommerceShipmentService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateCommerceShipment
public CommerceShipment updateCommerceShipment(CommerceShipment commerceShipment) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
updateCommerceShipmentin interfaceCommerceShipmentService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateCommerceShipment
public CommerceShipment updateCommerceShipment(long commerceShipmentId, long commerceShippingMethodId, String carrier, int expectedDateMonth, int expectedDateDay, int expectedDateYear, int expectedDateHour, int expectedDateMinute, int shippingDateMonth, int shippingDateDay, int shippingDateYear, int shippingDateHour, int shippingDateMinute, String trackingNumber, String trackingURL, int status, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
updateCommerceShipmentin interfaceCommerceShipmentService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateCommerceShipment
public CommerceShipment updateCommerceShipment(long commerceShipmentId, long commerceShippingMethodId, String carrier, int expectedDateMonth, int expectedDateDay, int expectedDateYear, int expectedDateHour, int expectedDateMinute, int shippingDateMonth, int shippingDateDay, int shippingDateYear, int shippingDateHour, int shippingDateMinute, String trackingNumber, String trackingURL, int status, String name, String description, String street1, String street2, String street3, String city, String zip, long regionId, long countryId, String phoneNumber, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
updateCommerceShipmentin interfaceCommerceShipmentService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateExpectedDate
public CommerceShipment updateExpectedDate(long commerceShipmentId, int expectedDateMonth, int expectedDateDay, int expectedDateYear, int expectedDateHour, int expectedDateMinute) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
updateExpectedDatein interfaceCommerceShipmentService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateExternalReferenceCode
public CommerceShipment updateExternalReferenceCode(long commerceShipmentId, String externalReferenceCode) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
updateExternalReferenceCodein interfaceCommerceShipmentService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateShippingDate
public CommerceShipment updateShippingDate(long commerceShipmentId, int shippingDateMonth, int shippingDateDay, int shippingDateYear, int shippingDateHour, int shippingDateMinute) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
updateShippingDatein interfaceCommerceShipmentService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateStatus
public CommerceShipment updateStatus(long commerceShipmentId, int status) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
updateStatusin interfaceCommerceShipmentService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getWrappedService
- Specified by:
getWrappedServicein interfacecom.liferay.portal.kernel.service.ServiceWrapper<CommerceShipmentService>
-
setWrappedService
- Specified by:
setWrappedServicein interfacecom.liferay.portal.kernel.service.ServiceWrapper<CommerceShipmentService>
-