Class CPOptionServiceWrapper
java.lang.Object
com.liferay.commerce.product.service.CPOptionServiceWrapper
- All Implemented Interfaces:
CPOptionService,com.liferay.portal.kernel.service.BaseService,com.liferay.portal.kernel.service.ServiceWrapper<CPOptionService>
public class CPOptionServiceWrapper
extends Object
implements CPOptionService, com.liferay.portal.kernel.service.ServiceWrapper<CPOptionService>
Provides a wrapper for
CPOptionService.- See Also:
- Generated:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddCPOption(Map<Locale, String> nameMap, Map<Locale, String> descriptionMap, String commerceOptionTypeKey, boolean facetable, boolean required, boolean skuContributor, String key, com.liferay.portal.kernel.service.ServiceContext serviceContext) addOrUpdateCPOption(String externalReferenceCode, Map<Locale, String> nameMap, Map<Locale, String> descriptionMap, String commerceOptionTypeKey, boolean facetable, boolean required, boolean skuContributor, String key, com.liferay.portal.kernel.service.ServiceContext serviceContext) voiddeleteCPOption(long cpOptionId) fetchCPOption(long cpOptionId) fetchCPOption(long companyId, String key) fetchCPOptionByExternalReferenceCode(String externalReferenceCode, long companyId) findCPOptionByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPOption> orderByComparator) getCPOption(long cpOptionId) Returns the OSGi service identifier.com.liferay.portal.kernel.search.BaseModelSearchResult<CPOption>searchCPOptions(long companyId, String keywords, int start, int end, com.liferay.portal.kernel.search.Sort sort) voidsetWrappedService(CPOptionService cpOptionService) updateCPOption(long cpOptionId, Map<Locale, String> nameMap, Map<Locale, String> descriptionMap, String commerceOptionTypeKey, boolean facetable, boolean required, boolean skuContributor, String key, com.liferay.portal.kernel.service.ServiceContext serviceContext) updateCPOptionExternalReferenceCode(String externalReferenceCode, long cpOptionId)
-
Constructor Details
-
CPOptionServiceWrapper
public CPOptionServiceWrapper() -
CPOptionServiceWrapper
-
-
Method Details
-
addCPOption
public CPOption addCPOption(Map<Locale, String> nameMap, Map<Locale, throws com.liferay.portal.kernel.exception.PortalExceptionString> descriptionMap, String commerceOptionTypeKey, boolean facetable, boolean required, boolean skuContributor, String key, com.liferay.portal.kernel.service.ServiceContext serviceContext) - Specified by:
addCPOptionin interfaceCPOptionService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
addOrUpdateCPOption
public CPOption addOrUpdateCPOption(String externalReferenceCode, Map<Locale, String> nameMap, Map<Locale, throws com.liferay.portal.kernel.exception.PortalExceptionString> descriptionMap, String commerceOptionTypeKey, boolean facetable, boolean required, boolean skuContributor, String key, com.liferay.portal.kernel.service.ServiceContext serviceContext) - Specified by:
addOrUpdateCPOptionin interfaceCPOptionService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
deleteCPOption
public void deleteCPOption(long cpOptionId) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
deleteCPOptionin interfaceCPOptionService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
fetchCPOption
public CPOption fetchCPOption(long cpOptionId) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
fetchCPOptionin interfaceCPOptionService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
fetchCPOption
public CPOption fetchCPOption(long companyId, String key) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
fetchCPOptionin interfaceCPOptionService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
fetchCPOptionByExternalReferenceCode
public CPOption fetchCPOptionByExternalReferenceCode(String externalReferenceCode, long companyId) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
fetchCPOptionByExternalReferenceCodein interfaceCPOptionService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
findCPOptionByCompanyId
public List<CPOption> findCPOptionByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPOption> orderByComparator) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
findCPOptionByCompanyIdin interfaceCPOptionService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCPOption
public CPOption getCPOption(long cpOptionId) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getCPOptionin interfaceCPOptionService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getOSGiServiceIdentifier
Returns the OSGi service identifier.- Specified by:
getOSGiServiceIdentifierin interfaceCPOptionService- Returns:
- the OSGi service identifier
-
searchCPOptions
public com.liferay.portal.kernel.search.BaseModelSearchResult<CPOption> searchCPOptions(long companyId, String keywords, int start, int end, com.liferay.portal.kernel.search.Sort sort) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
searchCPOptionsin interfaceCPOptionService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateCPOption
public CPOption updateCPOption(long cpOptionId, Map<Locale, String> nameMap, Map<Locale, throws com.liferay.portal.kernel.exception.PortalExceptionString> descriptionMap, String commerceOptionTypeKey, boolean facetable, boolean required, boolean skuContributor, String key, com.liferay.portal.kernel.service.ServiceContext serviceContext) - Specified by:
updateCPOptionin interfaceCPOptionService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateCPOptionExternalReferenceCode
public CPOption updateCPOptionExternalReferenceCode(String externalReferenceCode, long cpOptionId) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
updateCPOptionExternalReferenceCodein interfaceCPOptionService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getWrappedService
- Specified by:
getWrappedServicein interfacecom.liferay.portal.kernel.service.ServiceWrapper<CPOptionService>
-
setWrappedService
- Specified by:
setWrappedServicein interfacecom.liferay.portal.kernel.service.ServiceWrapper<CPOptionService>
-