Class CommerceDiscountRelServiceWrapper
java.lang.Object
com.liferay.commerce.discount.service.CommerceDiscountRelServiceWrapper
- All Implemented Interfaces:
CommerceDiscountRelService
,com.liferay.portal.kernel.service.BaseService
,com.liferay.portal.kernel.service.ServiceWrapper<CommerceDiscountRelService>
public class CommerceDiscountRelServiceWrapper
extends Object
implements CommerceDiscountRelService, com.liferay.portal.kernel.service.ServiceWrapper<CommerceDiscountRelService>
Provides a wrapper for
CommerceDiscountRelService
.- See Also:
- Generated:
-
Constructor Summary
ConstructorsConstructorDescriptionCommerceDiscountRelServiceWrapper
(CommerceDiscountRelService commerceDiscountRelService) -
Method Summary
Modifier and TypeMethodDescriptionaddCommerceDiscountRel
(long commerceDiscountId, String className, long classPK, com.liferay.portal.kernel.util.UnicodeProperties typeSettingsUnicodeProperties, com.liferay.portal.kernel.service.ServiceContext serviceContext) void
deleteCommerceDiscountRel
(long commerceDiscountRelId) fetchCommerceDiscountRel
(String className, long classPK) getCategoriesByCommerceDiscountId
(long commerceDiscountId, String name, int start, int end) int
getCategoriesByCommerceDiscountIdCount
(long commerceDiscountId, String name) long[]
getClassPKs
(long commerceDiscountId, String className) getCommerceDiscountRel
(long commerceDiscountRelId) getCommerceDiscountRels
(long commerceDiscountId, String className) getCommerceDiscountRels
(long commerceDiscountId, String className, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceDiscountRel> orderByComparator) int
getCommerceDiscountRelsCount
(long commerceDiscountId, String className) getCommercePricingClassesByCommerceDiscountId
(long commerceDiscountId, String title, int start, int end) int
getCommercePricingClassesByCommerceDiscountIdCount
(long commerceDiscountId, String title) getCPDefinitionsByCommerceDiscountId
(long commerceDiscountId, String name, String languageId, int start, int end) int
getCPDefinitionsByCommerceDiscountIdCount
(long commerceDiscountId, String name, String languageId) getCPInstancesByCommerceDiscountId
(long commerceDiscountId, String sku, int start, int end) int
getCPInstancesByCommerceDiscountIdCount
(long commerceDiscountId, String sku) Returns the OSGi service identifier.void
setWrappedService
(CommerceDiscountRelService commerceDiscountRelService)
-
Constructor Details
-
CommerceDiscountRelServiceWrapper
public CommerceDiscountRelServiceWrapper() -
CommerceDiscountRelServiceWrapper
-
-
Method Details
-
addCommerceDiscountRel
public CommerceDiscountRel addCommerceDiscountRel(long commerceDiscountId, String className, long classPK, com.liferay.portal.kernel.util.UnicodeProperties typeSettingsUnicodeProperties, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
addCommerceDiscountRel
in interfaceCommerceDiscountRelService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
deleteCommerceDiscountRel
public void deleteCommerceDiscountRel(long commerceDiscountRelId) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
deleteCommerceDiscountRel
in interfaceCommerceDiscountRelService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
fetchCommerceDiscountRel
public CommerceDiscountRel fetchCommerceDiscountRel(String className, long classPK) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
fetchCommerceDiscountRel
in interfaceCommerceDiscountRelService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCategoriesByCommerceDiscountId
public List<CommerceDiscountRel> getCategoriesByCommerceDiscountId(long commerceDiscountId, String name, int start, int end) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getCategoriesByCommerceDiscountId
in interfaceCommerceDiscountRelService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCategoriesByCommerceDiscountIdCount
public int getCategoriesByCommerceDiscountIdCount(long commerceDiscountId, String name) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getCategoriesByCommerceDiscountIdCount
in interfaceCommerceDiscountRelService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getClassPKs
public long[] getClassPKs(long commerceDiscountId, String className) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getClassPKs
in interfaceCommerceDiscountRelService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCommerceDiscountRel
public CommerceDiscountRel getCommerceDiscountRel(long commerceDiscountRelId) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getCommerceDiscountRel
in interfaceCommerceDiscountRelService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCommerceDiscountRels
public List<CommerceDiscountRel> getCommerceDiscountRels(long commerceDiscountId, String className) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getCommerceDiscountRels
in interfaceCommerceDiscountRelService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCommerceDiscountRels
public List<CommerceDiscountRel> getCommerceDiscountRels(long commerceDiscountId, String className, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceDiscountRel> orderByComparator) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getCommerceDiscountRels
in interfaceCommerceDiscountRelService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCommerceDiscountRelsCount
public int getCommerceDiscountRelsCount(long commerceDiscountId, String className) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getCommerceDiscountRelsCount
in interfaceCommerceDiscountRelService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCommercePricingClassesByCommerceDiscountId
public List<CommerceDiscountRel> getCommercePricingClassesByCommerceDiscountId(long commerceDiscountId, String title, int start, int end) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getCommercePricingClassesByCommerceDiscountId
in interfaceCommerceDiscountRelService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCommercePricingClassesByCommerceDiscountIdCount
public int getCommercePricingClassesByCommerceDiscountIdCount(long commerceDiscountId, String title) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getCommercePricingClassesByCommerceDiscountIdCount
in interfaceCommerceDiscountRelService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCPDefinitionsByCommerceDiscountId
public List<CommerceDiscountRel> getCPDefinitionsByCommerceDiscountId(long commerceDiscountId, String name, String languageId, int start, int end) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getCPDefinitionsByCommerceDiscountId
in interfaceCommerceDiscountRelService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCPDefinitionsByCommerceDiscountIdCount
public int getCPDefinitionsByCommerceDiscountIdCount(long commerceDiscountId, String name, String languageId) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getCPDefinitionsByCommerceDiscountIdCount
in interfaceCommerceDiscountRelService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCPInstancesByCommerceDiscountId
public List<CommerceDiscountRel> getCPInstancesByCommerceDiscountId(long commerceDiscountId, String sku, int start, int end) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getCPInstancesByCommerceDiscountId
in interfaceCommerceDiscountRelService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCPInstancesByCommerceDiscountIdCount
public int getCPInstancesByCommerceDiscountIdCount(long commerceDiscountId, String sku) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getCPInstancesByCommerceDiscountIdCount
in interfaceCommerceDiscountRelService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getOSGiServiceIdentifier
Returns the OSGi service identifier.- Specified by:
getOSGiServiceIdentifier
in interfaceCommerceDiscountRelService
- Returns:
- the OSGi service identifier
-
getWrappedService
- Specified by:
getWrappedService
in interfacecom.liferay.portal.kernel.service.ServiceWrapper<CommerceDiscountRelService>
-
setWrappedService
- Specified by:
setWrappedService
in interfacecom.liferay.portal.kernel.service.ServiceWrapper<CommerceDiscountRelService>
-