public class CommerceDiscountRuleServiceWrapper extends java.lang.Object implements CommerceDiscountRuleService, com.liferay.portal.kernel.service.ServiceWrapper<CommerceDiscountRuleService>
CommerceDiscountRuleService.CommerceDiscountRuleService| Constructor and Description |
|---|
CommerceDiscountRuleServiceWrapper(CommerceDiscountRuleService commerceDiscountRuleService) |
| Modifier and Type | Method and Description |
|---|---|
CommerceDiscountRule |
addCommerceDiscountRule(long commerceDiscountId,
java.lang.String type,
java.lang.String typeSettings,
com.liferay.portal.kernel.service.ServiceContext serviceContext)
NOTE FOR DEVELOPERS:
Never modify or reference this interface directly.
|
void |
deleteCommerceDiscountRule(long commerceDiscountRuleId) |
CommerceDiscountRule |
fetchCommerceDiscountRule(long commerceDiscountRuleId) |
CommerceDiscountRule |
getCommerceDiscountRule(long commerceDiscountRuleId) |
java.util.List<CommerceDiscountRule> |
getCommerceDiscountRules(long commerceDiscountId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceDiscountRule> orderByComparator) |
int |
getCommerceDiscountRulesCount(long commerceDiscountId) |
java.lang.String |
getOSGiServiceIdentifier()
Returns the OSGi service identifier.
|
CommerceDiscountRuleService |
getWrappedService() |
void |
setWrappedService(CommerceDiscountRuleService commerceDiscountRuleService) |
CommerceDiscountRule |
updateCommerceDiscountRule(long commerceDiscountRuleId,
java.lang.String type,
java.lang.String typeSettings) |
public CommerceDiscountRuleServiceWrapper(CommerceDiscountRuleService commerceDiscountRuleService)
public CommerceDiscountRule addCommerceDiscountRule(long commerceDiscountId, java.lang.String type, java.lang.String typeSettings, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
CommerceDiscountRuleServiceUtil to access the commerce discount rule remote service. Add custom service methods to com.liferay.commerce.discount.service.impl.CommerceDiscountRuleServiceImpl and rerun ServiceBuilder to automatically copy the method declarations to this interface.addCommerceDiscountRule in interface CommerceDiscountRuleServicecom.liferay.portal.kernel.exception.PortalExceptionpublic void deleteCommerceDiscountRule(long commerceDiscountRuleId)
throws com.liferay.portal.kernel.exception.PortalException
deleteCommerceDiscountRule in interface CommerceDiscountRuleServicecom.liferay.portal.kernel.exception.PortalExceptionpublic CommerceDiscountRule fetchCommerceDiscountRule(long commerceDiscountRuleId) throws com.liferay.portal.kernel.exception.PortalException
fetchCommerceDiscountRule in interface CommerceDiscountRuleServicecom.liferay.portal.kernel.exception.PortalExceptionpublic CommerceDiscountRule getCommerceDiscountRule(long commerceDiscountRuleId) throws com.liferay.portal.kernel.exception.PortalException
getCommerceDiscountRule in interface CommerceDiscountRuleServicecom.liferay.portal.kernel.exception.PortalExceptionpublic java.util.List<CommerceDiscountRule> getCommerceDiscountRules(long commerceDiscountId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceDiscountRule> orderByComparator) throws com.liferay.portal.kernel.exception.PortalException
getCommerceDiscountRules in interface CommerceDiscountRuleServicecom.liferay.portal.kernel.exception.PortalExceptionpublic int getCommerceDiscountRulesCount(long commerceDiscountId)
throws com.liferay.portal.kernel.exception.PortalException
getCommerceDiscountRulesCount in interface CommerceDiscountRuleServicecom.liferay.portal.kernel.exception.PortalExceptionpublic java.lang.String getOSGiServiceIdentifier()
getOSGiServiceIdentifier in interface CommerceDiscountRuleServicepublic CommerceDiscountRule updateCommerceDiscountRule(long commerceDiscountRuleId, java.lang.String type, java.lang.String typeSettings) throws com.liferay.portal.kernel.exception.PortalException
updateCommerceDiscountRule in interface CommerceDiscountRuleServicecom.liferay.portal.kernel.exception.PortalExceptionpublic CommerceDiscountRuleService getWrappedService()
getWrappedService in interface com.liferay.portal.kernel.service.ServiceWrapper<CommerceDiscountRuleService>public void setWrappedService(CommerceDiscountRuleService commerceDiscountRuleService)
setWrappedService in interface com.liferay.portal.kernel.service.ServiceWrapper<CommerceDiscountRuleService>