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 CommerceDiscountRuleService
com.liferay.portal.kernel.exception.PortalException
public 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 CommerceDiscountRuleService
com.liferay.portal.kernel.exception.PortalException
public void deleteCommerceDiscountRule(long commerceDiscountRuleId) throws com.liferay.portal.kernel.exception.PortalException
deleteCommerceDiscountRule
in interface CommerceDiscountRuleService
com.liferay.portal.kernel.exception.PortalException
public CommerceDiscountRule fetchCommerceDiscountRule(long commerceDiscountRuleId) throws com.liferay.portal.kernel.exception.PortalException
fetchCommerceDiscountRule
in interface CommerceDiscountRuleService
com.liferay.portal.kernel.exception.PortalException
public CommerceDiscountRule getCommerceDiscountRule(long commerceDiscountRuleId) throws com.liferay.portal.kernel.exception.PortalException
getCommerceDiscountRule
in interface CommerceDiscountRuleService
com.liferay.portal.kernel.exception.PortalException
public 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 CommerceDiscountRuleService
com.liferay.portal.kernel.exception.PortalException
public 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 CommerceDiscountRuleService
com.liferay.portal.kernel.exception.PortalException
public int getCommerceDiscountRulesCount(long commerceDiscountId) throws com.liferay.portal.kernel.exception.PortalException
getCommerceDiscountRulesCount
in interface CommerceDiscountRuleService
com.liferay.portal.kernel.exception.PortalException
public int getCommerceDiscountRulesCount(long commerceDiscountId, java.lang.String name) throws com.liferay.portal.kernel.exception.PortalException
getCommerceDiscountRulesCount
in interface CommerceDiscountRuleService
com.liferay.portal.kernel.exception.PortalException
public java.lang.String getOSGiServiceIdentifier()
getOSGiServiceIdentifier
in interface CommerceDiscountRuleService
public CommerceDiscountRule updateCommerceDiscountRule(long commerceDiscountRuleId, java.lang.String type, java.lang.String typeSettings) throws com.liferay.portal.kernel.exception.PortalException
updateCommerceDiscountRule
in interface CommerceDiscountRuleService
com.liferay.portal.kernel.exception.PortalException
public 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 CommerceDiscountRuleService
com.liferay.portal.kernel.exception.PortalException
public 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>