Class BillDao


public class BillDao extends AbstractDao
Provides a DAO for the Bill entity.
Since:
24.10.0
  • Constructor Details

    • BillDao

      public BillDao()
  • Method Details

    • getBillForId

      public Bill getBillForId(Long id)
      Return the Bill entity for the given Bill id.
      Parameters:
      id - the Bill id (required)
      Returns:
      the Bill entity for the given Bill id
    • getBillingRecordsForLicensing

      public org.apache.cayenne.ResultIterator<Bill> getBillingRecordsForLicensing()
      Return the set of Billing records that shall be published for licensing.
      Returns:
      an iterator over the set of billing records eligible for licensing
    • getPublishedBillingRecordsIdList

      public List<Long> getPublishedBillingRecordsIdList(int fetchLimit)
      Return the list of published billing records ID.
      Parameters:
      fetchLimit - fetchLimit the query fetch limit
      Returns:
      The list of published billing records ID