org.solovyev.android.db
Class AndroidDbUtils

java.lang.Object
  extended by org.solovyev.android.db.AndroidDbUtils

public final class AndroidDbUtils
extends Object

User: serso Date: 4/15/12 Time: 6:01 PM


Method Summary
static Long doDbExec(android.database.sqlite.SQLiteOpenHelper dbHelper, DbExec exec)
           
static List<Long> doDbExecs(android.database.sqlite.SQLiteOpenHelper dbHelper, List<DbExec> execs)
           
static
<R> R
doDbQuery(android.database.sqlite.SQLiteOpenHelper dbHelper, DbQuery<R> query)
           
static String inClause(List<?> objects)
           
static String[] inClauseValues(List<?> objects, String... beforeInValues)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

doDbQuery

@Nonnull
public static <R> R doDbQuery(@Nonnull
                                      android.database.sqlite.SQLiteOpenHelper dbHelper,
                                      @Nonnull
                                      DbQuery<R> query)

doDbExec

@Nonnull
public static Long doDbExec(@Nonnull
                                    android.database.sqlite.SQLiteOpenHelper dbHelper,
                                    @Nonnull
                                    DbExec exec)

doDbExecs

public static List<Long> doDbExecs(@Nonnull
                                   android.database.sqlite.SQLiteOpenHelper dbHelper,
                                   @Nonnull
                                   List<DbExec> execs)

inClauseValues

@Nonnull
public static String[] inClauseValues(@Nonnull
                                              List<?> objects,
                                              @Nonnull
                                              String... beforeInValues)

inClause

@Nonnull
public static String inClause(@Nonnull
                                      List<?> objects)


Copyright © 2013. All Rights Reserved.