EventSyncGategory.smali

.class public Lcom/cm/plugincluster/softmgr/event/EventSyncGategory;
.super Lclient/core/model/Event;
.source "EventSyncGategory.java"


# static fields
.field public static final DATA_ERROR:I = 0x2

.field public static final NO_NET:I = 0x1

.field public static final NO_UNCATEGORY:I = 0x5

.field public static SYNC_DONE:Lcom/cm/plugincluster/softmgr/event/EventSyncGategory; = null

.field public static final UNEXPRIED:I = 0x3

.field public static final UNKNOWN:I = 0x4


# instance fields
.field public catelog:Ljava/util/Map;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/Map",
            "<",
            "Ljava/lang/String;",
            "Lcom/cm/plugincluster/softmgr/beans/AppCategory;",
            ">;"
        }
    .end annotation
.end field

.field public failReason:I

.field private mAllDone:Z

.field public success:Z


# direct methods
.method static constructor <clinit>()V
    .registers 2

    .prologue
    .line 19
    new-instance v0, Lcom/cm/plugincluster/softmgr/event/EventSyncGategory;

    invoke-direct {v0}, Lcom/cm/plugincluster/softmgr/event/EventSyncGategory;-><init>()V

    const/4 v1, 0x1

    invoke-virtual {v0, v1}, Lcom/cm/plugincluster/softmgr/event/EventSyncGategory;->setAllDone(Z)Lcom/cm/plugincluster/softmgr/event/EventSyncGategory;

    move-result-object v0

    sput-object v0, Lcom/cm/plugincluster/softmgr/event/EventSyncGategory;->SYNC_DONE:Lcom/cm/plugincluster/softmgr/event/EventSyncGategory;

    return-void
.end method

.method public constructor <init>()V
    .registers 3

    .prologue
    const/4 v1, 0x0

    .line 10
    invoke-direct {p0}, Lclient/core/model/Event;-><init>()V

    .line 16
    const/4 v0, 0x0

    iput-object v0, p0, Lcom/cm/plugincluster/softmgr/event/EventSyncGategory;->catelog:Ljava/util/Map;

    .line 17
    iput-boolean v1, p0, Lcom/cm/plugincluster/softmgr/event/EventSyncGategory;->mAllDone:Z

    .line 34
    iput-boolean v1, p0, Lcom/cm/plugincluster/softmgr/event/EventSyncGategory;->success:Z

    return-void
.end method

.method public static create(Ljava/util/Map;)Lcom/cm/plugincluster/softmgr/event/EventSyncGategory;
    .registers 3
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ljava/util/Map",
            "<",
            "Ljava/lang/String;",
            "Lcom/cm/plugincluster/softmgr/beans/AppCategory;",
            ">;)",
            "Lcom/cm/plugincluster/softmgr/event/EventSyncGategory;"
        }
    .end annotation

    .prologue
    .line 48
    new-instance v0, Lcom/cm/plugincluster/softmgr/event/EventSyncGategory;

    invoke-direct {v0}, Lcom/cm/plugincluster/softmgr/event/EventSyncGategory;-><init>()V

    .line 49
    iput-object p0, v0, Lcom/cm/plugincluster/softmgr/event/EventSyncGategory;->catelog:Ljava/util/Map;

    .line 50
    const/4 v1, 0x1

    iput-boolean v1, v0, Lcom/cm/plugincluster/softmgr/event/EventSyncGategory;->success:Z

    .line 51
    return-object v0
.end method

.method public static createFromAppCategoryResponse(Lcom/cm/plugincluster/softmgr/beans/AppCategoryResponse;)Lcom/cm/plugincluster/softmgr/event/EventSyncGategory;
    .registers 3

    .prologue
    .line 27
    new-instance v0, Lcom/cm/plugincluster/softmgr/event/EventSyncGategory;

    invoke-direct {v0}, Lcom/cm/plugincluster/softmgr/event/EventSyncGategory;-><init>()V

    .line 28
    if-eqz p0, :cond_d

    .line 29
    invoke-virtual {p0}, Lcom/cm/plugincluster/softmgr/beans/AppCategoryResponse;->getAll()Ljava/util/Map;

    move-result-object v1

    iput-object v1, v0, Lcom/cm/plugincluster/softmgr/event/EventSyncGategory;->catelog:Ljava/util/Map;

    .line 31
    :cond_d
    return-object v0
.end method


# virtual methods
.method public failReason(I)Lcom/cm/plugincluster/softmgr/event/EventSyncGategory;
    .registers 2

    .prologue
    .line 43
    iput p1, p0, Lcom/cm/plugincluster/softmgr/event/EventSyncGategory;->failReason:I

    .line 44
    return-object p0
.end method

.method public setAllDone(Z)Lcom/cm/plugincluster/softmgr/event/EventSyncGategory;
    .registers 2

    .prologue
    .line 22
    iput-boolean p1, p0, Lcom/cm/plugincluster/softmgr/event/EventSyncGategory;->mAllDone:Z

    .line 23
    return-object p0
.end method

.method public success(Z)Lcom/cm/plugincluster/softmgr/event/EventSyncGategory;
    .registers 2

    .prologue
    .line 38
    iput-boolean p1, p0, Lcom/cm/plugincluster/softmgr/event/EventSyncGategory;->success:Z

    .line 39
    return-object p0
.end method