Class CommerceDiscountRuleServiceWrapper
java.lang.Object
com.liferay.commerce.discount.service.CommerceDiscountRuleServiceWrapper
- All Implemented Interfaces:
CommerceDiscountRuleService
,com.liferay.portal.kernel.service.BaseService
,com.liferay.portal.kernel.service.ServiceWrapper<CommerceDiscountRuleService>
public class CommerceDiscountRuleServiceWrapper
extends Object
implements CommerceDiscountRuleService, com.liferay.portal.kernel.service.ServiceWrapper<CommerceDiscountRuleService>
Provides a wrapper for
CommerceDiscountRuleService
.- See Also:
- Generated:
-
Constructor Summary
ConstructorsConstructorDescriptionCommerceDiscountRuleServiceWrapper
(CommerceDiscountRuleService commerceDiscountRuleService) -
Method Summary
Modifier and TypeMethodDescriptionaddCommerceDiscountRule
(long commerceDiscountId, String type, String typeSettings, com.liferay.portal.kernel.service.ServiceContext serviceContext) addCommerceDiscountRule
(long commerceDiscountId, String name, String type, String typeSettings, com.liferay.portal.kernel.service.ServiceContext serviceContext) void
deleteCommerceDiscountRule
(long commerceDiscountRuleId) fetchCommerceDiscountRule
(long commerceDiscountRuleId) getCommerceDiscountRule
(long commerceDiscountRuleId) getCommerceDiscountRules
(long commerceDiscountId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceDiscountRule> orderByComparator) getCommerceDiscountRules
(long commerceDiscountId, String name, int start, int end) int
getCommerceDiscountRulesCount
(long commerceDiscountId) int
getCommerceDiscountRulesCount
(long commerceDiscountId, String name) Returns the OSGi service identifier.void
setWrappedService
(CommerceDiscountRuleService commerceDiscountRuleService) updateCommerceDiscountRule
(long commerceDiscountRuleId, String type, String typeSettings) updateCommerceDiscountRule
(long commerceDiscountRuleId, String name, String type, String typeSettings)
-
Constructor Details
-
CommerceDiscountRuleServiceWrapper
public CommerceDiscountRuleServiceWrapper() -
CommerceDiscountRuleServiceWrapper
-
-
Method Details
-
addCommerceDiscountRule
public CommerceDiscountRule addCommerceDiscountRule(long commerceDiscountId, String type, String typeSettings, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
addCommerceDiscountRule
in interfaceCommerceDiscountRuleService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
addCommerceDiscountRule
public CommerceDiscountRule addCommerceDiscountRule(long commerceDiscountId, String name, String type, String typeSettings, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
addCommerceDiscountRule
in interfaceCommerceDiscountRuleService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
deleteCommerceDiscountRule
public void deleteCommerceDiscountRule(long commerceDiscountRuleId) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
deleteCommerceDiscountRule
in interfaceCommerceDiscountRuleService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
fetchCommerceDiscountRule
public CommerceDiscountRule fetchCommerceDiscountRule(long commerceDiscountRuleId) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
fetchCommerceDiscountRule
in interfaceCommerceDiscountRuleService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCommerceDiscountRule
public CommerceDiscountRule getCommerceDiscountRule(long commerceDiscountRuleId) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getCommerceDiscountRule
in interfaceCommerceDiscountRuleService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCommerceDiscountRules
public List<CommerceDiscountRule> getCommerceDiscountRules(long commerceDiscountId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceDiscountRule> orderByComparator) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getCommerceDiscountRules
in interfaceCommerceDiscountRuleService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCommerceDiscountRules
public List<CommerceDiscountRule> getCommerceDiscountRules(long commerceDiscountId, String name, int start, int end) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getCommerceDiscountRules
in interfaceCommerceDiscountRuleService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCommerceDiscountRulesCount
public int getCommerceDiscountRulesCount(long commerceDiscountId) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getCommerceDiscountRulesCount
in interfaceCommerceDiscountRuleService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCommerceDiscountRulesCount
public int getCommerceDiscountRulesCount(long commerceDiscountId, String name) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getCommerceDiscountRulesCount
in interfaceCommerceDiscountRuleService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getOSGiServiceIdentifier
Returns the OSGi service identifier.- Specified by:
getOSGiServiceIdentifier
in interfaceCommerceDiscountRuleService
- Returns:
- the OSGi service identifier
-
updateCommerceDiscountRule
public CommerceDiscountRule updateCommerceDiscountRule(long commerceDiscountRuleId, String type, String typeSettings) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
updateCommerceDiscountRule
in interfaceCommerceDiscountRuleService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateCommerceDiscountRule
public CommerceDiscountRule updateCommerceDiscountRule(long commerceDiscountRuleId, String name, String type, String typeSettings) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
updateCommerceDiscountRule
in interfaceCommerceDiscountRuleService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getWrappedService
- Specified by:
getWrappedService
in interfacecom.liferay.portal.kernel.service.ServiceWrapper<CommerceDiscountRuleService>
-
setWrappedService
- Specified by:
setWrappedService
in interfacecom.liferay.portal.kernel.service.ServiceWrapper<CommerceDiscountRuleService>
-