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 CPMeasurementUnitService
com.liferay.portal.kernel.exception.PortalException
public void deleteCPMeasurementUnit(long cpMeasurementUnitId) throws com.liferay.portal.kernel.exception.PortalException
deleteCPMeasurementUnit
in interface CPMeasurementUnitService
com.liferay.portal.kernel.exception.PortalException
public CPMeasurementUnit fetchCPMeasurementUnit(long cpMeasurementUnitId) throws com.liferay.portal.kernel.exception.PortalException
fetchCPMeasurementUnit
in interface CPMeasurementUnitService
com.liferay.portal.kernel.exception.PortalException
public CPMeasurementUnit fetchCPMeasurementUnitByExternalReferenceCode(long companyId, java.lang.String externalReferenceCode) throws com.liferay.portal.kernel.exception.PortalException
fetchCPMeasurementUnitByExternalReferenceCode
in interface CPMeasurementUnitService
com.liferay.portal.kernel.exception.PortalException
public CPMeasurementUnit fetchCPMeasurementUnitByKey(long companyId, java.lang.String key) throws com.liferay.portal.kernel.exception.PortalException
fetchCPMeasurementUnitByKey
in interface CPMeasurementUnitService
com.liferay.portal.kernel.exception.PortalException
public CPMeasurementUnit fetchPrimaryCPMeasurementUnit(long companyId, int type) throws com.liferay.portal.kernel.exception.PortalException
fetchPrimaryCPMeasurementUnit
in interface CPMeasurementUnitService
com.liferay.portal.kernel.exception.PortalException
public CPMeasurementUnit fetchPrimaryCPMeasurementUnitByType(long companyId, int type) throws com.liferay.portal.kernel.exception.PortalException
fetchPrimaryCPMeasurementUnitByType
in interface CPMeasurementUnitService
com.liferay.portal.kernel.exception.PortalException
public CPMeasurementUnit getCPMeasurementUnit(long cpMeasurementUnitId) throws com.liferay.portal.kernel.exception.PortalException
getCPMeasurementUnit
in interface CPMeasurementUnitService
com.liferay.portal.kernel.exception.PortalException
public CPMeasurementUnit getCPMeasurementUnitByKey(long companyId, java.lang.String key) throws com.liferay.portal.kernel.exception.PortalException
getCPMeasurementUnitByKey
in interface CPMeasurementUnitService
com.liferay.portal.kernel.exception.PortalException
public java.util.List<CPMeasurementUnit> getCPMeasurementUnits(long companyId) throws com.liferay.portal.kernel.exception.PortalException
getCPMeasurementUnits
in interface CPMeasurementUnitService
com.liferay.portal.kernel.exception.PortalException
public 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 CPMeasurementUnitService
com.liferay.portal.kernel.exception.PortalException
public 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 CPMeasurementUnitService
com.liferay.portal.kernel.exception.PortalException
public java.util.List<CPMeasurementUnit> getCPMeasurementUnitsByType(long companyId, int type) throws com.liferay.portal.kernel.exception.PortalException
getCPMeasurementUnitsByType
in interface CPMeasurementUnitService
com.liferay.portal.kernel.exception.PortalException
public 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 CPMeasurementUnitService
com.liferay.portal.kernel.exception.PortalException
public int getCPMeasurementUnitsCount(long companyId) throws com.liferay.portal.kernel.exception.PortalException
getCPMeasurementUnitsCount
in interface CPMeasurementUnitService
com.liferay.portal.kernel.exception.PortalException
public int getCPMeasurementUnitsCount(long companyId, int type) throws com.liferay.portal.kernel.exception.PortalException
getCPMeasurementUnitsCount
in interface CPMeasurementUnitService
com.liferay.portal.kernel.exception.PortalException
public java.lang.String getOSGiServiceIdentifier()
getOSGiServiceIdentifier
in interface CPMeasurementUnitService
public CPMeasurementUnit setPrimary(long cpMeasurementUnitId, boolean primary) throws com.liferay.portal.kernel.exception.PortalException
setPrimary
in interface CPMeasurementUnitService
com.liferay.portal.kernel.exception.PortalException
public 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 CPMeasurementUnitService
com.liferay.portal.kernel.exception.PortalException
public 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>