class PoTransaction {

  public final void prepareSvReadAllLogs() {
    if (calypsoPo.getApplicationSubtype() != CalypsoPoUtils.STORED_VALUE_FILE_STRUCTURE_ID) {
      throw new CalypsoPoTransactionIllegalStateException(
          "The currently selected application is not an SV application.");
    }
    // reset SV data in CalypsoPo if any
    calypsoPo.setSvData(0, 0, null, null);
    prepareReadRecordFile(
        CalypsoPoUtils.SV_RELOAD_LOG_FILE_SFI, CalypsoPoUtils.SV_RELOAD_LOG_FILE_NB_REC);
    prepareReadRecordFile(
        CalypsoPoUtils.SV_DEBIT_LOG_FILE_SFI,
        1,
        CalypsoPoUtils.SV_DEBIT_LOG_FILE_NB_REC,
        CalypsoPoUtils.SV_LOG_FILE_REC_LENGTH);
  }

  public  PoTransaction(SeResource<CalypsoPo> poResource, PoSecuritySettings poSecuritySettings);
  public  PoTransaction(SeResource<CalypsoPo> poResource);

}