org.solovyev.android.db
Class MaxIdLoader

java.lang.Object
  extended by org.solovyev.android.db.MaxIdLoader
All Implemented Interfaces:
DbQuery<Integer>

public class MaxIdLoader
extends Object
implements DbQuery<Integer>

User: serso Date: 6/3/12 Time: 4:43 PM


Constructor Summary
MaxIdLoader(String tableName, String columnName)
           
 
Method Summary
 android.database.Cursor createCursor(android.database.sqlite.SQLiteDatabase db)
           
 Integer retrieveData(android.database.Cursor cursor)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MaxIdLoader

public MaxIdLoader(@Nonnull
                   String tableName,
                   @Nonnull
                   String columnName)
Method Detail

createCursor

@Nonnull
public android.database.Cursor createCursor(@Nonnull
                                                    android.database.sqlite.SQLiteDatabase db)
Specified by:
createCursor in interface DbQuery<Integer>

retrieveData

@Nonnull
public Integer retrieveData(@Nonnull
                                    android.database.Cursor cursor)
Specified by:
retrieveData in interface DbQuery<Integer>


Copyright © 2013. All Rights Reserved.