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) voiddeleteCommerceDiscountRule(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) intgetCommerceDiscountRulesCount(long commerceDiscountId) intgetCommerceDiscountRulesCount(long commerceDiscountId, String name) Returns the OSGi service identifier.voidsetWrappedService(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:
addCommerceDiscountRulein 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:
addCommerceDiscountRulein interfaceCommerceDiscountRuleService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
deleteCommerceDiscountRule
public void deleteCommerceDiscountRule(long commerceDiscountRuleId) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
deleteCommerceDiscountRulein interfaceCommerceDiscountRuleService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
fetchCommerceDiscountRule
public CommerceDiscountRule fetchCommerceDiscountRule(long commerceDiscountRuleId) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
fetchCommerceDiscountRulein interfaceCommerceDiscountRuleService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCommerceDiscountRule
public CommerceDiscountRule getCommerceDiscountRule(long commerceDiscountRuleId) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getCommerceDiscountRulein 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:
getCommerceDiscountRulesin 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:
getCommerceDiscountRulesin interfaceCommerceDiscountRuleService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCommerceDiscountRulesCount
public int getCommerceDiscountRulesCount(long commerceDiscountId) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getCommerceDiscountRulesCountin 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:
getCommerceDiscountRulesCountin interfaceCommerceDiscountRuleService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getOSGiServiceIdentifier
Returns the OSGi service identifier.- Specified by:
getOSGiServiceIdentifierin 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:
updateCommerceDiscountRulein 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:
updateCommerceDiscountRulein interfaceCommerceDiscountRuleService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getWrappedService
- Specified by:
getWrappedServicein interfacecom.liferay.portal.kernel.service.ServiceWrapper<CommerceDiscountRuleService>
-
setWrappedService
- Specified by:
setWrappedServicein interfacecom.liferay.portal.kernel.service.ServiceWrapper<CommerceDiscountRuleService>
-