Interface TuaPartyBillDao

All Superinterfaces:
de.hybris.platform.servicelayer.internal.dao.GenericDao<TuaPartyBillModel>
All Known Implementing Classes:
DefaultTuaPartyBillDao

public interface TuaPartyBillDao extends de.hybris.platform.servicelayer.internal.dao.GenericDao<TuaPartyBillModel>
Data access object for TuaPartyBillModels.
Since:
2208
  • Method Details

    • findUnique

      TuaPartyBillModel findUnique(Map<String,? extends Object> params)
      Searches for a unique model based on given parameters. If none or multiple models are found, a specific exception will be thrown.
      Parameters:
      params - Map containing name-value pairs used for identifying the unique model
      Returns:
      model for given parameter
    • getPartyBills

      List<TuaPartyBillModel> getPartyBills(BmPartyBillContext bmPartyBillContext, Integer offset, Integer limit)
      Returns a list of TuaPartyBillModels for the given context.
      Parameters:
      bmPartyBillContext - the party bill context
      offset - the offset.
      limit - the maximum number of returned party bills.
      Returns:
      the List of TuaPartyBillModels found for the given context.
    • getNumberOfPartyBillsFor

      Integer getNumberOfPartyBillsFor(BmPartyBillContext bmPartyBillContext)
      Retrieves the total number of party bills found for a given partyBillContext.
      Parameters:
      bmPartyBillContext - the party bill context.
      Returns:
      the number of party bills found.