Class CerberCryptDAO


public class CerberCryptDAO extends BillingModuleDAO
  • Constructor Details

    • CerberCryptDAO

      public CerberCryptDAO(User user, String billingId, int moduleId)
  • Method Details

    • getFreeCards

      public List<Long> getFreeCards()
    • getUserCardList

      public List<UserCard> getUserCardList(int contractId, boolean includeSlaveCards)
    • getCardPackets

      public List<CardPacket> getCardPackets(int contractId, int cardId, Date date)
      Selects packets for the specified card on the specified date
      Parameters:
      contractId - the contract ID
      cardId - the card ID
      date - the date to output packets for, must not be null
      Returns:
      the card packets
    • getCardPackets

      public List<CardPacket> getCardPackets(int contractId, int cardId)
    • updateCardPacket

      public void updateCardPacket(int contractId, int id, int cardNumebr, int packetId, String dateFrom, String dateTo) throws BGMessageException
      Throws:
      BGMessageException
    • getPacketList

      public List<IdTitle> getPacketList(boolean virtualCinema)
    • updateUserCard

      public void updateUserCard(UserCard userCard)
    • dealerList

      public List<IdTitle> dealerList(Date dateFrom, Date dateTo, String title)