V.smali

.class public Lcom/sandboxol/greendao/c/V;
.super Lcom/sandboxol/greendao/c/y;
.source "HomeDataDbHelper.java"


# annotations
.annotation system Ldalvik/annotation/MemberClasses;
    value = {
        Lcom/sandboxol/greendao/c/V$a;
    }
.end annotation


# direct methods
.method private constructor <init>()V
    .registers 1

    .line 2
    invoke-direct {p0}, Lcom/sandboxol/greendao/c/y;-><init>()V

    return-void
.end method

.method synthetic constructor <init>(Lcom/sandboxol/greendao/c/U;)V
    .registers 2

    .line 1
    invoke-direct {p0}, Lcom/sandboxol/greendao/c/V;-><init>()V

    return-void
.end method

.method static synthetic a(Lcom/sandboxol/greendao/c/V;J)Ljava/util/List;
    .registers 3

    .line 1
    invoke-direct {p0, p1, p2}, Lcom/sandboxol/greendao/c/V;->b(J)Ljava/util/List;

    move-result-object p0

    return-object p0
.end method

.method private b(J)Ljava/util/List;
    .registers 5
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(J)",
            "Ljava/util/List<",
            "Lcom/sandboxol/greendao/entity/homedata/HomeColumn;",
            ">;"
        }
    .end annotation

    .line 1
    invoke-virtual {p0}, Lcom/sandboxol/greendao/c/V;->getDao()Lorg/greenrobot/greendao/a;

    move-result-object v0

    invoke-virtual {v0}, Lorg/greenrobot/greendao/a;->queryBuilder()Lorg/greenrobot/greendao/d/i;

    move-result-object v0

    .line 2
    sget-object v1, Lcom/sandboxol/greendao/entity/HomeDataDao$Properties;->UserId:Lorg/greenrobot/greendao/f;

    invoke-static {p1, p2}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;

    move-result-object p1

    invoke-virtual {v1, p1}, Lorg/greenrobot/greendao/f;->a(Ljava/lang/Object;)Lorg/greenrobot/greendao/d/k;

    move-result-object p1

    const/4 p2, 0x0

    new-array v1, p2, [Lorg/greenrobot/greendao/d/k;

    invoke-virtual {v0, p1, v1}, Lorg/greenrobot/greendao/d/i;->a(Lorg/greenrobot/greendao/d/k;[Lorg/greenrobot/greendao/d/k;)Lorg/greenrobot/greendao/d/i;

    .line 3
    invoke-virtual {v0}, Lorg/greenrobot/greendao/d/i;->c()Ljava/util/List;

    move-result-object p1

    if-eqz p1, :cond_52

    invoke-virtual {v0}, Lorg/greenrobot/greendao/d/i;->c()Ljava/util/List;

    move-result-object p1

    invoke-interface {p1}, Ljava/util/List;->size()I

    move-result p1

    if-eqz p1, :cond_52

    .line 4
    invoke-virtual {v0}, Lorg/greenrobot/greendao/d/i;->c()Ljava/util/List;

    move-result-object p1

    invoke-interface {p1, p2}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object p1

    if-eqz p1, :cond_52

    invoke-virtual {v0}, Lorg/greenrobot/greendao/d/i;->c()Ljava/util/List;

    move-result-object p1

    invoke-interface {p1, p2}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object p1

    check-cast p1, Lcom/sandboxol/greendao/entity/homedata/HomeData;

    invoke-virtual {p1}, Lcom/sandboxol/greendao/entity/homedata/HomeData;->getData()Ljava/util/List;

    move-result-object p1

    if-nez p1, :cond_43

    goto :goto_52

    .line 5
    :cond_43
    invoke-virtual {v0}, Lorg/greenrobot/greendao/d/i;->c()Ljava/util/List;

    move-result-object p1

    invoke-interface {p1, p2}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object p1

    check-cast p1, Lcom/sandboxol/greendao/entity/homedata/HomeData;

    invoke-virtual {p1}, Lcom/sandboxol/greendao/entity/homedata/HomeData;->getData()Ljava/util/List;

    move-result-object p1

    return-object p1

    .line 6
    :cond_52
    :goto_52
    new-instance p1, Ljava/util/ArrayList;

    invoke-direct {p1}, Ljava/util/ArrayList;-><init>()V

    return-object p1
.end method

.method public static getInstance()Lcom/sandboxol/greendao/c/V;
    .registers 1

    .line 1
    invoke-static {}, Lcom/sandboxol/greendao/c/V$a;->a()Lcom/sandboxol/greendao/c/V;

    move-result-object v0

    return-object v0
.end method


# virtual methods
.method public a(JLcom/sandboxol/greendao/a/c;)V
    .registers 5
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(J",
            "Lcom/sandboxol/greendao/a/c<",
            "Ljava/util/List<",
            "Lcom/sandboxol/greendao/entity/homedata/HomeColumn;",
            ">;>;)V"
        }
    .end annotation

    .line 7
    new-instance v0, Lcom/sandboxol/greendao/c/U;

    invoke-direct {v0, p0, p1, p2, p3}, Lcom/sandboxol/greendao/c/U;-><init>(Lcom/sandboxol/greendao/c/V;JLcom/sandboxol/greendao/a/c;)V

    invoke-virtual {p0, v0}, Lcom/sandboxol/greendao/c/y;->post(Lcom/sandboxol/greendao/e/g;)V

    return-void
.end method

.method public a(JLjava/util/List;)V
    .registers 5
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(J",
            "Ljava/util/List<",
            "Lcom/sandboxol/greendao/entity/homedata/HomeColumn;",
            ">;)V"
        }
    .end annotation

    .line 2
    new-instance v0, Lcom/sandboxol/greendao/entity/homedata/HomeData;

    invoke-direct {v0}, Lcom/sandboxol/greendao/entity/homedata/HomeData;-><init>()V

    .line 3
    invoke-virtual {v0, p3}, Lcom/sandboxol/greendao/entity/homedata/HomeData;->setData(Ljava/util/List;)V

    .line 4
    invoke-virtual {v0, p1, p2}, Lcom/sandboxol/greendao/entity/homedata/HomeData;->setUserId(J)V

    .line 5
    new-instance p1, Lcom/sandboxol/greendao/c/k;

    invoke-direct {p1, p0, v0}, Lcom/sandboxol/greendao/c/k;-><init>(Lcom/sandboxol/greendao/c/V;Lcom/sandboxol/greendao/entity/homedata/HomeData;)V

    invoke-virtual {p0, p1}, Lcom/sandboxol/greendao/c/y;->post(Ljava/lang/Runnable;)V

    return-void
.end method

.method public synthetic a(Lcom/sandboxol/greendao/entity/homedata/HomeData;)V
    .registers 5

    .line 6
    invoke-virtual {p0}, Lcom/sandboxol/greendao/c/V;->getDao()Lorg/greenrobot/greendao/a;

    move-result-object v0

    const/4 v1, 0x1

    new-array v1, v1, [Ljava/lang/Object;

    const/4 v2, 0x0

    aput-object p1, v1, v2

    invoke-virtual {v0, v1}, Lorg/greenrobot/greendao/a;->insertOrReplaceInTx([Ljava/lang/Object;)V

    return-void
.end method

.method protected getDao()Lorg/greenrobot/greendao/a;
    .registers 2

    .line 1
    invoke-super {p0}, Lcom/sandboxol/greendao/c/y;->getDao()Lorg/greenrobot/greendao/a;

    move-result-object v0

    check-cast v0, Lcom/sandboxol/greendao/entity/HomeDataDao;

    return-object v0
.end method

.method protected init(Lcom/sandboxol/greendao/entity/DaoSession;)Lorg/greenrobot/greendao/a;
    .registers 2

    .line 1
    invoke-virtual {p1}, Lcom/sandboxol/greendao/entity/DaoSession;->getHomeDataDao()Lcom/sandboxol/greendao/entity/HomeDataDao;

    move-result-object p1

    return-object p1
.end method