Browse Source

REPORT-60154【来源于迭代任务】【V3.1.0】【无需适配】复用组件接触点优化二期

feature/x
kerry 3 years ago
parent
commit
64287df3fd
  1. 14
      designer-base/src/main/java/com/fr/design/mainframe/reuse/ComponentReuseNotificationInfo.java

14
designer-base/src/main/java/com/fr/design/mainframe/reuse/ComponentReuseNotificationInfo.java

@ -9,6 +9,7 @@ import com.fr.stable.xml.XMLableReader;
*/ */
public class ComponentReuseNotificationInfo implements XMLable { public class ComponentReuseNotificationInfo implements XMLable {
public static final String XML_TAG = "ComponentReuseNotificationInfo"; public static final String XML_TAG = "ComponentReuseNotificationInfo";
private static final int INVALID_NUM = -1;
private static final ComponentReuseNotificationInfo INSTANCE = new ComponentReuseNotificationInfo(); private static final ComponentReuseNotificationInfo INSTANCE = new ComponentReuseNotificationInfo();
@ -86,6 +87,19 @@ public class ComponentReuseNotificationInfo implements XMLable {
this.historyCreatedReuses = historyCreatedReuses; this.historyCreatedReuses = historyCreatedReuses;
} }
//兼容老版本云端埋点的记录
public long getLastNotifyTime() {
return INVALID_NUM;
}
public int getNotifiedNumber() {
return INVALID_NUM;
}
public long getLastGuidePopUpTime() {
return INVALID_NUM;
}
@Override @Override
public void readXML(XMLableReader reader) { public void readXML(XMLableReader reader) {
this.setClickedWidgetLib(reader.getAttrAsBoolean("clickedWidgetLib", false)); this.setClickedWidgetLib(reader.getAttrAsBoolean("clickedWidgetLib", false));

Loading…
Cancel
Save