sa.smali
.class Lcom/sandboxol/greendao/c/sa;
.super Ljava/lang/Object;
.source "VideoDetailCacheDbHelper.java"
# interfaces
.implements Lcom/sandboxol/greendao/e/g;
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lcom/sandboxol/greendao/c/ta;->a(JLcom/sandboxol/greendao/a/c;)V
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x0
name = null
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/lang/Object;",
"Lcom/sandboxol/greendao/e/g<",
"Lcom/sandboxol/greendao/entity/VideoDetailInfo;",
">;"
}
.end annotation
# instance fields
.field final synthetic a:J
.field final synthetic b:Lcom/sandboxol/greendao/a/c;
.field final synthetic c:Lcom/sandboxol/greendao/c/ta;
# direct methods
.method constructor <init>(Lcom/sandboxol/greendao/c/ta;JLcom/sandboxol/greendao/a/c;)V
.registers 5
.line 1
iput-object p1, p0, Lcom/sandboxol/greendao/c/sa;->c:Lcom/sandboxol/greendao/c/ta;
iput-wide p2, p0, Lcom/sandboxol/greendao/c/sa;->a:J
iput-object p4, p0, Lcom/sandboxol/greendao/c/sa;->b:Lcom/sandboxol/greendao/a/c;
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public a(Lcom/sandboxol/greendao/entity/VideoDetailInfo;)V
.registers 3
.line 1
iget-object v0, p0, Lcom/sandboxol/greendao/c/sa;->b:Lcom/sandboxol/greendao/a/c;
invoke-interface {v0, p1}, Lcom/sandboxol/greendao/a/c;->onSuccess(Ljava/lang/Object;)V
return-void
.end method
.method public onError(Ljava/lang/Throwable;)V
.registers 2
return-void
.end method
.method public onExecute()Lcom/sandboxol/greendao/entity/VideoDetailInfo;
.registers 5
.line 2
iget-object v0, p0, Lcom/sandboxol/greendao/c/sa;->c:Lcom/sandboxol/greendao/c/ta;
invoke-virtual {v0}, Lcom/sandboxol/greendao/c/ta;->getDao()Lcom/sandboxol/greendao/entity/VideoDetailInfoDao;
move-result-object v0
invoke-virtual {v0}, Lorg/greenrobot/greendao/a;->queryBuilder()Lorg/greenrobot/greendao/d/i;
move-result-object v0
.line 3
sget-object v1, Lcom/sandboxol/greendao/entity/VideoDetailInfoDao$Properties;->VideoId:Lorg/greenrobot/greendao/f;
iget-wide v2, p0, Lcom/sandboxol/greendao/c/sa;->a:J
invoke-static {v2, v3}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;
move-result-object v2
invoke-virtual {v1, v2}, Lorg/greenrobot/greendao/f;->a(Ljava/lang/Object;)Lorg/greenrobot/greendao/d/k;
move-result-object v1
const/4 v2, 0x0
new-array v3, v2, [Lorg/greenrobot/greendao/d/k;
invoke-virtual {v0, v1, v3}, Lorg/greenrobot/greendao/d/i;->a(Lorg/greenrobot/greendao/d/k;[Lorg/greenrobot/greendao/d/k;)Lorg/greenrobot/greendao/d/i;
.line 4
invoke-virtual {v0}, Lorg/greenrobot/greendao/d/i;->c()Ljava/util/List;
move-result-object v0
if-eqz v0, :cond_2f
.line 5
invoke-interface {v0}, Ljava/util/List;->isEmpty()Z
move-result v1
if-nez v1, :cond_2f
.line 6
invoke-interface {v0, v2}, Ljava/util/List;->get(I)Ljava/lang/Object;
move-result-object v0
check-cast v0, Lcom/sandboxol/greendao/entity/VideoDetailInfo;
return-object v0
:cond_2f
const/4 v0, 0x0
return-object v0
.end method
.method public bridge synthetic onExecute()Ljava/lang/Object;
.registers 2
.line 1
invoke-virtual {p0}, Lcom/sandboxol/greendao/c/sa;->onExecute()Lcom/sandboxol/greendao/entity/VideoDetailInfo;
move-result-object v0
return-object v0
.end method
.method public bridge synthetic onSuccess(Ljava/lang/Object;)V
.registers 2
.line 1
check-cast p1, Lcom/sandboxol/greendao/entity/VideoDetailInfo;
invoke-virtual {p0, p1}, Lcom/sandboxol/greendao/c/sa;->a(Lcom/sandboxol/greendao/entity/VideoDetailInfo;)V
return-void
.end method