Interface TravelBackofficeGenericDao

All Known Implementing Classes:
DefaultTravelBackofficeGenericDao

public interface TravelBackofficeGenericDao
TravelBackofficeGenericDao interface which provides functionality to manage DB operations for backoffice wizards.
  • Method Summary

    Modifier and Type
    Method
    Description
    getModelForAttribute(Map<String,Object> attributes, String typeCode)
    This method retrieves the list of objects for the specified attributes and typeCode.
  • Method Details

    • getModelForAttribute

      Object getModelForAttribute(Map<String,Object> attributes, String typeCode) throws de.hybris.platform.servicelayer.exceptions.ModelNotFoundException, de.hybris.platform.servicelayer.exceptions.AmbiguousIdentifierException
      This 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.
      Parameters:
      attributes - the map of the name of the attribute and the value
      typeCode - the typeCode
      Returns:
      the object
      Throws:
      de.hybris.platform.servicelayer.exceptions.ModelNotFoundException - if no items are found
      de.hybris.platform.servicelayer.exceptions.AmbiguousIdentifierException - if more than one item is found