Class CommercePricingClassServiceWrapper
java.lang.Object
com.liferay.commerce.pricing.service.CommercePricingClassServiceWrapper
- All Implemented Interfaces:
CommercePricingClassService
,com.liferay.portal.kernel.service.BaseService
,com.liferay.portal.kernel.service.ServiceWrapper<CommercePricingClassService>
public class CommercePricingClassServiceWrapper
extends Object
implements CommercePricingClassService, com.liferay.portal.kernel.service.ServiceWrapper<CommercePricingClassService>
Provides a wrapper for
CommercePricingClassService
.- See Also:
- Generated:
-
Constructor Summary
ConstructorsConstructorDescriptionCommercePricingClassServiceWrapper
(CommercePricingClassService commercePricingClassService) -
Method Summary
Modifier and TypeMethodDescriptionaddCommercePricingClass
(String externalReferenceCode, Map<Locale, String> titleMap, Map<Locale, String> descriptionMap, com.liferay.portal.kernel.service.ServiceContext serviceContext) addOrUpdateCommercePricingClass
(String externalReferenceCode, long commercePricingClassId, Map<Locale, String> titleMap, Map<Locale, String> descriptionMap, com.liferay.portal.kernel.service.ServiceContext serviceContext) deleteCommercePricingClass
(long commercePricingClassId) fetchCommercePricingClass
(long commercePricingClassId) fetchCommercePricingClassByExternalReferenceCode
(String externalReferenceCode, long companyId) getCommercePricingClass
(long commercePricingClassId) int
getCommercePricingClassCountByCPDefinitionId
(long cpDefinitionId, String title) getCommercePricingClasses
(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePricingClass> orderByComparator) int
getCommercePricingClassesCount
(long companyId) int
getCommercePricingClassesCount
(long cpDefinitionId, String title) Returns the OSGi service identifier.searchByCPDefinitionId
(long cpDefinitionId, String title, int start, int end) com.liferay.portal.kernel.search.BaseModelSearchResult<CommercePricingClass>
searchCommercePricingClasses
(long companyId, String keywords, int start, int end, com.liferay.portal.kernel.search.Sort sort) void
setWrappedService
(CommercePricingClassService commercePricingClassService) updateCommercePricingClass
(long commercePricingClassId, Map<Locale, String> titleMap, Map<Locale, String> descriptionMap, com.liferay.portal.kernel.service.ServiceContext serviceContext) updateCommercePricingClassExternalReferenceCode
(String externalReferenceCode, long commercePricingClassId)
-
Constructor Details
-
CommercePricingClassServiceWrapper
public CommercePricingClassServiceWrapper() -
CommercePricingClassServiceWrapper
-
-
Method Details
-
addCommercePricingClass
public CommercePricingClass addCommercePricingClass(String externalReferenceCode, Map<Locale, String> titleMap, Map<Locale, throws com.liferay.portal.kernel.exception.PortalExceptionString> descriptionMap, com.liferay.portal.kernel.service.ServiceContext serviceContext) - Specified by:
addCommercePricingClass
in interfaceCommercePricingClassService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
addOrUpdateCommercePricingClass
public CommercePricingClass addOrUpdateCommercePricingClass(String externalReferenceCode, long commercePricingClassId, Map<Locale, String> titleMap, Map<Locale, throws com.liferay.portal.kernel.exception.PortalExceptionString> descriptionMap, com.liferay.portal.kernel.service.ServiceContext serviceContext) - Specified by:
addOrUpdateCommercePricingClass
in interfaceCommercePricingClassService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
deleteCommercePricingClass
public CommercePricingClass deleteCommercePricingClass(long commercePricingClassId) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
deleteCommercePricingClass
in interfaceCommercePricingClassService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
fetchCommercePricingClass
public CommercePricingClass fetchCommercePricingClass(long commercePricingClassId) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
fetchCommercePricingClass
in interfaceCommercePricingClassService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
fetchCommercePricingClassByExternalReferenceCode
public CommercePricingClass fetchCommercePricingClassByExternalReferenceCode(String externalReferenceCode, long companyId) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
fetchCommercePricingClassByExternalReferenceCode
in interfaceCommercePricingClassService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCommercePricingClass
public CommercePricingClass getCommercePricingClass(long commercePricingClassId) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getCommercePricingClass
in interfaceCommercePricingClassService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCommercePricingClassCountByCPDefinitionId
public int getCommercePricingClassCountByCPDefinitionId(long cpDefinitionId, String title) throws com.liferay.portal.kernel.security.auth.PrincipalException - Specified by:
getCommercePricingClassCountByCPDefinitionId
in interfaceCommercePricingClassService
- Throws:
com.liferay.portal.kernel.security.auth.PrincipalException
-
getCommercePricingClasses
public List<CommercePricingClass> getCommercePricingClasses(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePricingClass> orderByComparator) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getCommercePricingClasses
in interfaceCommercePricingClassService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCommercePricingClassesCount
public int getCommercePricingClassesCount(long companyId) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getCommercePricingClassesCount
in interfaceCommercePricingClassService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCommercePricingClassesCount
public int getCommercePricingClassesCount(long cpDefinitionId, String title) throws com.liferay.portal.kernel.security.auth.PrincipalException - Specified by:
getCommercePricingClassesCount
in interfaceCommercePricingClassService
- Throws:
com.liferay.portal.kernel.security.auth.PrincipalException
-
getOSGiServiceIdentifier
Returns the OSGi service identifier.- Specified by:
getOSGiServiceIdentifier
in interfaceCommercePricingClassService
- Returns:
- the OSGi service identifier
-
searchByCPDefinitionId
public List<CommercePricingClass> searchByCPDefinitionId(long cpDefinitionId, String title, int start, int end) throws com.liferay.portal.kernel.security.auth.PrincipalException - Specified by:
searchByCPDefinitionId
in interfaceCommercePricingClassService
- Throws:
com.liferay.portal.kernel.security.auth.PrincipalException
-
searchCommercePricingClasses
public com.liferay.portal.kernel.search.BaseModelSearchResult<CommercePricingClass> searchCommercePricingClasses(long companyId, String keywords, int start, int end, com.liferay.portal.kernel.search.Sort sort) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
searchCommercePricingClasses
in interfaceCommercePricingClassService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateCommercePricingClass
public CommercePricingClass updateCommercePricingClass(long commercePricingClassId, Map<Locale, String> titleMap, Map<Locale, throws com.liferay.portal.kernel.exception.PortalExceptionString> descriptionMap, com.liferay.portal.kernel.service.ServiceContext serviceContext) - Specified by:
updateCommercePricingClass
in interfaceCommercePricingClassService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateCommercePricingClassExternalReferenceCode
public CommercePricingClass updateCommercePricingClassExternalReferenceCode(String externalReferenceCode, long commercePricingClassId) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
updateCommercePricingClassExternalReferenceCode
in interfaceCommercePricingClassService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getWrappedService
- Specified by:
getWrappedService
in interfacecom.liferay.portal.kernel.service.ServiceWrapper<CommercePricingClassService>
-
setWrappedService
- Specified by:
setWrappedService
in interfacecom.liferay.portal.kernel.service.ServiceWrapper<CommercePricingClassService>
-