Class RegionServiceWrapper
Object
com.liferay.portal.kernel.service.RegionServiceWrapper
- All Implemented Interfaces:
BaseService,RegionService,ServiceWrapper<RegionService>
public class RegionServiceWrapper
extends Object
implements RegionService, ServiceWrapper<RegionService>
Provides a wrapper for
RegionService.- Author:
- Brian Wing Shun Chan
- See Also:
- {$generated.description}
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddRegion(long countryId, boolean active, String name, double position, String regionCode, ServiceContext serviceContext) voiddeleteRegion(long regionId) fetchRegion(long regionId) fetchRegion(long countryId, String regionCode) Returns the OSGi service identifier.getRegion(long regionId) getRegions(boolean active) getRegions(long countryId) getRegions(long countryId, boolean active) getRegions(long countryId, boolean active, int start, int end, OrderByComparator<Region> orderByComparator) getRegions(long countryId, int start, int end, OrderByComparator<Region> orderByComparator) getRegions(long companyId, String a2, boolean active) intgetRegionsCount(long countryId) intgetRegionsCount(long countryId, boolean active) searchRegions(long companyId, Boolean active, String keywords, LinkedHashMap<String, Object> params, int start, int end, OrderByComparator<Region> orderByComparator) voidsetWrappedService(RegionService regionService) updateActive(long regionId, boolean active) updateRegion(long regionId, boolean active, String name, double position, String regionCode)
-
Constructor Details
-
RegionServiceWrapper
public RegionServiceWrapper() -
RegionServiceWrapper
-
-
Method Details
-
addRegion
public Region addRegion(long countryId, boolean active, String name, double position, String regionCode, ServiceContext serviceContext) throws PortalException - Specified by:
addRegionin interfaceRegionService- Throws:
PortalException
-
deleteRegion
- Specified by:
deleteRegionin interfaceRegionService- Throws:
PortalException
-
fetchRegion
- Specified by:
fetchRegionin interfaceRegionService
-
fetchRegion
- Specified by:
fetchRegionin interfaceRegionService
-
getOSGiServiceIdentifier
Returns the OSGi service identifier.- Specified by:
getOSGiServiceIdentifierin interfaceRegionService- Returns:
- the OSGi service identifier
-
getRegion
- Specified by:
getRegionin interfaceRegionService- Throws:
PortalException
-
getRegion
- Specified by:
getRegionin interfaceRegionService- Throws:
PortalException
-
getRegions
- Specified by:
getRegionsin interfaceRegionService
-
getRegions
- Specified by:
getRegionsin interfaceRegionService
-
getRegions
- Specified by:
getRegionsin interfaceRegionService
-
getRegions
- Specified by:
getRegionsin interfaceRegionService
-
getRegions
public List<Region> getRegions(long countryId, boolean active, int start, int end, OrderByComparator<Region> orderByComparator) - Specified by:
getRegionsin interfaceRegionService
-
getRegions
public List<Region> getRegions(long countryId, int start, int end, OrderByComparator<Region> orderByComparator) - Specified by:
getRegionsin interfaceRegionService
-
getRegions
- Specified by:
getRegionsin interfaceRegionService- Throws:
PortalException
-
getRegionsCount
public int getRegionsCount(long countryId) - Specified by:
getRegionsCountin interfaceRegionService
-
getRegionsCount
public int getRegionsCount(long countryId, boolean active) - Specified by:
getRegionsCountin interfaceRegionService
-
searchRegions
public BaseModelSearchResult<Region> searchRegions(long companyId, Boolean active, String keywords, LinkedHashMap<String, Object> params, int start, int end, OrderByComparator<Region> orderByComparator) throws PortalException- Specified by:
searchRegionsin interfaceRegionService- Throws:
PortalException
-
updateActive
- Specified by:
updateActivein interfaceRegionService- Throws:
PortalException
-
updateRegion
public Region updateRegion(long regionId, boolean active, String name, double position, String regionCode) throws PortalException - Specified by:
updateRegionin interfaceRegionService- Throws:
PortalException
-
getWrappedService
- Specified by:
getWrappedServicein interfaceServiceWrapper<RegionService>
-
setWrappedService
- Specified by:
setWrappedServicein interfaceServiceWrapper<RegionService>
-