use of com.servoy.j2db.dataprocessing.IFoundSetManagerInternal in project servoy-client by Servoy.
the class Messages method isI18NTable.
public static boolean isI18NTable(String serverName, String tableName, IApplication application) {
Solution solution = application.getSolution();
IFoundSetManagerInternal fm = application.getFoundSetManager();
if (solution != null && fm != null) {
String i18nDatasource = solution.getI18nDataSource();
String[] names = getServerTableNames(i18nDatasource, application.getSettings());
return names[0] != null && names[0].equals(serverName) && names[1] != null && ((tableName == null) || names[1].equals(tableName));
}
return false;
}
Aggregations