public class RegionServiceImpl extends RegionServiceBaseImpl
counterLocalService, regionLocalizationPersistence, regionLocalService, regionPersistence, regionService
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) |
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.search.BaseModelSearchResult<com.liferay.portal.kernel.model.Region> |
searchRegions(long companyId,
Boolean active,
String keywords,
LinkedHashMap<String,Object> params,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Region> orderByComparator) |
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, getCounterLocalService, getModelClass, getModelClassName, getOSGiServiceIdentifier, getRegionLocalizationPersistence, getRegionLocalService, getRegionPersistence, getRegionService, runSQL, setCounterLocalService, setRegionLocalizationPersistence, setRegionLocalService, setRegionPersistence, setRegionService
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
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)
@JSONWebService(mode=IGNORE) public com.liferay.portal.kernel.search.BaseModelSearchResult<com.liferay.portal.kernel.model.Region> searchRegions(long companyId, Boolean active, String keywords, LinkedHashMap<String,Object> params, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Region> orderByComparator) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
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