public static void saveAsocRegsSec(UseCaseConf useCaseConf,List listaRegsSec,Integer bookIdPrim,Integer folderIdPrim) throws Exception {
  if (listaRegsSec != null && !listaRegsSec.isEmpty()) {
    for (Iterator iterator=listaRegsSec.iterator(); iterator.hasNext(); ) {
      AsocRegsResults asocRegsResults=(AsocRegsResults)iterator.next();
      saveAsocRegsSec(useCaseConf,bookIdPrim,folderIdPrim,asocRegsResults.getBookId(),asocRegsResults.getFolderId());
    }
  }
}

public static void saveAsocRegsSec ( UseCaseConf useCaseConf , List listaRegsSec , Integer bookIdPrim , Integer folderIdPrim ) throws Exception { if ( listaRegsSec != null && ! listaRegsSec . isEmpty ( ) ) { for ( Iterator iterator = listaRegsSec . iterator ( ) ; iterator . hasNext ( ) ; ) { AsocRegsResults asocRegsResults = ( AsocRegsResults ) iterator . next ( ) ; saveAsocRegsSec ( useCaseConf , bookIdPrim , folderIdPrim , asocRegsResults . getBookId ( ) , asocRegsResults . getFolderId ( ) ) ; } } }
guardamos una lista de registros asociada a otro registro primario
