com.fastchar.extjs.observer.FastExtDatabaseObserver Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of fastchar-extjs Show documentation
Show all versions of fastchar-extjs Show documentation
FastChar-ExtJs is a Java Web framework that uses extjs libraries.Quickly build a background management system
package com.fastchar.extjs.observer;
import com.fastchar.core.FastChar;
import com.fastchar.database.info.FastDatabaseInfo;
import com.fastchar.extjs.FastExtConfig;
import com.fastchar.extjs.core.FastExtLayerHelper;
import java.util.ArrayList;
import java.util.List;
public class FastExtDatabaseObserver {
public void onDatabaseFinish() {
List layerMaps = new ArrayList<>();
for (FastDatabaseInfo databaseInfo : FastChar.getDatabases().getAll()) {
if (!databaseInfo.isFetchDatabaseInfo()) {
continue;
}
layerMaps.addAll(FastExtLayerHelper.buildLayerMap(databaseInfo));
}
FastExtConfig.getInstance().setLayerMaps(layerMaps);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy