Interface CommerceInventoryWarehouseService
- All Superinterfaces:
com.liferay.portal.kernel.service.BaseService
- All Known Implementing Classes:
CommerceInventoryWarehouseServiceWrapper
@AccessControlled
@JSONWebService
@ProviderType
@Transactional(isolation=PORTAL,
rollbackFor={com.liferay.portal.kernel.exception.PortalException.class,com.liferay.portal.kernel.exception.SystemException.class})
public interface CommerceInventoryWarehouseService
extends com.liferay.portal.kernel.service.BaseService
Provides the remote service interface for CommerceInventoryWarehouse. 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:
-
Method Summary
Modifier and TypeMethodDescriptionaddCommerceInventoryWarehouse
(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) deleteCommerceInventoryWarehouse
(long commerceInventoryWarehouseId) fetchByCommerceInventoryWarehouse
(long commerceInventoryWarehouseId) fetchCommerceInventoryWarehouseByExternalReferenceCode
(String externalReferenceCode, long companyId) geolocateCommerceInventoryWarehouse
(long commerceInventoryWarehouseId, double latitude, double longitude) getCommerceInventoryWarehouse
(long commerceInventoryWarehouseId) getCommerceInventoryWarehouses
(long companyId, boolean active, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryWarehouse> orderByComparator) getCommerceInventoryWarehouses
(long companyId, boolean active, String commerceCountryCode, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryWarehouse> orderByComparator) getCommerceInventoryWarehouses
(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryWarehouse> orderByComparator) getCommerceInventoryWarehouses
(long companyId, long accountEntryId, long groupId, boolean active) int
getCommerceInventoryWarehousesCount
(long companyId) int
getCommerceInventoryWarehousesCount
(long companyId, boolean active, String commerceCountryCode) Returns the OSGi service identifier.search
(long companyId, Boolean active, String commerceCountryCode, String keywords, int start, int end, com.liferay.portal.kernel.search.Sort sort) int
searchCommerceInventoryWarehousesCount
(long companyId, Boolean active, String commerceCountryCode, String keywords) setActive
(long commerceInventoryWarehouseId, boolean active) 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) updateCommerceInventoryWarehouseExternalReferenceCode
(String externalReferenceCode, long commerceInventoryWarehouseId)
-
Method Details
-
addCommerceInventoryWarehouse
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
CommerceInventoryWarehouse deleteCommerceInventoryWarehouse(long commerceInventoryWarehouseId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
fetchByCommerceInventoryWarehouse
@Transactional(propagation=SUPPORTS, readOnly=true) CommerceInventoryWarehouse fetchByCommerceInventoryWarehouse(long commerceInventoryWarehouseId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
fetchCommerceInventoryWarehouseByExternalReferenceCode
@Transactional(propagation=SUPPORTS, readOnly=true) CommerceInventoryWarehouse fetchCommerceInventoryWarehouseByExternalReferenceCode(String externalReferenceCode, long companyId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
geolocateCommerceInventoryWarehouse
CommerceInventoryWarehouse geolocateCommerceInventoryWarehouse(long commerceInventoryWarehouseId, double latitude, double longitude) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCommerceInventoryWarehouse
@Transactional(propagation=SUPPORTS, readOnly=true) CommerceInventoryWarehouse getCommerceInventoryWarehouse(long commerceInventoryWarehouseId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCommerceInventoryWarehouses
@Transactional(propagation=SUPPORTS, readOnly=true) 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
@Transactional(propagation=SUPPORTS, readOnly=true) 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
@Transactional(propagation=SUPPORTS, readOnly=true) 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
@Transactional(propagation=SUPPORTS, readOnly=true) 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
@Transactional(propagation=SUPPORTS, readOnly=true) int getCommerceInventoryWarehousesCount(long companyId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCommerceInventoryWarehousesCount
@Transactional(propagation=SUPPORTS, readOnly=true) int getCommerceInventoryWarehousesCount(long companyId, boolean active, String commerceCountryCode) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getOSGiServiceIdentifier
String getOSGiServiceIdentifier()Returns the OSGi service identifier.- Returns:
- the OSGi service identifier
-
search
@Transactional(propagation=SUPPORTS, readOnly=true) 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
@Transactional(propagation=SUPPORTS, readOnly=true) 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
CommerceInventoryWarehouse setActive(long commerceInventoryWarehouseId, boolean active) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateCommerceInventoryWarehouse
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
CommerceInventoryWarehouse updateCommerceInventoryWarehouseExternalReferenceCode(String externalReferenceCode, long commerceInventoryWarehouseId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-