Search in sources :

Example 1 with IFoundSetManagerInternal

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;
}
Also used : IFoundSetManagerInternal(com.servoy.j2db.dataprocessing.IFoundSetManagerInternal) Solution(com.servoy.j2db.persistence.Solution)

Aggregations

IFoundSetManagerInternal (com.servoy.j2db.dataprocessing.IFoundSetManagerInternal)1 Solution (com.servoy.j2db.persistence.Solution)1