Package kirjastox.model

Examples of kirjastox.model.BooksDataAccessObject.save()


    public void updateBooksPersistentStore(){
        // Tässä päivitetään ja tallennetaan muutokset tiedostoon
        BooksDataAccessObject booksPersistentData = new BooksDataAccessObject();
        ArrayList<Book> updatedBooks = new ArrayList<Book>(books);
        booksPersistentData.updateAll(updatedBooks);
        booksPersistentData.save();
    }
   
    public void updateAudioRecordsPersistentStore(){
        // Tässä päivitetään ja tallennetaan muutokset tiedostoon
        AudioRecordsDataAccessObject audioRecordPersistentData = new AudioRecordsDataAccessObject();
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.