Class CPMeasurementUnitServiceWrapper
java.lang.Object
com.liferay.commerce.product.service.CPMeasurementUnitServiceWrapper
- All Implemented Interfaces:
CPMeasurementUnitService,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) fetchCPMeasurementUnitByExternalReferenceCode(long companyId, String externalReferenceCode) fetchCPMeasurementUnitByKey(long companyId, String key) fetchPrimaryCPMeasurementUnit(long companyId, int type) fetchPrimaryCPMeasurementUnitByType(long companyId, int type) getCPMeasurementUnit(long cpMeasurementUnitId) getCPMeasurementUnitByKey(long companyId, String key) getCPMeasurementUnits(long companyId) 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) getCPMeasurementUnitsByType(long companyId, int type) getCPMeasurementUnitsByType(long companyId, int type, 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
-
fetchCPMeasurementUnitByExternalReferenceCode
public CPMeasurementUnit fetchCPMeasurementUnitByExternalReferenceCode(long companyId, String externalReferenceCode) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
fetchCPMeasurementUnitByExternalReferenceCodein interfaceCPMeasurementUnitService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
fetchCPMeasurementUnitByKey
public CPMeasurementUnit fetchCPMeasurementUnitByKey(long companyId, String key) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
fetchCPMeasurementUnitByKeyin 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
-
fetchPrimaryCPMeasurementUnitByType
public CPMeasurementUnit fetchPrimaryCPMeasurementUnitByType(long companyId, int type) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
fetchPrimaryCPMeasurementUnitByTypein 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
-
getCPMeasurementUnitByKey
public CPMeasurementUnit getCPMeasurementUnitByKey(long companyId, String key) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getCPMeasurementUnitByKeyin interfaceCPMeasurementUnitService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCPMeasurementUnits
public List<CPMeasurementUnit> getCPMeasurementUnits(long companyId) 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 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
-
getCPMeasurementUnitsByType
public List<CPMeasurementUnit> getCPMeasurementUnitsByType(long companyId, int type) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getCPMeasurementUnitsByTypein interfaceCPMeasurementUnitService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCPMeasurementUnitsByType
public List<CPMeasurementUnit> getCPMeasurementUnitsByType(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:
getCPMeasurementUnitsByTypein 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- 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>
-