public class CPMeasurementUnitServiceWrapper extends java.lang.Object implements CPMeasurementUnitService, com.liferay.portal.kernel.service.ServiceWrapper<CPMeasurementUnitService>
CPMeasurementUnitService.CPMeasurementUnitService| Constructor and Description |
|---|
CPMeasurementUnitServiceWrapper() |
CPMeasurementUnitServiceWrapper(CPMeasurementUnitService cpMeasurementUnitService) |
| Modifier and Type | Method and Description |
|---|---|
CPMeasurementUnit |
addCPMeasurementUnit(java.lang.String externalReferenceCode,
java.util.Map<java.util.Locale,java.lang.String> nameMap,
java.lang.String key,
double rate,
boolean primary,
double priority,
int type,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
void |
deleteCPMeasurementUnit(long cpMeasurementUnitId) |
CPMeasurementUnit |
fetchCPMeasurementUnit(long cpMeasurementUnitId) |
CPMeasurementUnit |
fetchCPMeasurementUnitByExternalReferenceCode(long companyId,
java.lang.String externalReferenceCode) |
CPMeasurementUnit |
fetchCPMeasurementUnitByKey(long companyId,
java.lang.String key) |
CPMeasurementUnit |
fetchPrimaryCPMeasurementUnit(long companyId,
int type) |
CPMeasurementUnit |
fetchPrimaryCPMeasurementUnitByType(long companyId,
int type) |
CPMeasurementUnit |
getCPMeasurementUnit(long cpMeasurementUnitId) |
CPMeasurementUnit |
getCPMeasurementUnitByKey(long companyId,
java.lang.String key) |
java.util.List<CPMeasurementUnit> |
getCPMeasurementUnits(long companyId) |
java.util.List<CPMeasurementUnit> |
getCPMeasurementUnits(long companyId,
int type,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CPMeasurementUnit> orderByComparator) |
java.util.List<CPMeasurementUnit> |
getCPMeasurementUnits(long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CPMeasurementUnit> orderByComparator) |
java.util.List<CPMeasurementUnit> |
getCPMeasurementUnitsByType(long companyId,
int type) |
java.util.List<CPMeasurementUnit> |
getCPMeasurementUnitsByType(long companyId,
int type,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CPMeasurementUnit> orderByComparator) |
int |
getCPMeasurementUnitsCount(long companyId) |
int |
getCPMeasurementUnitsCount(long companyId,
int type) |
java.lang.String |
getOSGiServiceIdentifier()
Returns the OSGi service identifier.
|
CPMeasurementUnitService |
getWrappedService() |
CPMeasurementUnit |
setPrimary(long cpMeasurementUnitId,
boolean primary) |
void |
setWrappedService(CPMeasurementUnitService cpMeasurementUnitService) |
CPMeasurementUnit |
updateCPMeasurementUnit(java.lang.String externalReferenceCode,
long cpMeasurementUnitId,
java.util.Map<java.util.Locale,java.lang.String> nameMap,
java.lang.String key,
double rate,
boolean primary,
double priority,
int type,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
public CPMeasurementUnitServiceWrapper()
public CPMeasurementUnitServiceWrapper(CPMeasurementUnitService cpMeasurementUnitService)
public CPMeasurementUnit addCPMeasurementUnit(java.lang.String externalReferenceCode, java.util.Map<java.util.Locale,java.lang.String> nameMap, java.lang.String key, double rate, boolean primary, double priority, int type, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
addCPMeasurementUnit in interface CPMeasurementUnitServicecom.liferay.portal.kernel.exception.PortalExceptionpublic void deleteCPMeasurementUnit(long cpMeasurementUnitId)
throws com.liferay.portal.kernel.exception.PortalException
deleteCPMeasurementUnit in interface CPMeasurementUnitServicecom.liferay.portal.kernel.exception.PortalExceptionpublic CPMeasurementUnit fetchCPMeasurementUnit(long cpMeasurementUnitId) throws com.liferay.portal.kernel.exception.PortalException
fetchCPMeasurementUnit in interface CPMeasurementUnitServicecom.liferay.portal.kernel.exception.PortalExceptionpublic CPMeasurementUnit fetchCPMeasurementUnitByExternalReferenceCode(long companyId, java.lang.String externalReferenceCode) throws com.liferay.portal.kernel.exception.PortalException
fetchCPMeasurementUnitByExternalReferenceCode in interface CPMeasurementUnitServicecom.liferay.portal.kernel.exception.PortalExceptionpublic CPMeasurementUnit fetchCPMeasurementUnitByKey(long companyId, java.lang.String key) throws com.liferay.portal.kernel.exception.PortalException
fetchCPMeasurementUnitByKey in interface CPMeasurementUnitServicecom.liferay.portal.kernel.exception.PortalExceptionpublic CPMeasurementUnit fetchPrimaryCPMeasurementUnit(long companyId, int type) throws com.liferay.portal.kernel.exception.PortalException
fetchPrimaryCPMeasurementUnit in interface CPMeasurementUnitServicecom.liferay.portal.kernel.exception.PortalExceptionpublic CPMeasurementUnit fetchPrimaryCPMeasurementUnitByType(long companyId, int type) throws com.liferay.portal.kernel.exception.PortalException
fetchPrimaryCPMeasurementUnitByType in interface CPMeasurementUnitServicecom.liferay.portal.kernel.exception.PortalExceptionpublic CPMeasurementUnit getCPMeasurementUnit(long cpMeasurementUnitId) throws com.liferay.portal.kernel.exception.PortalException
getCPMeasurementUnit in interface CPMeasurementUnitServicecom.liferay.portal.kernel.exception.PortalExceptionpublic CPMeasurementUnit getCPMeasurementUnitByKey(long companyId, java.lang.String key) throws com.liferay.portal.kernel.exception.PortalException
getCPMeasurementUnitByKey in interface CPMeasurementUnitServicecom.liferay.portal.kernel.exception.PortalExceptionpublic java.util.List<CPMeasurementUnit> getCPMeasurementUnits(long companyId) throws com.liferay.portal.kernel.exception.PortalException
getCPMeasurementUnits in interface CPMeasurementUnitServicecom.liferay.portal.kernel.exception.PortalExceptionpublic java.util.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
getCPMeasurementUnits in interface CPMeasurementUnitServicecom.liferay.portal.kernel.exception.PortalExceptionpublic java.util.List<CPMeasurementUnit> getCPMeasurementUnits(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPMeasurementUnit> orderByComparator) throws com.liferay.portal.kernel.exception.PortalException
getCPMeasurementUnits in interface CPMeasurementUnitServicecom.liferay.portal.kernel.exception.PortalExceptionpublic java.util.List<CPMeasurementUnit> getCPMeasurementUnitsByType(long companyId, int type) throws com.liferay.portal.kernel.exception.PortalException
getCPMeasurementUnitsByType in interface CPMeasurementUnitServicecom.liferay.portal.kernel.exception.PortalExceptionpublic java.util.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
getCPMeasurementUnitsByType in interface CPMeasurementUnitServicecom.liferay.portal.kernel.exception.PortalExceptionpublic int getCPMeasurementUnitsCount(long companyId)
throws com.liferay.portal.kernel.exception.PortalException
getCPMeasurementUnitsCount in interface CPMeasurementUnitServicecom.liferay.portal.kernel.exception.PortalExceptionpublic int getCPMeasurementUnitsCount(long companyId,
int type)
throws com.liferay.portal.kernel.exception.PortalException
getCPMeasurementUnitsCount in interface CPMeasurementUnitServicecom.liferay.portal.kernel.exception.PortalExceptionpublic java.lang.String getOSGiServiceIdentifier()
getOSGiServiceIdentifier in interface CPMeasurementUnitServicepublic CPMeasurementUnit setPrimary(long cpMeasurementUnitId, boolean primary) throws com.liferay.portal.kernel.exception.PortalException
setPrimary in interface CPMeasurementUnitServicecom.liferay.portal.kernel.exception.PortalExceptionpublic CPMeasurementUnit updateCPMeasurementUnit(java.lang.String externalReferenceCode, long cpMeasurementUnitId, java.util.Map<java.util.Locale,java.lang.String> nameMap, java.lang.String key, double rate, boolean primary, double priority, int type, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
updateCPMeasurementUnit in interface CPMeasurementUnitServicecom.liferay.portal.kernel.exception.PortalExceptionpublic CPMeasurementUnitService getWrappedService()
getWrappedService in interface com.liferay.portal.kernel.service.ServiceWrapper<CPMeasurementUnitService>public void setWrappedService(CPMeasurementUnitService cpMeasurementUnitService)
setWrappedService in interface com.liferay.portal.kernel.service.ServiceWrapper<CPMeasurementUnitService>