Package com.liferay.commerce.service
Class CommerceShippingMethodServiceWrapper
java.lang.Object
com.liferay.commerce.service.CommerceShippingMethodServiceWrapper
- All Implemented Interfaces:
CommerceShippingMethodService
,com.liferay.portal.kernel.service.BaseService
,com.liferay.portal.kernel.service.ServiceWrapper<CommerceShippingMethodService>
public class CommerceShippingMethodServiceWrapper
extends Object
implements CommerceShippingMethodService, com.liferay.portal.kernel.service.ServiceWrapper<CommerceShippingMethodService>
Provides a wrapper for
CommerceShippingMethodService
.- See Also:
- Generated:
-
Constructor Summary
ConstructorsConstructorDescriptionCommerceShippingMethodServiceWrapper
(CommerceShippingMethodService commerceShippingMethodService) -
Method Summary
Modifier and TypeMethodDescriptionaddCommerceAddressRestriction
(long groupId, long commerceShippingMethodId, long countryId) addCommerceAddressRestriction
(long commerceShippingMethodId, long countryId, com.liferay.portal.kernel.service.ServiceContext serviceContext) Deprecated.As of Athanasius (7.3.x)addCommerceShippingMethod
(long groupId, Map<Locale, String> nameMap, Map<Locale, String> descriptionMap, boolean active, String engineKey, File imageFile, double priority, String trackingURL) createCommerceShippingMethod
(long commerceShippingMethodId) void
deleteCommerceAddressRestriction
(long commerceAddressRestrictionId) void
deleteCommerceAddressRestrictions
(long commerceShippingMethodId) void
deleteCommerceShippingMethod
(long commerceShippingMethodId) fetchCommerceShippingMethod
(long groupId, String engineKey) getCommerceAddressRestrictions
(long commerceShippingMethodId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceAddressRestriction> orderByComparator) int
getCommerceAddressRestrictionsCount
(long commerceShippingMethodId) getCommerceShippingMethod
(long commerceShippingMethodId) getCommerceShippingMethods
(long groupId, boolean active, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceShippingMethod> orderByComparator) getCommerceShippingMethods
(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceShippingMethod> orderByComparator) getCommerceShippingMethods
(long groupId, long countryId, boolean active) int
getCommerceShippingMethodsCount
(long groupId) Returns the OSGi service identifier.setActive
(long commerceShippingMethodId, boolean active) void
setWrappedService
(CommerceShippingMethodService commerceShippingMethodService) updateCommerceShippingMethod
(long commerceShippingMethodId, Map<Locale, String> nameMap, Map<Locale, String> descriptionMap, boolean active, File imageFile, double priority, String trackingURL) updateCommerceShippingMethod
(CommerceShippingMethod commerceShippingMethod)
-
Constructor Details
-
CommerceShippingMethodServiceWrapper
public CommerceShippingMethodServiceWrapper() -
CommerceShippingMethodServiceWrapper
public CommerceShippingMethodServiceWrapper(CommerceShippingMethodService commerceShippingMethodService)
-
-
Method Details
-
addCommerceAddressRestriction
public CommerceAddressRestriction addCommerceAddressRestriction(long groupId, long commerceShippingMethodId, long countryId) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
addCommerceAddressRestriction
in interfaceCommerceShippingMethodService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
addCommerceAddressRestriction
@Deprecated public CommerceAddressRestriction addCommerceAddressRestriction(long commerceShippingMethodId, long countryId, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException Deprecated.As of Athanasius (7.3.x)- Specified by:
addCommerceAddressRestriction
in interfaceCommerceShippingMethodService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
addCommerceShippingMethod
public CommerceShippingMethod addCommerceShippingMethod(long groupId, Map<Locale, String> nameMap, Map<Locale, throws com.liferay.portal.kernel.exception.PortalExceptionString> descriptionMap, boolean active, String engineKey, File imageFile, double priority, String trackingURL) - Specified by:
addCommerceShippingMethod
in interfaceCommerceShippingMethodService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
createCommerceShippingMethod
public CommerceShippingMethod createCommerceShippingMethod(long commerceShippingMethodId) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
createCommerceShippingMethod
in interfaceCommerceShippingMethodService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
deleteCommerceAddressRestriction
public void deleteCommerceAddressRestriction(long commerceAddressRestrictionId) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
deleteCommerceAddressRestriction
in interfaceCommerceShippingMethodService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
deleteCommerceAddressRestrictions
public void deleteCommerceAddressRestrictions(long commerceShippingMethodId) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
deleteCommerceAddressRestrictions
in interfaceCommerceShippingMethodService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
deleteCommerceShippingMethod
public void deleteCommerceShippingMethod(long commerceShippingMethodId) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
deleteCommerceShippingMethod
in interfaceCommerceShippingMethodService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
fetchCommerceShippingMethod
public CommerceShippingMethod fetchCommerceShippingMethod(long groupId, String engineKey) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
fetchCommerceShippingMethod
in interfaceCommerceShippingMethodService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCommerceAddressRestrictions
public List<CommerceAddressRestriction> getCommerceAddressRestrictions(long commerceShippingMethodId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceAddressRestriction> orderByComparator) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getCommerceAddressRestrictions
in interfaceCommerceShippingMethodService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCommerceAddressRestrictionsCount
public int getCommerceAddressRestrictionsCount(long commerceShippingMethodId) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getCommerceAddressRestrictionsCount
in interfaceCommerceShippingMethodService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCommerceShippingMethod
public CommerceShippingMethod getCommerceShippingMethod(long commerceShippingMethodId) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getCommerceShippingMethod
in interfaceCommerceShippingMethodService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCommerceShippingMethods
public List<CommerceShippingMethod> getCommerceShippingMethods(long groupId, boolean active, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceShippingMethod> orderByComparator) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getCommerceShippingMethods
in interfaceCommerceShippingMethodService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCommerceShippingMethods
public List<CommerceShippingMethod> getCommerceShippingMethods(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceShippingMethod> orderByComparator) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getCommerceShippingMethods
in interfaceCommerceShippingMethodService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCommerceShippingMethods
public List<CommerceShippingMethod> getCommerceShippingMethods(long groupId, long countryId, boolean active) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getCommerceShippingMethods
in interfaceCommerceShippingMethodService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCommerceShippingMethodsCount
public int getCommerceShippingMethodsCount(long groupId) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getCommerceShippingMethodsCount
in interfaceCommerceShippingMethodService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getOSGiServiceIdentifier
Returns the OSGi service identifier.- Specified by:
getOSGiServiceIdentifier
in interfaceCommerceShippingMethodService
- Returns:
- the OSGi service identifier
-
setActive
public CommerceShippingMethod setActive(long commerceShippingMethodId, boolean active) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
setActive
in interfaceCommerceShippingMethodService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateCommerceShippingMethod
public CommerceShippingMethod updateCommerceShippingMethod(CommerceShippingMethod commerceShippingMethod) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
updateCommerceShippingMethod
in interfaceCommerceShippingMethodService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateCommerceShippingMethod
public CommerceShippingMethod updateCommerceShippingMethod(long commerceShippingMethodId, Map<Locale, String> nameMap, Map<Locale, throws com.liferay.portal.kernel.exception.PortalExceptionString> descriptionMap, boolean active, File imageFile, double priority, String trackingURL) - Specified by:
updateCommerceShippingMethod
in interfaceCommerceShippingMethodService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getWrappedService
- Specified by:
getWrappedService
in interfacecom.liferay.portal.kernel.service.ServiceWrapper<CommerceShippingMethodService>
-
setWrappedService
- Specified by:
setWrappedService
in interfacecom.liferay.portal.kernel.service.ServiceWrapper<CommerceShippingMethodService>
-