public class CommerceShippingMethodServiceWrapper extends java.lang.Object implements CommerceShippingMethodService, com.liferay.portal.kernel.service.ServiceWrapper<CommerceShippingMethodService>
CommerceShippingMethodService
.CommerceShippingMethodService
Constructor and Description |
---|
CommerceShippingMethodServiceWrapper() |
CommerceShippingMethodServiceWrapper(CommerceShippingMethodService commerceShippingMethodService) |
Modifier and Type | Method and Description |
---|---|
CommerceAddressRestriction |
addCommerceAddressRestriction(long groupId,
long commerceShippingMethodId,
long countryId) |
CommerceAddressRestriction |
addCommerceAddressRestriction(long commerceShippingMethodId,
long countryId,
com.liferay.portal.kernel.service.ServiceContext serviceContext)
Deprecated.
As of Athanasius (7.3.x)
|
CommerceShippingMethod |
addCommerceShippingMethod(long groupId,
java.util.Map<java.util.Locale,java.lang.String> nameMap,
java.util.Map<java.util.Locale,java.lang.String> descriptionMap,
java.io.File imageFile,
java.lang.String engineKey,
double priority,
boolean active) |
CommerceShippingMethod |
createCommerceShippingMethod(long commerceShippingMethodId) |
void |
deleteCommerceAddressRestriction(long commerceAddressRestrictionId) |
void |
deleteCommerceAddressRestrictions(long commerceShippingMethodId) |
void |
deleteCommerceShippingMethod(long commerceShippingMethodId) |
CommerceShippingMethod |
fetchCommerceShippingMethod(long groupId,
java.lang.String engineKey) |
java.util.List<CommerceAddressRestriction> |
getCommerceAddressRestrictions(long commerceShippingMethodId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceAddressRestriction> orderByComparator) |
int |
getCommerceAddressRestrictionsCount(long commerceShippingMethodId) |
CommerceShippingMethod |
getCommerceShippingMethod(long commerceShippingMethodId) |
java.util.List<CommerceShippingMethod> |
getCommerceShippingMethods(long groupId) |
java.util.List<CommerceShippingMethod> |
getCommerceShippingMethods(long groupId,
boolean active) |
java.util.List<CommerceShippingMethod> |
getCommerceShippingMethods(long groupId,
long countryId,
boolean active) |
int |
getCommerceShippingMethodsCount(long groupId,
boolean active) |
java.lang.String |
getOSGiServiceIdentifier()
Returns the OSGi service identifier.
|
CommerceShippingMethodService |
getWrappedService() |
CommerceShippingMethod |
setActive(long commerceShippingMethodId,
boolean active) |
void |
setWrappedService(CommerceShippingMethodService commerceShippingMethodService) |
CommerceShippingMethod |
updateCommerceShippingMethod(long commerceShippingMethodId,
java.util.Map<java.util.Locale,java.lang.String> nameMap,
java.util.Map<java.util.Locale,java.lang.String> descriptionMap,
java.io.File imageFile,
double priority,
boolean active) |
public CommerceShippingMethodServiceWrapper()
public CommerceShippingMethodServiceWrapper(CommerceShippingMethodService commerceShippingMethodService)
public CommerceAddressRestriction addCommerceAddressRestriction(long groupId, long commerceShippingMethodId, long countryId) throws com.liferay.portal.kernel.exception.PortalException
addCommerceAddressRestriction
in interface CommerceShippingMethodService
com.liferay.portal.kernel.exception.PortalException
@Deprecated public CommerceAddressRestriction addCommerceAddressRestriction(long commerceShippingMethodId, long countryId, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
addCommerceAddressRestriction
in interface CommerceShippingMethodService
com.liferay.portal.kernel.exception.PortalException
public CommerceShippingMethod addCommerceShippingMethod(long groupId, java.util.Map<java.util.Locale,java.lang.String> nameMap, java.util.Map<java.util.Locale,java.lang.String> descriptionMap, java.io.File imageFile, java.lang.String engineKey, double priority, boolean active) throws com.liferay.portal.kernel.exception.PortalException
addCommerceShippingMethod
in interface CommerceShippingMethodService
com.liferay.portal.kernel.exception.PortalException
public CommerceShippingMethod createCommerceShippingMethod(long commerceShippingMethodId) throws com.liferay.portal.kernel.exception.PortalException
createCommerceShippingMethod
in interface CommerceShippingMethodService
com.liferay.portal.kernel.exception.PortalException
public void deleteCommerceAddressRestriction(long commerceAddressRestrictionId) throws com.liferay.portal.kernel.exception.PortalException
deleteCommerceAddressRestriction
in interface CommerceShippingMethodService
com.liferay.portal.kernel.exception.PortalException
public void deleteCommerceAddressRestrictions(long commerceShippingMethodId) throws com.liferay.portal.kernel.exception.PortalException
deleteCommerceAddressRestrictions
in interface CommerceShippingMethodService
com.liferay.portal.kernel.exception.PortalException
public void deleteCommerceShippingMethod(long commerceShippingMethodId) throws com.liferay.portal.kernel.exception.PortalException
deleteCommerceShippingMethod
in interface CommerceShippingMethodService
com.liferay.portal.kernel.exception.PortalException
public CommerceShippingMethod fetchCommerceShippingMethod(long groupId, java.lang.String engineKey) throws com.liferay.portal.kernel.exception.PortalException
fetchCommerceShippingMethod
in interface CommerceShippingMethodService
com.liferay.portal.kernel.exception.PortalException
public java.util.List<CommerceAddressRestriction> getCommerceAddressRestrictions(long commerceShippingMethodId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceAddressRestriction> orderByComparator) throws com.liferay.portal.kernel.exception.PortalException
getCommerceAddressRestrictions
in interface CommerceShippingMethodService
com.liferay.portal.kernel.exception.PortalException
public int getCommerceAddressRestrictionsCount(long commerceShippingMethodId) throws com.liferay.portal.kernel.exception.PortalException
getCommerceAddressRestrictionsCount
in interface CommerceShippingMethodService
com.liferay.portal.kernel.exception.PortalException
public CommerceShippingMethod getCommerceShippingMethod(long commerceShippingMethodId) throws com.liferay.portal.kernel.exception.PortalException
getCommerceShippingMethod
in interface CommerceShippingMethodService
com.liferay.portal.kernel.exception.PortalException
public java.util.List<CommerceShippingMethod> getCommerceShippingMethods(long groupId) throws com.liferay.portal.kernel.exception.PortalException
getCommerceShippingMethods
in interface CommerceShippingMethodService
com.liferay.portal.kernel.exception.PortalException
public java.util.List<CommerceShippingMethod> getCommerceShippingMethods(long groupId, boolean active) throws com.liferay.portal.kernel.exception.PortalException
getCommerceShippingMethods
in interface CommerceShippingMethodService
com.liferay.portal.kernel.exception.PortalException
public java.util.List<CommerceShippingMethod> getCommerceShippingMethods(long groupId, long countryId, boolean active) throws com.liferay.portal.kernel.exception.PortalException
getCommerceShippingMethods
in interface CommerceShippingMethodService
com.liferay.portal.kernel.exception.PortalException
public int getCommerceShippingMethodsCount(long groupId, boolean active) throws com.liferay.portal.kernel.exception.PortalException
getCommerceShippingMethodsCount
in interface CommerceShippingMethodService
com.liferay.portal.kernel.exception.PortalException
public java.lang.String getOSGiServiceIdentifier()
getOSGiServiceIdentifier
in interface CommerceShippingMethodService
public CommerceShippingMethod setActive(long commerceShippingMethodId, boolean active) throws com.liferay.portal.kernel.exception.PortalException
setActive
in interface CommerceShippingMethodService
com.liferay.portal.kernel.exception.PortalException
public CommerceShippingMethod updateCommerceShippingMethod(long commerceShippingMethodId, java.util.Map<java.util.Locale,java.lang.String> nameMap, java.util.Map<java.util.Locale,java.lang.String> descriptionMap, java.io.File imageFile, double priority, boolean active) throws com.liferay.portal.kernel.exception.PortalException
updateCommerceShippingMethod
in interface CommerceShippingMethodService
com.liferay.portal.kernel.exception.PortalException
public CommerceShippingMethodService getWrappedService()
getWrappedService
in interface com.liferay.portal.kernel.service.ServiceWrapper<CommerceShippingMethodService>
public void setWrappedService(CommerceShippingMethodService commerceShippingMethodService)
setWrappedService
in interface com.liferay.portal.kernel.service.ServiceWrapper<CommerceShippingMethodService>