Class DefaultTravelBackofficeGenericDao<M extends ItemModel>
java.lang.Object
de.hybris.platform.servicelayer.internal.dao.DefaultGenericDao<M>
de.hybris.platform.travelbackofficeservices.dao.impl.DefaultTravelBackofficeGenericDao<M>
- All Implemented Interfaces:
de.hybris.platform.servicelayer.internal.dao.GenericDao<M>,TravelBackofficeGenericDao
public class DefaultTravelBackofficeGenericDao<M extends ItemModel>
extends de.hybris.platform.servicelayer.internal.dao.DefaultGenericDao<M>
implements TravelBackofficeGenericDao
Default implementation of
TravelBackofficeGenericDao-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class de.hybris.platform.servicelayer.internal.dao.DefaultGenericDao
find, find, find, find, find, getFlexibleSearchService, setFlexibleSearchService
-
Constructor Details
-
DefaultTravelBackofficeGenericDao
-
-
Method Details
-
getModelForAttribute
public Object getModelForAttribute(Map<String, Object> attributes, String typeCode) throws de.hybris.platform.servicelayer.exceptions.ModelNotFoundException, de.hybris.platform.servicelayer.exceptions.AmbiguousIdentifierExceptionDescription copied from interface:TravelBackofficeGenericDaoThis method retrieves the list of objects for the specified attributes and typeCode. Attributes is a Map<String, Object> where the key is the name of the attributes and the value is the value of that attribute.- Specified by:
getModelForAttributein interfaceTravelBackofficeGenericDao- Parameters:
attributes- the map of the name of the attribute and the valuetypeCode- the typeCode- Returns:
- the object
- Throws:
de.hybris.platform.servicelayer.exceptions.ModelNotFoundException- if no items are foundde.hybris.platform.servicelayer.exceptions.AmbiguousIdentifierException- if more than one item is found
-