@AccessControlled
@JSONWebService
@ProviderType
@Transactional(isolation=PORTAL,
rollbackFor={com.liferay.portal.kernel.exception.PortalException.class,com.liferay.portal.kernel.exception.SystemException.class})
public interface CommerceRegionService
extends com.liferay.portal.kernel.service.BaseService
CommerceRegionServiceUtil| Modifier and Type | Method and Description |
|---|---|
CommerceRegion |
addCommerceRegion(long commerceCountryId,
java.lang.String name,
java.lang.String code,
double priority,
boolean active,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
void |
deleteCommerceRegion(long commerceRegionId) |
CommerceRegion |
getCommerceRegion(long commerceRegionId) |
java.util.List<CommerceRegion> |
getCommerceRegions(long commerceCountryId,
boolean active) |
java.util.List<CommerceRegion> |
getCommerceRegions(long commerceCountryId,
boolean active,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceRegion> orderByComparator) |
java.util.List<CommerceRegion> |
getCommerceRegions(long commerceCountryId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceRegion> orderByComparator) |
java.util.List<CommerceRegion> |
getCommerceRegions(long companyId,
java.lang.String countryTwoLettersISOCode,
boolean active) |
int |
getCommerceRegionsCount(long commerceCountryId) |
int |
getCommerceRegionsCount(long commerceCountryId,
boolean active) |
java.lang.String |
getOSGiServiceIdentifier()
Returns the OSGi service identifier.
|
CommerceRegion |
setActive(long commerceRegionId,
boolean active) |
CommerceRegion |
updateCommerceRegion(long commerceRegionId,
java.lang.String name,
java.lang.String code,
double priority,
boolean active,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
CommerceRegion addCommerceRegion(long commerceCountryId, java.lang.String name, java.lang.String code, double priority, boolean active, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionvoid deleteCommerceRegion(long commerceRegionId)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException@Transactional(propagation=SUPPORTS,
readOnly=true)
CommerceRegion getCommerceRegion(long commerceRegionId)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<CommerceRegion> getCommerceRegions(long commerceCountryId,
boolean active)
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<CommerceRegion> getCommerceRegions(long commerceCountryId,
boolean active,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceRegion> orderByComparator)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<CommerceRegion> getCommerceRegions(long commerceCountryId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceRegion> orderByComparator)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<CommerceRegion> getCommerceRegions(long companyId,
java.lang.String countryTwoLettersISOCode,
boolean active)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException@Transactional(propagation=SUPPORTS,
readOnly=true)
int getCommerceRegionsCount(long commerceCountryId)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException@Transactional(propagation=SUPPORTS,
readOnly=true)
int getCommerceRegionsCount(long commerceCountryId,
boolean active)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionjava.lang.String getOSGiServiceIdentifier()
CommerceRegion setActive(long commerceRegionId, boolean active) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionCommerceRegion updateCommerceRegion(long commerceRegionId, java.lang.String name, java.lang.String code, double priority, boolean active, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException