]> git.mxchange.org Git - jfinancials-swing.git/blobdiff - src/org/mxchange/addressbook/database/frontend/contact/AddressbookContactDatabaseFrontend.java
More tpyos fixed ... ;-) + updated jcore.jar
[jfinancials-swing.git] / src / org / mxchange / addressbook / database / frontend / contact / AddressbookContactDatabaseFrontend.java
index 02089cbe250b75015cf39b32d196ecc9c533ae34..55fa8586b3fa72d2e4c1058d36acdbf386f7ed07 100644 (file)
@@ -31,7 +31,7 @@ import org.mxchange.jcore.criteria.searchable.SearchCriteria;
 import org.mxchange.jcore.criteria.searchable.SearchableCriteria;
 import org.mxchange.jcore.database.frontend.BaseDatabaseFrontend;
 import org.mxchange.jcore.database.result.Result;
-import org.mxchange.jcore.database.storage.Storeable;
+import org.mxchange.jcore.database.storage.Storable;
 import org.mxchange.jcore.exceptions.BadTokenException;
 import org.mxchange.jcore.exceptions.CorruptedDatabaseFileException;
 import org.mxchange.jcore.exceptions.UnsupportedDatabaseBackendException;
@@ -118,7 +118,7 @@ public class AddressbookContactDatabaseFrontend extends BaseDatabaseFrontend imp
 
                        // Then add it
                        // @todo Nothing is done yet!
-                       Result<? extends Storeable> result = this.doInsertDataSet();
+                       Result<? extends Storable> result = this.doInsertDataSet();
 
                        // Debug message
                        this.getLogger().debug(MessageFormat.format("result={0}", result)); //NOI18N
@@ -178,7 +178,7 @@ public class AddressbookContactDatabaseFrontend extends BaseDatabaseFrontend imp
                criteria.setLimit(1);
 
                // Then search for it
-               Result<? extends Storeable> result = this.getBackend().doSelectByCriteria(criteria);
+               Result<? extends Storable> result = this.getBackend().doSelectByCriteria(criteria);
 
                // Debug message
                this.getLogger().debug(MessageFormat.format("result={0}", result));
@@ -189,7 +189,7 @@ public class AddressbookContactDatabaseFrontend extends BaseDatabaseFrontend imp
                // Is there one row at least?
                if (result.hasNext()) {
                        // Then get it
-                       Storeable storeable = result.next();
+                       Storable storeable = result.next();
 
                        // Debug message
                        this.getLogger().debug(MessageFormat.format("storeable={0}", storeable));
@@ -212,7 +212,7 @@ public class AddressbookContactDatabaseFrontend extends BaseDatabaseFrontend imp
        }
 
        @Override
-       public Storeable getStoreableAtRow (final int rowIndex) {
+       public Storable getStorableAtRow (final int rowIndex) {
                throw new UnsupportedOperationException("Not supported yet: rowIndex=" + rowIndex);
        }
 
@@ -234,12 +234,12 @@ public class AddressbookContactDatabaseFrontend extends BaseDatabaseFrontend imp
                SearchableCriteria criteria = new SearchCriteria();
 
                // Look for all entries and compare here. Else all entries needs to be compared with many AND statements
-               Result<? extends Storeable> result = this.getBackend().doSelectByCriteria(criteria);
+               Result<? extends Storable> result = this.getBackend().doSelectByCriteria(criteria);
 
                // Debug message
                this.getLogger().debug(MessageFormat.format("result({0})={1}", result.size(), result));
                // Start iteration
-               Iterator<? extends Storeable> iterator = result.iterator();
+               Iterator<? extends Storable> iterator = result.iterator();
 
                // Check all entries
                while (iterator.hasNext()) {
@@ -273,14 +273,14 @@ public class AddressbookContactDatabaseFrontend extends BaseDatabaseFrontend imp
                criteria.addCriteria(AddressbookContactDatabaseConstants.COLUMN_OWN_CONTACT, true);
 
                // Get result
-               Result<? extends Storeable> result = this.getBackend().doSelectByCriteria(criteria);
+               Result<? extends Storable> result = this.getBackend().doSelectByCriteria(criteria);
 
                // Deligate this call to backend
                return result.hasNext();
        }
 
        @Override
-       public Storeable toStoreable (final Map<String, String> map) throws NoSuchMethodException, IllegalAccessException, IllegalArgumentException, InvocationTargetException {
+       public Storable toStorable (final Map<String, String> map) throws NoSuchMethodException, IllegalAccessException, IllegalArgumentException, InvocationTargetException {
                throw new UnsupportedOperationException("Not supported yet: map=" + map);
        }
 }