AbstractReportSuite.java
1.03 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
/*
* Decompiled with CFR 0_118.
*
* Could not load the following classes:
* org.apache.sling.commons.json.JSONException
* org.apache.sling.commons.json.JSONObject
*/
package com.day.cq.analytics.sitecatalyst.rsmerger;
import com.day.cq.analytics.sitecatalyst.rsmerger.ReportSuiteVariable;
import org.apache.sling.commons.json.JSONException;
import org.apache.sling.commons.json.JSONObject;
@Deprecated
public abstract class AbstractReportSuite
implements ReportSuiteVariable {
protected String rsid;
protected String siteTitle;
protected JSONObject jsonObj;
public AbstractReportSuite(JSONObject jsonObj) throws JSONException {
this.rsid = jsonObj.getString("rsid");
this.siteTitle = jsonObj.getString("site_title");
this.jsonObj = jsonObj;
}
@Override
public String getRsid() {
return this.rsid;
}
@Override
public String getSiteTitle() {
return this.siteTitle;
}
@Override
public JSONObject getJSONObject() {
return this.jsonObj;
}
}