@ProviderType
public class CommerceShipmentServiceUtil
extends java.lang.Object
com.liferay.commerce.service.impl.CommerceShipmentServiceImpl and is the
primary access point for service operations in application layer code running
on a remote server. Methods of this service are expected to have security
checks based on the propagated JAAS credentials because this service can be
accessed remotely.CommerceShipmentService,
com.liferay.commerce.service.base.CommerceShipmentServiceBaseImpl,
com.liferay.commerce.service.impl.CommerceShipmentServiceImpl| Constructor and Description |
|---|
CommerceShipmentServiceUtil() |
| Modifier and Type | Method and Description |
|---|---|
static CommerceShipment |
addCommerceShipment(long commerceOrderId,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
static void |
deleteCommerceShipment(long commerceShipmentId) |
static CommerceShipment |
getCommerceShipment(long commerceShipmentId) |
static java.util.List<CommerceShipment> |
getCommerceShipmentsByG_S(long groupId,
int status,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceShipment> orderByComparator) |
static java.util.List<CommerceShipment> |
getCommerceShipmentsByGroupId(long groupId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceShipment> orderByComparator) |
static java.util.List<CommerceShipment> |
getCommerceShipmentsByS_S(long siteGroupId,
int status,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceShipment> orderByComparator) |
static java.util.List<CommerceShipment> |
getCommerceShipmentsBySiteGroupId(long siteGroupId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceShipment> orderByComparator) |
static int |
getCommerceShipmentsCountByG_S(long groupId,
int status) |
static int |
getCommerceShipmentsCountByGroupId(long groupId) |
static int |
getCommerceShipmentsCountByS_S(long siteGroupId,
int status) |
static int |
getCommerceShipmentsCountBySiteGroupId(long siteGroupId) |
static java.lang.String |
getOSGiServiceIdentifier()
Returns the OSGi service identifier.
|
static CommerceShipmentService |
getService() |
static 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) |
static 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) |
public static CommerceShipment addCommerceShipment(long commerceOrderId, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic static void deleteCommerceShipment(long commerceShipmentId)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic static CommerceShipment getCommerceShipment(long commerceShipmentId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic static java.util.List<CommerceShipment> getCommerceShipmentsByG_S(long groupId, 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.PortalExceptionpublic static java.util.List<CommerceShipment> getCommerceShipmentsByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipment> orderByComparator) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic static java.util.List<CommerceShipment> getCommerceShipmentsByS_S(long siteGroupId, 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.PortalExceptionpublic static java.util.List<CommerceShipment> getCommerceShipmentsBySiteGroupId(long siteGroupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipment> orderByComparator) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic static int getCommerceShipmentsCountByG_S(long groupId,
int status)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic static int getCommerceShipmentsCountByGroupId(long groupId)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic static int getCommerceShipmentsCountByS_S(long siteGroupId,
int status)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic static int getCommerceShipmentsCountBySiteGroupId(long siteGroupId)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic static java.lang.String getOSGiServiceIdentifier()
public static 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) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic static 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) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic static CommerceShipmentService getService()