public class RegionServiceImpl extends RegionServiceBaseImpl
addressLocalService, addressPersistence, addressService, counterLocalService, countryLocalService, countryPersistence, countryService, organizationFinder, organizationLocalService, organizationPersistence, organizationService, regionLocalizationPersistence, regionLocalService, regionPersistence, regionService, userFinder, userLocalService, userPersistence, userService
Constructor and Description |
---|
RegionServiceImpl() |
Modifier and Type | Method and Description |
---|---|
com.liferay.portal.kernel.model.Region |
addRegion(long countryId,
boolean active,
String name,
double position,
String regionCode,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
com.liferay.portal.kernel.model.Region |
addRegion(long countryId,
String regionCode,
String name,
boolean active)
Deprecated.
As of Cavanaugh (7.4.x)
|
void |
deleteRegion(long regionId) |
com.liferay.portal.kernel.model.Region |
fetchRegion(long regionId) |
com.liferay.portal.kernel.model.Region |
fetchRegion(long countryId,
String regionCode) |
com.liferay.portal.kernel.model.Region |
getRegion(long regionId) |
com.liferay.portal.kernel.model.Region |
getRegion(long countryId,
String regionCode) |
List<com.liferay.portal.kernel.model.Region> |
getRegions() |
List<com.liferay.portal.kernel.model.Region> |
getRegions(boolean active) |
List<com.liferay.portal.kernel.model.Region> |
getRegions(long countryId) |
List<com.liferay.portal.kernel.model.Region> |
getRegions(long countryId,
boolean active) |
List<com.liferay.portal.kernel.model.Region> |
getRegions(long countryId,
boolean active,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Region> orderByComparator) |
List<com.liferay.portal.kernel.model.Region> |
getRegions(long countryId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Region> orderByComparator) |
List<com.liferay.portal.kernel.model.Region> |
getRegions(long companyId,
String a2,
boolean active) |
int |
getRegionsCount(long countryId) |
int |
getRegionsCount(long countryId,
boolean active) |
com.liferay.portal.kernel.model.Region |
updateActive(long regionId,
boolean active) |
com.liferay.portal.kernel.model.Region |
updateRegion(long regionId,
boolean active,
String name,
double position,
String regionCode) |
afterPropertiesSet, destroy, getAddressLocalService, getAddressPersistence, getAddressService, getCounterLocalService, getCountryLocalService, getCountryPersistence, getCountryService, getModelClass, getModelClassName, getOrganizationFinder, getOrganizationLocalService, getOrganizationPersistence, getOrganizationService, getOSGiServiceIdentifier, getRegionLocalizationPersistence, getRegionLocalService, getRegionPersistence, getRegionService, getUserFinder, getUserLocalService, getUserPersistence, getUserService, runSQL, setAddressLocalService, setAddressPersistence, setAddressService, setCounterLocalService, setCountryLocalService, setCountryPersistence, setCountryService, setOrganizationFinder, setOrganizationLocalService, setOrganizationPersistence, setOrganizationService, setRegionLocalizationPersistence, setRegionLocalService, setRegionPersistence, setRegionService, setUserFinder, setUserLocalService, setUserPersistence, setUserService
public com.liferay.portal.kernel.model.Region addRegion(long countryId, boolean active, String name, double position, String regionCode, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
@Deprecated public com.liferay.portal.kernel.model.Region addRegion(long countryId, String regionCode, String name, boolean active) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public void deleteRegion(long regionId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public com.liferay.portal.kernel.model.Region fetchRegion(long regionId)
public com.liferay.portal.kernel.model.Region fetchRegion(long countryId, String regionCode)
public com.liferay.portal.kernel.model.Region getRegion(long regionId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public com.liferay.portal.kernel.model.Region getRegion(long countryId, String regionCode) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public List<com.liferay.portal.kernel.model.Region> getRegions()
public List<com.liferay.portal.kernel.model.Region> getRegions(boolean active)
public List<com.liferay.portal.kernel.model.Region> getRegions(long countryId)
@AccessControlled(guestAccessEnabled=true) public List<com.liferay.portal.kernel.model.Region> getRegions(long countryId, boolean active)
public List<com.liferay.portal.kernel.model.Region> getRegions(long countryId, boolean active, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Region> orderByComparator)
public List<com.liferay.portal.kernel.model.Region> getRegions(long countryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Region> orderByComparator)
public List<com.liferay.portal.kernel.model.Region> getRegions(long companyId, String a2, boolean active) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public int getRegionsCount(long countryId)
public int getRegionsCount(long countryId, boolean active)
public com.liferay.portal.kernel.model.Region updateActive(long regionId, boolean active) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public com.liferay.portal.kernel.model.Region updateRegion(long regionId, boolean active, String name, double position, String regionCode) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException