Class CommerceInventoryWarehouseServiceUtil

java.lang.Object
com.liferay.commerce.inventory.service.CommerceInventoryWarehouseServiceUtil

public class CommerceInventoryWarehouseServiceUtil extends Object
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 Details

    • CommerceInventoryWarehouseServiceUtil

      public CommerceInventoryWarehouseServiceUtil()
  • Method Details

    • addCommerceInventoryWarehouse

      public static 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) throws com.liferay.portal.kernel.exception.PortalException
      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

      public static String 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,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) throws com.liferay.portal.kernel.exception.PortalException
      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

      public static CommerceInventoryWarehouseService getService()