Class DefaultUnifiedUiPassengerTypeService
java.lang.Object
de.hybris.platform.unifieduibackofficeservices.service.impl.DefaultUnifiedUiPassengerTypeService
- All Implemented Interfaces:
de.hybris.platform.servicelayer.internal.dao.Dao,UnifiedUiPassengerTypeService
public class DefaultUnifiedUiPassengerTypeService
extends Object
implements UnifiedUiPassengerTypeService
Class is responsible for providing concrete implementation of the UnifiedUiPassengerTypeService interface. The class uses the
unifiedUiPassengerTypeDao class to query the database and return TravelProviderModel type.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetPassengerTypeByPTCRef(String ptcRef) Returns the PassengerType in the system identified by the given ptcRef.protected UnifiedUiPassengerTypeDaoReturns the unifiedUiPassengerTypeDaovoidsetUnifiedUiPassengerTypeDao(UnifiedUiPassengerTypeDao unifiedUiPassengerTypeDao) Sets the unifiedUiPassengerTypeDao
-
Constructor Details
-
DefaultUnifiedUiPassengerTypeService
public DefaultUnifiedUiPassengerTypeService()
-
-
Method Details
-
getPassengerTypeByPTCRef
public PassengerTypeModel getPassengerTypeByPTCRef(String ptcRef) throws de.hybris.platform.servicelayer.exceptions.ModelNotFoundException Returns the PassengerType in the system identified by the given ptcRef.- Specified by:
getPassengerTypeByPTCRefin interfaceUnifiedUiPassengerTypeService- Parameters:
ptcRef- the ptcRef- Returns:
- the PassengerType
- Throws:
de.hybris.platform.servicelayer.exceptions.ModelNotFoundException- the model not found exception
-
getUnifiedUiPassengerTypeDao
Returns the unifiedUiPassengerTypeDao- Returns:
- the unifiedUiPassengerTypeDao
-
setUnifiedUiPassengerTypeDao
Sets the unifiedUiPassengerTypeDao- Parameters:
unifiedUiPassengerTypeDao- the unifiedUiPassengerTypeDao
-