Class DefaultPropertyFacilityService
java.lang.Object
de.hybris.platform.travelservices.services.impl.DefaultPropertyFacilityService
- All Implemented Interfaces:
PropertyFacilityService
Default implementation of
PropertyFacilityService-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet a list of all PropertyFacilityModel configured in the system.de.hybris.platform.servicelayer.search.SearchResult<PropertyFacilityModel>getPropertyFacilities(int batchSize, int offset) Get a list of all PropertyFacilityModel configured in the system.getPropertyFacility(String code) Get a PropertyFacilityModel by code.protected PropertyFacilityDaovoidsetPropertyFacilityDao(PropertyFacilityDao propertyFacilityDao)
-
Constructor Details
-
DefaultPropertyFacilityService
public DefaultPropertyFacilityService()
-
-
Method Details
-
getPropertyFacility
Description copied from interface:PropertyFacilityServiceGet a PropertyFacilityModel by code.- Specified by:
getPropertyFacilityin interfacePropertyFacilityService- Parameters:
code- the unique code for a PropertyFacility- Returns:
- PropertyFacilityModel property facility
-
getPropertyFacilities
Description copied from interface:PropertyFacilityServiceGet a list of all PropertyFacilityModel configured in the system.- Specified by:
getPropertyFacilitiesin interfacePropertyFacilityService- Returns:
- List
property facilities
-
getPropertyFacilities
public de.hybris.platform.servicelayer.search.SearchResult<PropertyFacilityModel> getPropertyFacilities(int batchSize, int offset) Description copied from interface:PropertyFacilityServiceGet a list of all PropertyFacilityModel configured in the system.- Specified by:
getPropertyFacilitiesin interfacePropertyFacilityService- Parameters:
batchSize- the batch sizeoffset- the offset- Returns:
- List
property facilities
-
getPropertyFacilityDao
- Returns:
- the propertyFacilityDao
-
setPropertyFacilityDao
- Parameters:
propertyFacilityDao- the propertyFacilityDao to set
-