@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
CommerceDiscountRuleServiceUtil
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.
|
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) |
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
com.liferay.portal.kernel.exception.PortalException
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
com.liferay.portal.kernel.exception.PortalException
void deleteCommerceDiscountRule(long commerceDiscountRuleId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
@Transactional(propagation=SUPPORTS, readOnly=true) CommerceDiscountRule fetchCommerceDiscountRule(long commerceDiscountRuleId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
@Transactional(propagation=SUPPORTS, readOnly=true) CommerceDiscountRule getCommerceDiscountRule(long commerceDiscountRuleId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
@Transactional(propagation=SUPPORTS, readOnly=true) 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
com.liferay.portal.kernel.exception.PortalException
@Transactional(propagation=SUPPORTS, readOnly=true) java.util.List<CommerceDiscountRule> getCommerceDiscountRules(long commerceDiscountId, java.lang.String name, int start, int end) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
@Transactional(propagation=SUPPORTS, readOnly=true) int getCommerceDiscountRulesCount(long commerceDiscountId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
@Transactional(propagation=SUPPORTS, readOnly=true) int getCommerceDiscountRulesCount(long commerceDiscountId, java.lang.String name) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
java.lang.String getOSGiServiceIdentifier()
CommerceDiscountRule updateCommerceDiscountRule(long commerceDiscountRuleId, java.lang.String type, java.lang.String typeSettings) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
CommerceDiscountRule updateCommerceDiscountRule(long commerceDiscountRuleId, java.lang.String name, java.lang.String type, java.lang.String typeSettings) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException