@AccessControlled
@JSONWebService
@ProviderType
@Transactional(isolation=PORTAL,
rollbackFor={com.liferay.portal.kernel.exception.PortalException.class,com.liferay.portal.kernel.exception.SystemException.class})
public interface CommerceShipmentService
extends com.liferay.portal.kernel.service.BaseService
CommerceShipmentServiceUtil| Modifier and Type | Method and Description |
|---|---|
CommerceShipment |
addCommerceShipment(long groupId,
long commerceAccountId,
long commerceAddressId,
long commerceShippingMethodId,
java.lang.String commerceShippingOptionName,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
CommerceShipment |
addCommerceShipment(long commerceOrderId,
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 |
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.
|
CommerceShipment |
reprocessCommerceShipment(long commerceShipmentId) |
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 commerceRegionId,
long commerceCountryId,
java.lang.String phoneNumber) |
CommerceShipment |
updateCarrierDetails(long commerceShipmentId,
java.lang.String carrier,
java.lang.String trackingNumber) |
CommerceShipment |
updateCommerceShipment(long commerceShipmentId,
java.lang.String carrier,
java.lang.String trackingNumber,
int status,
int shippingDateMonth,
int shippingDateDay,
int shippingDateYear,
int shippingDateHour,
int shippingDateMinute,
int expectedDateMonth,
int expectedDateDay,
int expectedDateYear,
int expectedDateHour,
int expectedDateMinute) |
CommerceShipment |
updateCommerceShipment(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 commerceRegionId,
long commerceCountryId,
java.lang.String phoneNumber,
java.lang.String carrier,
java.lang.String trackingNumber,
int status,
int shippingDateMonth,
int shippingDateDay,
int shippingDateYear,
int shippingDateHour,
int shippingDateMinute,
int expectedDateMonth,
int expectedDateDay,
int expectedDateYear,
int expectedDateHour,
int expectedDateMinute) |
CommerceShipment |
updateExpectedDate(long commerceShipmentId,
int expectedDateMonth,
int expectedDateDay,
int expectedDateYear,
int expectedDateHour,
int expectedDateMinute) |
CommerceShipment |
updateShippingDate(long commerceShipmentId,
int shippingDateMonth,
int shippingDateDay,
int shippingDateYear,
int shippingDateHour,
int shippingDateMinute) |
CommerceShipment |
updateStatus(long commerceShipmentId,
int status) |
CommerceShipment addCommerceShipment(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
com.liferay.portal.kernel.exception.PortalExceptionCommerceShipment addCommerceShipment(long commerceOrderId, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException@Deprecated
void deleteCommerceShipment(long commerceShipmentId)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionvoid deleteCommerceShipment(long commerceShipmentId,
boolean restoreStockQuantity)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException@Transactional(propagation=SUPPORTS,
readOnly=true)
CommerceShipment getCommerceShipment(long commerceShipmentId)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException@Transactional(propagation=SUPPORTS,
readOnly=true)
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
com.liferay.portal.kernel.exception.PortalException@Transactional(propagation=SUPPORTS,
readOnly=true)
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
com.liferay.portal.kernel.exception.PortalException@Transactional(propagation=SUPPORTS,
readOnly=true)
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
com.liferay.portal.kernel.exception.PortalException@Transactional(propagation=SUPPORTS,
readOnly=true)
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
com.liferay.portal.kernel.exception.PortalException@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<CommerceShipment> getCommerceShipmentsByOrderId(long commerceOrderId,
int start,
int end)
@Transactional(propagation=SUPPORTS,
readOnly=true)
int getCommerceShipmentsCount(long companyId)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException@Transactional(propagation=SUPPORTS,
readOnly=true)
int getCommerceShipmentsCount(long companyId,
int status)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException@Transactional(propagation=SUPPORTS,
readOnly=true)
int getCommerceShipmentsCount(long companyId,
long commerceAddressId)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException@Transactional(propagation=SUPPORTS,
readOnly=true)
int getCommerceShipmentsCount(long companyId,
long[] groupIds,
long[] commerceAccountIds,
java.lang.String keywords,
int[] shipmentStatuses,
boolean excludeShipmentStatus)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException@Transactional(propagation=SUPPORTS,
readOnly=true)
int getCommerceShipmentsCountByOrderId(long commerceOrderId)
java.lang.String getOSGiServiceIdentifier()
CommerceShipment reprocessCommerceShipment(long commerceShipmentId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionCommerceShipment 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 commerceRegionId, long commerceCountryId, java.lang.String phoneNumber) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionCommerceShipment updateCarrierDetails(long commerceShipmentId, java.lang.String carrier, java.lang.String trackingNumber) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionCommerceShipment updateCommerceShipment(long commerceShipmentId, java.lang.String carrier, java.lang.String trackingNumber, int status, int shippingDateMonth, int shippingDateDay, int shippingDateYear, int shippingDateHour, int shippingDateMinute, int expectedDateMonth, int expectedDateDay, int expectedDateYear, int expectedDateHour, int expectedDateMinute) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionCommerceShipment updateCommerceShipment(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 commerceRegionId, long commerceCountryId, java.lang.String phoneNumber, java.lang.String carrier, java.lang.String trackingNumber, int status, int shippingDateMonth, int shippingDateDay, int shippingDateYear, int shippingDateHour, int shippingDateMinute, int expectedDateMonth, int expectedDateDay, int expectedDateYear, int expectedDateHour, int expectedDateMinute) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionCommerceShipment updateExpectedDate(long commerceShipmentId, int expectedDateMonth, int expectedDateDay, int expectedDateYear, int expectedDateHour, int expectedDateMinute) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionCommerceShipment updateShippingDate(long commerceShipmentId, int shippingDateMonth, int shippingDateDay, int shippingDateYear, int shippingDateHour, int shippingDateMinute) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionCommerceShipment updateStatus(long commerceShipmentId, int status) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException