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