@AccessControlled
@JSONWebService
@ProviderType
@Transactional(isolation=PORTAL,
rollbackFor={com.liferay.portal.kernel.exception.PortalException.class,com.liferay.portal.kernel.exception.SystemException.class})
public interface CPMeasurementUnitService
extends com.liferay.portal.kernel.service.BaseService
CPMeasurementUnitServiceUtil
Modifier and Type | Method and Description |
---|---|
CPMeasurementUnit |
addCPMeasurementUnit(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 |
fetchPrimaryCPMeasurementUnit(long companyId,
int type) |
CPMeasurementUnit |
getCPMeasurementUnit(long cpMeasurementUnitId) |
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) |
int |
getCPMeasurementUnitsCount(long companyId) |
int |
getCPMeasurementUnitsCount(long companyId,
int type) |
java.lang.String |
getOSGiServiceIdentifier()
Returns the OSGi service identifier.
|
CPMeasurementUnit |
setPrimary(long cpMeasurementUnitId,
boolean primary) |
CPMeasurementUnit |
updateCPMeasurementUnit(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) |
CPMeasurementUnit addCPMeasurementUnit(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
com.liferay.portal.kernel.exception.PortalException
void deleteCPMeasurementUnit(long cpMeasurementUnitId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
@Transactional(propagation=SUPPORTS, readOnly=true) CPMeasurementUnit fetchPrimaryCPMeasurementUnit(long companyId, int type) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
@Transactional(propagation=SUPPORTS, readOnly=true) CPMeasurementUnit getCPMeasurementUnit(long cpMeasurementUnitId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
@Transactional(propagation=SUPPORTS, readOnly=true) 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
com.liferay.portal.kernel.exception.PortalException
@Transactional(propagation=SUPPORTS, readOnly=true) 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
com.liferay.portal.kernel.exception.PortalException
@Transactional(propagation=SUPPORTS, readOnly=true) int getCPMeasurementUnitsCount(long companyId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
@Transactional(propagation=SUPPORTS, readOnly=true) int getCPMeasurementUnitsCount(long companyId, int type) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
java.lang.String getOSGiServiceIdentifier()
CPMeasurementUnit setPrimary(long cpMeasurementUnitId, boolean primary) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
CPMeasurementUnit updateCPMeasurementUnit(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
com.liferay.portal.kernel.exception.PortalException