Class CPOptionValueServiceWrapper
java.lang.Object
com.liferay.commerce.product.service.CPOptionValueServiceWrapper
- All Implemented Interfaces:
CPOptionValueService
,com.liferay.portal.kernel.service.BaseService
,com.liferay.portal.kernel.service.ServiceWrapper<CPOptionValueService>
public class CPOptionValueServiceWrapper
extends Object
implements CPOptionValueService, com.liferay.portal.kernel.service.ServiceWrapper<CPOptionValueService>
Provides a wrapper for
CPOptionValueService
.- See Also:
- Generated:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddCPOptionValue
(long cpOptionId, Map<Locale, String> nameMap, double priority, String key, com.liferay.portal.kernel.service.ServiceContext serviceContext) addOrUpdateCPOptionValue
(String externalReferenceCode, long cpOptionId, Map<Locale, String> nameMap, double priority, String key, com.liferay.portal.kernel.service.ServiceContext serviceContext) void
deleteCPOptionValue
(long cpOptionValueId) fetchCPOptionValue
(long cpOptionValueId) fetchCPOptionValueByExternalReferenceCode
(String externalReferenceCode, long companyId) getCPOptionValue
(long cpOptionValueId) getCPOptionValues
(long cpOptionId, int start, int end) int
getCPOptionValuesCount
(long cpOptionId) Returns the OSGi service identifier.com.liferay.portal.kernel.search.BaseModelSearchResult<CPOptionValue>
searchCPOptionValues
(long companyId, long cpOptionId, String keywords, int start, int end, com.liferay.portal.kernel.search.Sort[] sorts) int
searchCPOptionValuesCount
(long companyId, long cpOptionId, String keywords) void
setWrappedService
(CPOptionValueService cpOptionValueService) updateCPOptionValue
(long cpOptionValueId, Map<Locale, String> nameMap, double priority, String key, com.liferay.portal.kernel.service.ServiceContext serviceContext)
-
Constructor Details
-
CPOptionValueServiceWrapper
public CPOptionValueServiceWrapper() -
CPOptionValueServiceWrapper
-
-
Method Details
-
addCPOptionValue
public CPOptionValue addCPOptionValue(long cpOptionId, Map<Locale, String> nameMap, double priority, String key, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException- Specified by:
addCPOptionValue
in interfaceCPOptionValueService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
addOrUpdateCPOptionValue
public CPOptionValue addOrUpdateCPOptionValue(String externalReferenceCode, long cpOptionId, Map<Locale, String> nameMap, double priority, String key, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException- Specified by:
addOrUpdateCPOptionValue
in interfaceCPOptionValueService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
deleteCPOptionValue
public void deleteCPOptionValue(long cpOptionValueId) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
deleteCPOptionValue
in interfaceCPOptionValueService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
fetchCPOptionValue
public CPOptionValue fetchCPOptionValue(long cpOptionValueId) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
fetchCPOptionValue
in interfaceCPOptionValueService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
fetchCPOptionValueByExternalReferenceCode
public CPOptionValue fetchCPOptionValueByExternalReferenceCode(String externalReferenceCode, long companyId) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
fetchCPOptionValueByExternalReferenceCode
in interfaceCPOptionValueService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCPOptionValue
public CPOptionValue getCPOptionValue(long cpOptionValueId) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getCPOptionValue
in interfaceCPOptionValueService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCPOptionValues
public List<CPOptionValue> getCPOptionValues(long cpOptionId, int start, int end) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getCPOptionValues
in interfaceCPOptionValueService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCPOptionValuesCount
public int getCPOptionValuesCount(long cpOptionId) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getCPOptionValuesCount
in interfaceCPOptionValueService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getOSGiServiceIdentifier
Returns the OSGi service identifier.- Specified by:
getOSGiServiceIdentifier
in interfaceCPOptionValueService
- Returns:
- the OSGi service identifier
-
searchCPOptionValues
public com.liferay.portal.kernel.search.BaseModelSearchResult<CPOptionValue> searchCPOptionValues(long companyId, long cpOptionId, String keywords, int start, int end, com.liferay.portal.kernel.search.Sort[] sorts) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
searchCPOptionValues
in interfaceCPOptionValueService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
searchCPOptionValuesCount
public int searchCPOptionValuesCount(long companyId, long cpOptionId, String keywords) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
searchCPOptionValuesCount
in interfaceCPOptionValueService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateCPOptionValue
public CPOptionValue updateCPOptionValue(long cpOptionValueId, Map<Locale, String> nameMap, double priority, String key, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException- Specified by:
updateCPOptionValue
in interfaceCPOptionValueService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getWrappedService
- Specified by:
getWrappedService
in interfacecom.liferay.portal.kernel.service.ServiceWrapper<CPOptionValueService>
-
setWrappedService
- Specified by:
setWrappedService
in interfacecom.liferay.portal.kernel.service.ServiceWrapper<CPOptionValueService>
-