wa.smali

.class public Lcom/sandboxol/greendao/c/wa;
.super Lcom/sandboxol/greendao/c/y;
.source "VideoInfoDbHelper.java"


# static fields
.field private static a:Lcom/sandboxol/greendao/c/wa;


# instance fields
.field private b:Lcom/sandboxol/greendao/entity/VideoInfoDao;


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

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

    return-void
.end method

.method static synthetic a(Lcom/sandboxol/greendao/c/wa;)Lcom/sandboxol/greendao/entity/VideoInfoDao;
    .registers 1

    .line 1
    iget-object p0, p0, Lcom/sandboxol/greendao/c/wa;->b:Lcom/sandboxol/greendao/entity/VideoInfoDao;

    return-object p0
.end method

.method private a(Ljava/lang/String;Lcom/sandboxol/greendao/entity/VideoInfo;)V
    .registers 7

    .line 2
    iget-object v0, p0, Lcom/sandboxol/greendao/c/wa;->b:Lcom/sandboxol/greendao/entity/VideoInfoDao;

    invoke-virtual {v0, p2}, Lorg/greenrobot/greendao/a;->insertOrReplace(Ljava/lang/Object;)J

    .line 3
    invoke-virtual {p0}, Lcom/sandboxol/greendao/c/wa;->getDao()Lcom/sandboxol/greendao/entity/JoinVideoListDao;

    move-result-object v0

    new-instance v1, Lcom/sandboxol/greendao/entity/JoinVideoList;

    invoke-virtual {p2}, Lcom/sandboxol/greendao/entity/VideoInfo;->getVideoId()J

    move-result-wide v2

    invoke-direct {v1, p1, v2, v3}, Lcom/sandboxol/greendao/entity/JoinVideoList;-><init>(Ljava/lang/String;J)V

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

    return-void
.end method

.method public static declared-synchronized getInstance()Lcom/sandboxol/greendao/c/wa;
    .registers 2

    const-class v0, Lcom/sandboxol/greendao/c/wa;

    monitor-enter v0

    .line 1
    :try_start_3
    sget-object v1, Lcom/sandboxol/greendao/c/wa;->a:Lcom/sandboxol/greendao/c/wa;

    if-nez v1, :cond_e

    .line 2
    new-instance v1, Lcom/sandboxol/greendao/c/wa;

    invoke-direct {v1}, Lcom/sandboxol/greendao/c/wa;-><init>()V

    sput-object v1, Lcom/sandboxol/greendao/c/wa;->a:Lcom/sandboxol/greendao/c/wa;

    .line 3
    :cond_e
    sget-object v1, Lcom/sandboxol/greendao/c/wa;->a:Lcom/sandboxol/greendao/c/wa;
    :try_end_10
    .catchall {:try_start_3 .. :try_end_10} :catchall_12

    monitor-exit v0

    return-object v1

    :catchall_12
    move-exception v1

    monitor-exit v0

    throw v1
.end method


# virtual methods
.method public a(Ljava/lang/String;Lcom/sandboxol/greendao/a/c;)V
    .registers 4
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ljava/lang/String;",
            "Lcom/sandboxol/greendao/a/c<",
            "Lcom/sandboxol/greendao/entity/VideoInfo;",
            ">;)V"
        }
    .end annotation

    .line 4
    new-instance v0, Lcom/sandboxol/greendao/c/ua;

    invoke-direct {v0, p0, p1, p2}, Lcom/sandboxol/greendao/c/ua;-><init>(Lcom/sandboxol/greendao/c/wa;Ljava/lang/String;Lcom/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(Ljava/lang/String;Ljava/util/List;)V
    .registers 4
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ljava/lang/String;",
            "Ljava/util/List<",
            "Lcom/sandboxol/greendao/entity/VideoInfo;",
            ">;)V"
        }
    .end annotation

    .line 5
    new-instance v0, Lcom/sandboxol/greendao/c/x;

    invoke-direct {v0, p0, p2, p1}, Lcom/sandboxol/greendao/c/x;-><init>(Lcom/sandboxol/greendao/c/wa;Ljava/util/List;Ljava/lang/String;)V

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

    return-void
.end method

.method public synthetic a(Ljava/util/List;Ljava/lang/String;)V
    .registers 4

    .line 6
    invoke-interface {p1}, Ljava/util/List;->iterator()Ljava/util/Iterator;

    move-result-object p1

    :goto_4
    invoke-interface {p1}, Ljava/util/Iterator;->hasNext()Z

    move-result v0

    if-eqz v0, :cond_14

    invoke-interface {p1}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v0

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

    .line 7
    invoke-direct {p0, p2, v0}, Lcom/sandboxol/greendao/c/wa;->a(Ljava/lang/String;Lcom/sandboxol/greendao/entity/VideoInfo;)V

    goto :goto_4

    :cond_14
    return-void
.end method

.method public b(Ljava/lang/String;Lcom/sandboxol/greendao/a/c;)V
    .registers 4
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ljava/lang/String;",
            "Lcom/sandboxol/greendao/a/c<",
            "Ljava/util/List<",
            "Lcom/sandboxol/greendao/entity/VideoInfo;",
            ">;>;)V"
        }
    .end annotation

    .line 1
    new-instance v0, Lcom/sandboxol/greendao/c/va;

    invoke-direct {v0, p0, p1, p2}, Lcom/sandboxol/greendao/c/va;-><init>(Lcom/sandboxol/greendao/c/wa;Ljava/lang/String;Lcom/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 protected getDao()Lcom/sandboxol/greendao/entity/JoinVideoListDao;
    .registers 2

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

    move-result-object v0

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

    return-object v0
.end method

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

    .line 1
    invoke-virtual {p0}, Lcom/sandboxol/greendao/c/wa;->getDao()Lcom/sandboxol/greendao/entity/JoinVideoListDao;

    move-result-object v0

    return-object v0
.end method

.method protected init(Lcom/sandboxol/greendao/entity/DaoSession;)Lcom/sandboxol/greendao/entity/JoinVideoListDao;
    .registers 3

    .line 2
    invoke-virtual {p1}, Lcom/sandboxol/greendao/entity/DaoSession;->getVideoInfoDao()Lcom/sandboxol/greendao/entity/VideoInfoDao;

    move-result-object v0

    iput-object v0, p0, Lcom/sandboxol/greendao/c/wa;->b:Lcom/sandboxol/greendao/entity/VideoInfoDao;

    .line 3
    invoke-virtual {p1}, Lcom/sandboxol/greendao/entity/DaoSession;->getJoinVideoListDao()Lcom/sandboxol/greendao/entity/JoinVideoListDao;

    move-result-object p1

    return-object p1
.end method

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

    .line 1
    invoke-virtual {p0, p1}, Lcom/sandboxol/greendao/c/wa;->init(Lcom/sandboxol/greendao/entity/DaoSession;)Lcom/sandboxol/greendao/entity/JoinVideoListDao;

    move-result-object p1

    return-object p1
.end method