Class CPMeasurementUnitServiceWrapper
java.lang.Object
com.liferay.commerce.product.service.CPMeasurementUnitServiceWrapper
- All Implemented Interfaces:
CPMeasurementUnitService,com.liferay.portal.kernel.module.framework.service.IdentifiableOSGiService,com.liferay.portal.kernel.service.BaseService,com.liferay.portal.kernel.service.ServiceWrapper<CPMeasurementUnitService>
public class CPMeasurementUnitServiceWrapper
extends Object
implements CPMeasurementUnitService, com.liferay.portal.kernel.service.ServiceWrapper<CPMeasurementUnitService>
Provides a wrapper for
CPMeasurementUnitService.- See Also:
- Generated:
-
Constructor Summary
ConstructorsConstructorDescriptionCPMeasurementUnitServiceWrapper(CPMeasurementUnitService cpMeasurementUnitService) -
Method Summary
Modifier and TypeMethodDescriptionaddCPMeasurementUnit(String externalReferenceCode, Map<Locale, String> nameMap, String key, double rate, boolean primary, double priority, int type, com.liferay.portal.kernel.service.ServiceContext serviceContext) voiddeleteCPMeasurementUnit(long cpMeasurementUnitId) fetchCPMeasurementUnit(long cpMeasurementUnitId) fetchCPMeasurementUnit(long companyId, String key) fetchCPMeasurementUnitByExternalReferenceCode(String externalReferenceCode, long companyId) fetchPrimaryCPMeasurementUnit(long companyId, int type) getCPMeasurementUnit(long cpMeasurementUnitId) getCPMeasurementUnits(long companyId, int type, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPMeasurementUnit> orderByComparator) getCPMeasurementUnits(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPMeasurementUnit> orderByComparator) intgetCPMeasurementUnitsCount(long companyId) intgetCPMeasurementUnitsCount(long companyId, int type) Returns the OSGi service identifier.setPrimary(long cpMeasurementUnitId, boolean primary) voidsetWrappedService(CPMeasurementUnitService cpMeasurementUnitService) updateCPMeasurementUnit(String externalReferenceCode, long cpMeasurementUnitId, Map<Locale, String> nameMap, String key, double rate, boolean primary, double priority, int type, com.liferay.portal.kernel.service.ServiceContext serviceContext)
-
Constructor Details
-
CPMeasurementUnitServiceWrapper
public CPMeasurementUnitServiceWrapper() -
CPMeasurementUnitServiceWrapper
-
-
Method Details
-
addCPMeasurementUnit
public CPMeasurementUnit addCPMeasurementUnit(String externalReferenceCode, Map<Locale, String> nameMap, String key, double rate, boolean primary, double priority, int type, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException- Specified by:
addCPMeasurementUnitin interfaceCPMeasurementUnitService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
deleteCPMeasurementUnit
public void deleteCPMeasurementUnit(long cpMeasurementUnitId) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
deleteCPMeasurementUnitin interfaceCPMeasurementUnitService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
fetchCPMeasurementUnit
public CPMeasurementUnit fetchCPMeasurementUnit(long cpMeasurementUnitId) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
fetchCPMeasurementUnitin interfaceCPMeasurementUnitService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
fetchCPMeasurementUnit
public CPMeasurementUnit fetchCPMeasurementUnit(long companyId, String key) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
fetchCPMeasurementUnitin interfaceCPMeasurementUnitService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
fetchCPMeasurementUnitByExternalReferenceCode
public CPMeasurementUnit fetchCPMeasurementUnitByExternalReferenceCode(String externalReferenceCode, long companyId) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
fetchCPMeasurementUnitByExternalReferenceCodein interfaceCPMeasurementUnitService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
fetchPrimaryCPMeasurementUnit
public CPMeasurementUnit fetchPrimaryCPMeasurementUnit(long companyId, int type) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
fetchPrimaryCPMeasurementUnitin interfaceCPMeasurementUnitService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCPMeasurementUnit
public CPMeasurementUnit getCPMeasurementUnit(long cpMeasurementUnitId) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getCPMeasurementUnitin interfaceCPMeasurementUnitService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCPMeasurementUnits
public List<CPMeasurementUnit> getCPMeasurementUnits(long companyId, int type, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPMeasurementUnit> orderByComparator) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getCPMeasurementUnitsin interfaceCPMeasurementUnitService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCPMeasurementUnits
public List<CPMeasurementUnit> getCPMeasurementUnits(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPMeasurementUnit> orderByComparator) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getCPMeasurementUnitsin interfaceCPMeasurementUnitService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCPMeasurementUnitsCount
public int getCPMeasurementUnitsCount(long companyId) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getCPMeasurementUnitsCountin interfaceCPMeasurementUnitService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCPMeasurementUnitsCount
public int getCPMeasurementUnitsCount(long companyId, int type) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getCPMeasurementUnitsCountin interfaceCPMeasurementUnitService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getOSGiServiceIdentifier
Returns the OSGi service identifier.- Specified by:
getOSGiServiceIdentifierin interfaceCPMeasurementUnitService- Specified by:
getOSGiServiceIdentifierin interfacecom.liferay.portal.kernel.module.framework.service.IdentifiableOSGiService- Specified by:
getOSGiServiceIdentifierin interfacecom.liferay.portal.kernel.service.ServiceWrapper<CPMeasurementUnitService>- Returns:
- the OSGi service identifier
-
setPrimary
public CPMeasurementUnit setPrimary(long cpMeasurementUnitId, boolean primary) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
setPrimaryin interfaceCPMeasurementUnitService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateCPMeasurementUnit
public CPMeasurementUnit updateCPMeasurementUnit(String externalReferenceCode, long cpMeasurementUnitId, Map<Locale, String> nameMap, String key, double rate, boolean primary, double priority, int type, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException- Specified by:
updateCPMeasurementUnitin interfaceCPMeasurementUnitService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getWrappedService
- Specified by:
getWrappedServicein interfacecom.liferay.portal.kernel.service.ServiceWrapper<CPMeasurementUnitService>
-
setWrappedService
- Specified by:
setWrappedServicein interfacecom.liferay.portal.kernel.service.ServiceWrapper<CPMeasurementUnitService>
-