Interface CommerceDiscountRuleService
- All Superinterfaces:
com.liferay.portal.kernel.service.BaseService
- All Known Implementing Classes:
CommerceDiscountRuleServiceWrapper
@AccessControlled
@JSONWebService
@ProviderType
@Transactional(isolation=PORTAL,
rollbackFor={com.liferay.portal.kernel.exception.PortalException.class,com.liferay.portal.kernel.exception.SystemException.class})
public interface CommerceDiscountRuleService
extends com.liferay.portal.kernel.service.BaseService
Provides the remote service interface for CommerceDiscountRule. Methods of this
service are expected to have security checks based on the propagated JAAS
credentials because this service can be accessed remotely.
- See Also:
- Generated:
-
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.updateCommerceDiscountRule
(long commerceDiscountRuleId, String type, String typeSettings) updateCommerceDiscountRule
(long commerceDiscountRuleId, String name, String type, String typeSettings)
-
Method Details
-
addCommerceDiscountRule
CommerceDiscountRule addCommerceDiscountRule(long commerceDiscountId, String type, String typeSettings, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
addCommerceDiscountRule
CommerceDiscountRule addCommerceDiscountRule(long commerceDiscountId, String name, String type, String typeSettings, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
deleteCommerceDiscountRule
void deleteCommerceDiscountRule(long commerceDiscountRuleId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
fetchCommerceDiscountRule
@Transactional(propagation=SUPPORTS, readOnly=true) CommerceDiscountRule fetchCommerceDiscountRule(long commerceDiscountRuleId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCommerceDiscountRule
@Transactional(propagation=SUPPORTS, readOnly=true) CommerceDiscountRule getCommerceDiscountRule(long commerceDiscountRuleId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCommerceDiscountRules
@Transactional(propagation=SUPPORTS, readOnly=true) List<CommerceDiscountRule> getCommerceDiscountRules(long commerceDiscountId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceDiscountRule> orderByComparator) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCommerceDiscountRules
@Transactional(propagation=SUPPORTS, readOnly=true) List<CommerceDiscountRule> getCommerceDiscountRules(long commerceDiscountId, String name, int start, int end) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCommerceDiscountRulesCount
@Transactional(propagation=SUPPORTS, readOnly=true) int getCommerceDiscountRulesCount(long commerceDiscountId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCommerceDiscountRulesCount
@Transactional(propagation=SUPPORTS, readOnly=true) int getCommerceDiscountRulesCount(long commerceDiscountId, String name) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getOSGiServiceIdentifier
String getOSGiServiceIdentifier()Returns the OSGi service identifier.- Returns:
- the OSGi service identifier
-
updateCommerceDiscountRule
CommerceDiscountRule updateCommerceDiscountRule(long commerceDiscountRuleId, String type, String typeSettings) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateCommerceDiscountRule
CommerceDiscountRule updateCommerceDiscountRule(long commerceDiscountRuleId, String name, String type, String typeSettings) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-