From 32f4adf735b083de293b8856d74ad809883deac1 Mon Sep 17 00:00:00 2001 From: Roland Haeder Date: Mon, 24 Aug 2015 13:55:21 +0200 Subject: [PATCH] =?utf8?q?Added=20getStoreableAtRow()=20which=20is=20a=20m?= =?utf8?q?ore=20generalized=20approach=20than=20e.g.=20readSingleContact()?= =?utf8?q?=20Signed-off-by:Roland=20H=C3=A4der=20?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- .../jcore/database/frontend/DatabaseFrontend.java | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/org/mxchange/jcore/database/frontend/DatabaseFrontend.java b/src/org/mxchange/jcore/database/frontend/DatabaseFrontend.java index 59e59fb..ea1e362 100644 --- a/src/org/mxchange/jcore/database/frontend/DatabaseFrontend.java +++ b/src/org/mxchange/jcore/database/frontend/DatabaseFrontend.java @@ -49,6 +49,15 @@ public interface DatabaseFrontend extends FrameworkInterface { */ public Result getResultFromSet (final ResultSet resultSet) throws SQLException; + /** + * Returns a Storeable instance from given row index. Value 0 means first + * row and so on. Row index below zero results in an exception. + * + * @param rowIndex Row index too look for + * @return A Storeable instance + */ + public Storeable getStoreableAtRow (final int rowIndex); + /** * Name of used database table, handled over to backend * -- 2.39.5