Class CommerceInventoryWarehouseServiceUtil
java.lang.Object
com.liferay.commerce.inventory.service.CommerceInventoryWarehouseServiceUtil
Provides the remote service utility for CommerceInventoryWarehouse. This utility wraps
com.liferay.commerce.inventory.service.impl.CommerceInventoryWarehouseServiceImpl
and is an
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.- See Also:
- Generated:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic CommerceInventoryWarehouse
addCommerceInventoryWarehouse
(String externalReferenceCode, Map<Locale, String> nameMap, Map<Locale, String> descriptionMap, boolean active, String street1, String street2, String street3, String city, String zip, String commerceRegionCode, String commerceCountryCode, double latitude, double longitude, com.liferay.portal.kernel.service.ServiceContext serviceContext) static CommerceInventoryWarehouse
deleteCommerceInventoryWarehouse
(long commerceInventoryWarehouseId) static CommerceInventoryWarehouse
fetchByCommerceInventoryWarehouse
(long commerceInventoryWarehouseId) static CommerceInventoryWarehouse
fetchCommerceInventoryWarehouseByExternalReferenceCode
(String externalReferenceCode, long companyId) static CommerceInventoryWarehouse
geolocateCommerceInventoryWarehouse
(long commerceInventoryWarehouseId, double latitude, double longitude) static CommerceInventoryWarehouse
getCommerceInventoryWarehouse
(long commerceInventoryWarehouseId) static List<CommerceInventoryWarehouse>
getCommerceInventoryWarehouses
(long companyId, boolean active, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryWarehouse> orderByComparator) static List<CommerceInventoryWarehouse>
getCommerceInventoryWarehouses
(long companyId, boolean active, String commerceCountryCode, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryWarehouse> orderByComparator) static List<CommerceInventoryWarehouse>
getCommerceInventoryWarehouses
(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryWarehouse> orderByComparator) static List<CommerceInventoryWarehouse>
getCommerceInventoryWarehouses
(long companyId, long accountEntryId, long groupId, boolean active) static int
getCommerceInventoryWarehousesCount
(long companyId) static int
getCommerceInventoryWarehousesCount
(long companyId, boolean active, String commerceCountryCode) static String
Returns the OSGi service identifier.static List<CommerceInventoryWarehouse>
search
(long companyId, Boolean active, String commerceCountryCode, String keywords, int start, int end, com.liferay.portal.kernel.search.Sort sort) static int
searchCommerceInventoryWarehousesCount
(long companyId, Boolean active, String commerceCountryCode, String keywords) static CommerceInventoryWarehouse
setActive
(long commerceInventoryWarehouseId, boolean active) static CommerceInventoryWarehouse
updateCommerceInventoryWarehouse
(long commerceInventoryWarehouseId, Map<Locale, String> nameMap, Map<Locale, String> descriptionMap, boolean active, String street1, String street2, String street3, String city, String zip, String commerceRegionCode, String commerceCountryCode, double latitude, double longitude, long mvccVersion, com.liferay.portal.kernel.service.ServiceContext serviceContext) static CommerceInventoryWarehouse
updateCommerceInventoryWarehouseExternalReferenceCode
(String externalReferenceCode, long commerceInventoryWarehouseId)
-
Constructor Details
-
CommerceInventoryWarehouseServiceUtil
public CommerceInventoryWarehouseServiceUtil()
-
-
Method Details
-
addCommerceInventoryWarehouse
public static CommerceInventoryWarehouse addCommerceInventoryWarehouse(String externalReferenceCode, Map<Locale, String> nameMap, Map<Locale, throws com.liferay.portal.kernel.exception.PortalExceptionString> descriptionMap, boolean active, String street1, String street2, String street3, String city, String zip, String commerceRegionCode, String commerceCountryCode, double latitude, double longitude, com.liferay.portal.kernel.service.ServiceContext serviceContext) - Throws:
com.liferay.portal.kernel.exception.PortalException
-
deleteCommerceInventoryWarehouse
public static CommerceInventoryWarehouse deleteCommerceInventoryWarehouse(long commerceInventoryWarehouseId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
fetchByCommerceInventoryWarehouse
public static CommerceInventoryWarehouse fetchByCommerceInventoryWarehouse(long commerceInventoryWarehouseId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
fetchCommerceInventoryWarehouseByExternalReferenceCode
public static CommerceInventoryWarehouse fetchCommerceInventoryWarehouseByExternalReferenceCode(String externalReferenceCode, long companyId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
geolocateCommerceInventoryWarehouse
public static CommerceInventoryWarehouse geolocateCommerceInventoryWarehouse(long commerceInventoryWarehouseId, double latitude, double longitude) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCommerceInventoryWarehouse
public static CommerceInventoryWarehouse getCommerceInventoryWarehouse(long commerceInventoryWarehouseId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCommerceInventoryWarehouses
public static List<CommerceInventoryWarehouse> getCommerceInventoryWarehouses(long companyId, boolean active, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryWarehouse> orderByComparator) throws com.liferay.portal.kernel.security.auth.PrincipalException - Throws:
com.liferay.portal.kernel.security.auth.PrincipalException
-
getCommerceInventoryWarehouses
public static List<CommerceInventoryWarehouse> getCommerceInventoryWarehouses(long companyId, boolean active, String commerceCountryCode, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryWarehouse> orderByComparator) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCommerceInventoryWarehouses
public static List<CommerceInventoryWarehouse> getCommerceInventoryWarehouses(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryWarehouse> orderByComparator) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCommerceInventoryWarehouses
public static List<CommerceInventoryWarehouse> getCommerceInventoryWarehouses(long companyId, long accountEntryId, long groupId, boolean active) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCommerceInventoryWarehousesCount
public static int getCommerceInventoryWarehousesCount(long companyId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCommerceInventoryWarehousesCount
public static int getCommerceInventoryWarehousesCount(long companyId, boolean active, String commerceCountryCode) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getOSGiServiceIdentifier
Returns the OSGi service identifier.- Returns:
- the OSGi service identifier
-
search
public static List<CommerceInventoryWarehouse> search(long companyId, Boolean active, String commerceCountryCode, String keywords, int start, int end, com.liferay.portal.kernel.search.Sort sort) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
searchCommerceInventoryWarehousesCount
public static int searchCommerceInventoryWarehousesCount(long companyId, Boolean active, String commerceCountryCode, String keywords) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
setActive
public static CommerceInventoryWarehouse setActive(long commerceInventoryWarehouseId, boolean active) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateCommerceInventoryWarehouse
public static CommerceInventoryWarehouse updateCommerceInventoryWarehouse(long commerceInventoryWarehouseId, Map<Locale, String> nameMap, Map<Locale, throws com.liferay.portal.kernel.exception.PortalExceptionString> descriptionMap, boolean active, String street1, String street2, String street3, String city, String zip, String commerceRegionCode, String commerceCountryCode, double latitude, double longitude, long mvccVersion, com.liferay.portal.kernel.service.ServiceContext serviceContext) - Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateCommerceInventoryWarehouseExternalReferenceCode
public static CommerceInventoryWarehouse updateCommerceInventoryWarehouseExternalReferenceCode(String externalReferenceCode, long commerceInventoryWarehouseId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getService
-