public class CommerceShipmentServiceWrapper extends java.lang.Object implements CommerceShipmentService, com.liferay.portal.kernel.service.ServiceWrapper<CommerceShipmentService>
CommerceShipmentService.CommerceShipmentService| Constructor and Description |
|---|
CommerceShipmentServiceWrapper() |
CommerceShipmentServiceWrapper(CommerceShipmentService commerceShipmentService) |
| Modifier and Type | Method and Description |
|---|---|
CommerceShipment |
addCommerceShipment(long commerceOrderId,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
CommerceShipment |
addCommerceShipment(java.lang.String externalReferenceCode,
long groupId,
long commerceAccountId,
long commerceAddressId,
long commerceShippingMethodId,
java.lang.String commerceShippingOptionName,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
void |
deleteCommerceShipment(long commerceShipmentId)
Deprecated.
As of Mueller (7.2.x), pass boolean for restoring stock
|
void |
deleteCommerceShipment(long commerceShipmentId,
boolean restoreStockQuantity) |
CommerceShipment |
fetchCommerceShipmentByExternalReferenceCode(long companyId,
java.lang.String externalReferenceCode) |
CommerceShipment |
getCommerceShipment(long commerceShipmentId) |
java.util.List<CommerceShipment> |
getCommerceShipments(long companyId,
int status,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceShipment> orderByComparator) |
java.util.List<CommerceShipment> |
getCommerceShipments(long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceShipment> orderByComparator) |
java.util.List<CommerceShipment> |
getCommerceShipments(long companyId,
long[] groupIds,
long[] commerceAccountIds,
java.lang.String keywords,
int[] shipmentStatuses,
boolean excludeShipmentStatus,
int start,
int end) |
java.util.List<CommerceShipment> |
getCommerceShipments(long companyId,
long commerceAddressId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceShipment> orderByComparator) |
java.util.List<CommerceShipment> |
getCommerceShipmentsByOrderId(long commerceOrderId,
int start,
int end) |
int |
getCommerceShipmentsCount(long companyId) |
int |
getCommerceShipmentsCount(long companyId,
int status) |
int |
getCommerceShipmentsCount(long companyId,
long commerceAddressId) |
int |
getCommerceShipmentsCount(long companyId,
long[] groupIds,
long[] commerceAccountIds,
java.lang.String keywords,
int[] shipmentStatuses,
boolean excludeShipmentStatus) |
int |
getCommerceShipmentsCountByOrderId(long commerceOrderId) |
java.lang.String |
getOSGiServiceIdentifier()
Returns the OSGi service identifier.
|
CommerceShipmentService |
getWrappedService() |
CommerceShipment |
reprocessCommerceShipment(long commerceShipmentId) |
void |
setWrappedService(CommerceShipmentService commerceShipmentService) |
CommerceShipment |
updateAddress(long commerceShipmentId,
java.lang.String name,
java.lang.String description,
java.lang.String street1,
java.lang.String street2,
java.lang.String street3,
java.lang.String city,
java.lang.String zip,
long regionId,
long countryId,
java.lang.String phoneNumber)
Deprecated.
As of Cavanaugh (7.4.x), replaced by
updateAddress(long, String, String, String, String, String, String,
String, long, long, String, ServiceContext) |
CommerceShipment |
updateAddress(long commerceShipmentId,
java.lang.String name,
java.lang.String description,
java.lang.String street1,
java.lang.String street2,
java.lang.String street3,
java.lang.String city,
java.lang.String zip,
long regionId,
long countryId,
java.lang.String phoneNumber,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
CommerceShipment |
updateCarrierDetails(long commerceShipmentId,
long commerceShippingMethodId,
java.lang.String carrier,
java.lang.String trackingNumber,
java.lang.String trackingURL) |
CommerceShipment |
updateCommerceShipment(CommerceShipment commerceShipment) |
CommerceShipment |
updateCommerceShipment(long commerceShipmentId,
long commerceShippingMethodId,
java.lang.String carrier,
int expectedDateMonth,
int expectedDateDay,
int expectedDateYear,
int expectedDateHour,
int expectedDateMinute,
int shippingDateMonth,
int shippingDateDay,
int shippingDateYear,
int shippingDateHour,
int shippingDateMinute,
java.lang.String trackingNumber,
java.lang.String trackingURL,
int status,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
CommerceShipment |
updateCommerceShipment(long commerceShipmentId,
long commerceShippingMethodId,
java.lang.String carrier,
int expectedDateMonth,
int expectedDateDay,
int expectedDateYear,
int expectedDateHour,
int expectedDateMinute,
int shippingDateMonth,
int shippingDateDay,
int shippingDateYear,
int shippingDateHour,
int shippingDateMinute,
java.lang.String trackingNumber,
java.lang.String trackingURL,
int status,
java.lang.String name,
java.lang.String description,
java.lang.String street1,
java.lang.String street2,
java.lang.String street3,
java.lang.String city,
java.lang.String zip,
long regionId,
long countryId,
java.lang.String phoneNumber,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
CommerceShipment |
updateExpectedDate(long commerceShipmentId,
int expectedDateMonth,
int expectedDateDay,
int expectedDateYear,
int expectedDateHour,
int expectedDateMinute) |
CommerceShipment |
updateExternalReferenceCode(long commerceShipmentId,
java.lang.String externalReferenceCode) |
CommerceShipment |
updateShippingDate(long commerceShipmentId,
int shippingDateMonth,
int shippingDateDay,
int shippingDateYear,
int shippingDateHour,
int shippingDateMinute) |
CommerceShipment |
updateStatus(long commerceShipmentId,
int status) |
public CommerceShipmentServiceWrapper()
public CommerceShipmentServiceWrapper(CommerceShipmentService commerceShipmentService)
public CommerceShipment addCommerceShipment(long commerceOrderId, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
addCommerceShipment in interface CommerceShipmentServicecom.liferay.portal.kernel.exception.PortalExceptionpublic CommerceShipment addCommerceShipment(java.lang.String externalReferenceCode, long groupId, long commerceAccountId, long commerceAddressId, long commerceShippingMethodId, java.lang.String commerceShippingOptionName, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
addCommerceShipment in interface CommerceShipmentServicecom.liferay.portal.kernel.exception.PortalException@Deprecated
public void deleteCommerceShipment(long commerceShipmentId)
throws com.liferay.portal.kernel.exception.PortalException
deleteCommerceShipment in interface CommerceShipmentServicecom.liferay.portal.kernel.exception.PortalExceptionpublic void deleteCommerceShipment(long commerceShipmentId,
boolean restoreStockQuantity)
throws com.liferay.portal.kernel.exception.PortalException
deleteCommerceShipment in interface CommerceShipmentServicecom.liferay.portal.kernel.exception.PortalExceptionpublic CommerceShipment fetchCommerceShipmentByExternalReferenceCode(long companyId, java.lang.String externalReferenceCode) throws com.liferay.portal.kernel.exception.PortalException
fetchCommerceShipmentByExternalReferenceCode in interface CommerceShipmentServicecom.liferay.portal.kernel.exception.PortalExceptionpublic CommerceShipment getCommerceShipment(long commerceShipmentId) throws com.liferay.portal.kernel.exception.PortalException
getCommerceShipment in interface CommerceShipmentServicecom.liferay.portal.kernel.exception.PortalExceptionpublic java.util.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
getCommerceShipments in interface CommerceShipmentServicecom.liferay.portal.kernel.exception.PortalExceptionpublic java.util.List<CommerceShipment> getCommerceShipments(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipment> orderByComparator) throws com.liferay.portal.kernel.exception.PortalException
getCommerceShipments in interface CommerceShipmentServicecom.liferay.portal.kernel.exception.PortalExceptionpublic java.util.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
getCommerceShipments in interface CommerceShipmentServicecom.liferay.portal.kernel.exception.PortalExceptionpublic java.util.List<CommerceShipment> getCommerceShipments(long companyId, long[] groupIds, long[] commerceAccountIds, java.lang.String keywords, int[] shipmentStatuses, boolean excludeShipmentStatus, int start, int end) throws com.liferay.portal.kernel.exception.PortalException
getCommerceShipments in interface CommerceShipmentServicecom.liferay.portal.kernel.exception.PortalExceptionpublic java.util.List<CommerceShipment> getCommerceShipmentsByOrderId(long commerceOrderId, int start, int end)
getCommerceShipmentsByOrderId in interface CommerceShipmentServicepublic int getCommerceShipmentsCount(long companyId)
throws com.liferay.portal.kernel.exception.PortalException
getCommerceShipmentsCount in interface CommerceShipmentServicecom.liferay.portal.kernel.exception.PortalExceptionpublic int getCommerceShipmentsCount(long companyId,
int status)
throws com.liferay.portal.kernel.exception.PortalException
getCommerceShipmentsCount in interface CommerceShipmentServicecom.liferay.portal.kernel.exception.PortalExceptionpublic int getCommerceShipmentsCount(long companyId,
long commerceAddressId)
throws com.liferay.portal.kernel.exception.PortalException
getCommerceShipmentsCount in interface CommerceShipmentServicecom.liferay.portal.kernel.exception.PortalExceptionpublic int getCommerceShipmentsCount(long companyId,
long[] groupIds,
long[] commerceAccountIds,
java.lang.String keywords,
int[] shipmentStatuses,
boolean excludeShipmentStatus)
throws com.liferay.portal.kernel.exception.PortalException
getCommerceShipmentsCount in interface CommerceShipmentServicecom.liferay.portal.kernel.exception.PortalExceptionpublic int getCommerceShipmentsCountByOrderId(long commerceOrderId)
getCommerceShipmentsCountByOrderId in interface CommerceShipmentServicepublic java.lang.String getOSGiServiceIdentifier()
getOSGiServiceIdentifier in interface CommerceShipmentServicepublic CommerceShipment reprocessCommerceShipment(long commerceShipmentId) throws com.liferay.portal.kernel.exception.PortalException
reprocessCommerceShipment in interface CommerceShipmentServicecom.liferay.portal.kernel.exception.PortalException@Deprecated public CommerceShipment updateAddress(long commerceShipmentId, java.lang.String name, java.lang.String description, java.lang.String street1, java.lang.String street2, java.lang.String street3, java.lang.String city, java.lang.String zip, long regionId, long countryId, java.lang.String phoneNumber) throws com.liferay.portal.kernel.exception.PortalException
updateAddress(long, String, String, String, String, String, String,
String, long, long, String, ServiceContext)updateAddress in interface CommerceShipmentServicecom.liferay.portal.kernel.exception.PortalExceptionpublic CommerceShipment updateAddress(long commerceShipmentId, java.lang.String name, java.lang.String description, java.lang.String street1, java.lang.String street2, java.lang.String street3, java.lang.String city, java.lang.String zip, long regionId, long countryId, java.lang.String phoneNumber, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
updateAddress in interface CommerceShipmentServicecom.liferay.portal.kernel.exception.PortalExceptionpublic CommerceShipment updateCarrierDetails(long commerceShipmentId, long commerceShippingMethodId, java.lang.String carrier, java.lang.String trackingNumber, java.lang.String trackingURL) throws com.liferay.portal.kernel.exception.PortalException
updateCarrierDetails in interface CommerceShipmentServicecom.liferay.portal.kernel.exception.PortalExceptionpublic CommerceShipment updateCommerceShipment(CommerceShipment commerceShipment) throws com.liferay.portal.kernel.exception.PortalException
updateCommerceShipment in interface CommerceShipmentServicecom.liferay.portal.kernel.exception.PortalExceptionpublic CommerceShipment updateCommerceShipment(long commerceShipmentId, long commerceShippingMethodId, java.lang.String carrier, int expectedDateMonth, int expectedDateDay, int expectedDateYear, int expectedDateHour, int expectedDateMinute, int shippingDateMonth, int shippingDateDay, int shippingDateYear, int shippingDateHour, int shippingDateMinute, java.lang.String trackingNumber, java.lang.String trackingURL, int status, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
updateCommerceShipment in interface CommerceShipmentServicecom.liferay.portal.kernel.exception.PortalExceptionpublic CommerceShipment updateCommerceShipment(long commerceShipmentId, long commerceShippingMethodId, java.lang.String carrier, int expectedDateMonth, int expectedDateDay, int expectedDateYear, int expectedDateHour, int expectedDateMinute, int shippingDateMonth, int shippingDateDay, int shippingDateYear, int shippingDateHour, int shippingDateMinute, java.lang.String trackingNumber, java.lang.String trackingURL, int status, java.lang.String name, java.lang.String description, java.lang.String street1, java.lang.String street2, java.lang.String street3, java.lang.String city, java.lang.String zip, long regionId, long countryId, java.lang.String phoneNumber, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
updateCommerceShipment in interface CommerceShipmentServicecom.liferay.portal.kernel.exception.PortalExceptionpublic CommerceShipment updateExpectedDate(long commerceShipmentId, int expectedDateMonth, int expectedDateDay, int expectedDateYear, int expectedDateHour, int expectedDateMinute) throws com.liferay.portal.kernel.exception.PortalException
updateExpectedDate in interface CommerceShipmentServicecom.liferay.portal.kernel.exception.PortalExceptionpublic CommerceShipment updateExternalReferenceCode(long commerceShipmentId, java.lang.String externalReferenceCode) throws com.liferay.portal.kernel.exception.PortalException
updateExternalReferenceCode in interface CommerceShipmentServicecom.liferay.portal.kernel.exception.PortalExceptionpublic CommerceShipment updateShippingDate(long commerceShipmentId, int shippingDateMonth, int shippingDateDay, int shippingDateYear, int shippingDateHour, int shippingDateMinute) throws com.liferay.portal.kernel.exception.PortalException
updateShippingDate in interface CommerceShipmentServicecom.liferay.portal.kernel.exception.PortalExceptionpublic CommerceShipment updateStatus(long commerceShipmentId, int status) throws com.liferay.portal.kernel.exception.PortalException
updateStatus in interface CommerceShipmentServicecom.liferay.portal.kernel.exception.PortalExceptionpublic CommerceShipmentService getWrappedService()
getWrappedService in interface com.liferay.portal.kernel.service.ServiceWrapper<CommerceShipmentService>public void setWrappedService(CommerceShipmentService commerceShipmentService)
setWrappedService in interface com.liferay.portal.kernel.service.ServiceWrapper<CommerceShipmentService>