@ProviderType
public class CommerceWarehouseServiceUtil
extends java.lang.Object
com.liferay.commerce.service.impl.CommerceWarehouseServiceImpl 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.CommerceWarehouseService,
com.liferay.commerce.service.base.CommerceWarehouseServiceBaseImpl,
com.liferay.commerce.service.impl.CommerceWarehouseServiceImpl| Constructor and Description |
|---|
CommerceWarehouseServiceUtil() |
| Modifier and Type | Method and Description |
|---|---|
static CommerceWarehouse |
addCommerceWarehouse(java.lang.String name,
java.lang.String description,
boolean active,
java.lang.String street1,
java.lang.String street2,
java.lang.String street3,
java.lang.String city,
java.lang.String zip,
long commerceRegionId,
long commerceCountryId,
double latitude,
double longitude,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
static void |
deleteCommerceWarehouse(long commerceWarehouseId) |
static CommerceWarehouse |
fetchDefaultCommerceWarehouse(long groupId) |
static CommerceWarehouse |
geolocateCommerceWarehouse(long commerceWarehouseId) |
static CommerceWarehouse |
getCommerceWarehouse(long commerceWarehouseId) |
static java.util.List<CommerceWarehouse> |
getCommerceWarehouses(long groupId,
boolean active,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceWarehouse> orderByComparator) |
static java.util.List<CommerceWarehouse> |
getCommerceWarehouses(long groupId,
boolean active,
long commerceCountryId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceWarehouse> orderByComparator) |
static java.util.List<CommerceWarehouse> |
getCommerceWarehouses(long groupId,
long commerceCountryId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceWarehouse> orderByComparator) |
static int |
getCommerceWarehousesCount(long groupId,
boolean active,
long commerceCountryId) |
static int |
getCommerceWarehousesCount(long groupId,
long commerceCountryId) |
static java.lang.String |
getOSGiServiceIdentifier()
Returns the OSGi service identifier.
|
static CommerceWarehouseService |
getService() |
static java.util.List<CommerceWarehouse> |
search(long groupId,
java.lang.String keywords,
boolean all,
long commerceCountryId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceWarehouse> orderByComparator) |
static int |
searchCount(long groupId,
java.lang.String keywords,
java.lang.Boolean active,
long commerceCountryId) |
static CommerceWarehouse |
setActive(long commerceWarehouseId,
boolean active) |
static CommerceWarehouse |
updateCommerceWarehouse(long commerceWarehouseId,
java.lang.String name,
java.lang.String description,
boolean active,
java.lang.String street1,
java.lang.String street2,
java.lang.String street3,
java.lang.String city,
java.lang.String zip,
long commerceRegionId,
long commerceCountryId,
double latitude,
double longitude,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
static CommerceWarehouse |
updateDefaultCommerceWarehouse(java.lang.String name,
java.lang.String street1,
java.lang.String street2,
java.lang.String street3,
java.lang.String city,
java.lang.String zip,
long commerceRegionId,
long commerceCountryId,
double latitude,
double longitude,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
public static CommerceWarehouse addCommerceWarehouse(java.lang.String name, java.lang.String description, boolean active, java.lang.String street1, java.lang.String street2, java.lang.String street3, java.lang.String city, java.lang.String zip, long commerceRegionId, long commerceCountryId, double latitude, double longitude, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic static void deleteCommerceWarehouse(long commerceWarehouseId)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic static CommerceWarehouse fetchDefaultCommerceWarehouse(long groupId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic static CommerceWarehouse geolocateCommerceWarehouse(long commerceWarehouseId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic static CommerceWarehouse getCommerceWarehouse(long commerceWarehouseId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic static java.util.List<CommerceWarehouse> getCommerceWarehouses(long groupId, boolean active, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceWarehouse> orderByComparator) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic static java.util.List<CommerceWarehouse> getCommerceWarehouses(long groupId, boolean active, long commerceCountryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceWarehouse> orderByComparator) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic static java.util.List<CommerceWarehouse> getCommerceWarehouses(long groupId, long commerceCountryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceWarehouse> orderByComparator) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic static int getCommerceWarehousesCount(long groupId,
boolean active,
long commerceCountryId)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic static int getCommerceWarehousesCount(long groupId,
long commerceCountryId)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic static java.lang.String getOSGiServiceIdentifier()
public static java.util.List<CommerceWarehouse> search(long groupId, java.lang.String keywords, boolean all, long commerceCountryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceWarehouse> orderByComparator) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic static int searchCount(long groupId,
java.lang.String keywords,
java.lang.Boolean active,
long commerceCountryId)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic static CommerceWarehouse setActive(long commerceWarehouseId, boolean active) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic static CommerceWarehouse updateCommerceWarehouse(long commerceWarehouseId, java.lang.String name, java.lang.String description, boolean active, java.lang.String street1, java.lang.String street2, java.lang.String street3, java.lang.String city, java.lang.String zip, long commerceRegionId, long commerceCountryId, double latitude, double longitude, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic static CommerceWarehouse updateDefaultCommerceWarehouse(java.lang.String name, java.lang.String street1, java.lang.String street2, java.lang.String street3, java.lang.String city, java.lang.String zip, long commerceRegionId, long commerceCountryId, double latitude, double longitude, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic static CommerceWarehouseService getService()