@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,
boolean active,
String name,
double position,
String regionCode,
ServiceContext serviceContext) |
void |
deleteRegion(long regionId) |
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) |
List<Region> |
getRegions(long countryId,
boolean active,
int start,
int end,
OrderByComparator<Region> orderByComparator) |
List<Region> |
getRegions(long countryId,
int start,
int end,
OrderByComparator<Region> orderByComparator) |
List<Region> |
getRegions(long companyId,
String a2,
boolean active) |
int |
getRegionsCount(long countryId) |
int |
getRegionsCount(long countryId,
boolean active) |
Region |
updateActive(long regionId,
boolean active) |
Region |
updateRegion(long regionId,
boolean active,
String name,
double position,
String regionCode) |
Region addRegion(long countryId, boolean active, String name, double position, String regionCode, ServiceContext serviceContext) throws PortalException
PortalException
void deleteRegion(long regionId) 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)
@Transactional(propagation=SUPPORTS, readOnly=true) List<Region> getRegions(long countryId, boolean active, int start, int end, OrderByComparator<Region> orderByComparator)
@Transactional(propagation=SUPPORTS, readOnly=true) List<Region> getRegions(long countryId, int start, int end, OrderByComparator<Region> orderByComparator)
@Transactional(propagation=SUPPORTS, readOnly=true) List<Region> getRegions(long companyId, String a2, boolean active) throws PortalException
PortalException
@Transactional(propagation=SUPPORTS, readOnly=true) int getRegionsCount(long countryId)
@Transactional(propagation=SUPPORTS, readOnly=true) int getRegionsCount(long countryId, boolean active)
Region updateActive(long regionId, boolean active) throws PortalException
PortalException
Region updateRegion(long regionId, boolean active, String name, double position, String regionCode) throws PortalException
PortalException