@AccessControlled @JSONWebService @ProviderType @Transactional(isolation=PORTAL, rollbackFor={PortalException.class,SystemException.class}) public interface RegionService extends BaseService
RegionServiceUtil
Modifier and Type | Method and Description |
---|---|
Region |
addRegion(long countryId,
java.lang.String regionCode,
java.lang.String name,
boolean active) |
Region |
fetchRegion(long regionId) |
Region |
fetchRegion(long countryId,
java.lang.String regionCode) |
java.lang.String |
getOSGiServiceIdentifier()
Returns the OSGi service identifier.
|
Region |
getRegion(long regionId) |
Region |
getRegion(long countryId,
java.lang.String regionCode) |
java.util.List<Region> |
getRegions() |
java.util.List<Region> |
getRegions(boolean active) |
java.util.List<Region> |
getRegions(long countryId) |
java.util.List<Region> |
getRegions(long countryId,
boolean active) |
Region addRegion(long countryId, java.lang.String regionCode, java.lang.String name, boolean active) throws PortalException
PortalException
@Transactional(propagation=SUPPORTS, readOnly=true) Region fetchRegion(long regionId)
@Transactional(propagation=SUPPORTS, readOnly=true) Region fetchRegion(long countryId, java.lang.String regionCode)
java.lang.String getOSGiServiceIdentifier()
@Transactional(propagation=SUPPORTS, readOnly=true) Region getRegion(long regionId) throws PortalException
PortalException
@Transactional(propagation=SUPPORTS, readOnly=true) Region getRegion(long countryId, java.lang.String regionCode) throws PortalException
PortalException
@Transactional(propagation=SUPPORTS, readOnly=true) java.util.List<Region> getRegions()
@Transactional(propagation=SUPPORTS, readOnly=true) java.util.List<Region> getRegions(boolean active)
@Transactional(propagation=SUPPORTS, readOnly=true) java.util.List<Region> getRegions(long countryId)
@AccessControlled(guestAccessEnabled=true) @Transactional(propagation=SUPPORTS, readOnly=true) java.util.List<Region> getRegions(long countryId, boolean active)