public class CommerceDiscountRuleServiceWrapper extends java.lang.Object implements CommerceDiscountRuleService, com.liferay.portal.kernel.service.ServiceWrapper<CommerceDiscountRuleService>
CommerceDiscountRuleService.CommerceDiscountRuleService| Constructor and Description |
|---|
CommerceDiscountRuleServiceWrapper() |
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) |
CommerceDiscountRule |
addCommerceDiscountRule(long commerceDiscountId,
java.lang.String name,
java.lang.String type,
java.lang.String typeSettings,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
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) |
java.util.List<CommerceDiscountRule> |
getCommerceDiscountRules(long commerceDiscountId,
java.lang.String name,
int start,
int end) |
int |
getCommerceDiscountRulesCount(long commerceDiscountId) |
int |
getCommerceDiscountRulesCount(long commerceDiscountId,
java.lang.String name) |
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) |
CommerceDiscountRule |
updateCommerceDiscountRule(long commerceDiscountRuleId,
java.lang.String name,
java.lang.String type,
java.lang.String typeSettings) |
public CommerceDiscountRuleServiceWrapper()
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
addCommerceDiscountRule in interface CommerceDiscountRuleServicecom.liferay.portal.kernel.exception.PortalExceptionpublic CommerceDiscountRule addCommerceDiscountRule(long commerceDiscountId, java.lang.String name, java.lang.String type, java.lang.String typeSettings, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
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 java.util.List<CommerceDiscountRule> getCommerceDiscountRules(long commerceDiscountId, java.lang.String name, int start, int end) 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 int getCommerceDiscountRulesCount(long commerceDiscountId,
java.lang.String name)
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 CommerceDiscountRule updateCommerceDiscountRule(long commerceDiscountRuleId, java.lang.String name, 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>