private ArrayList<String> loadSystemLanguages(){
  s_logger.log(Level.FINE,"loadSystemLanguages",getDirection());
  ArrayList<String> systemClients=new ArrayList<String>();
  String sql=s_dbEngine.sqlAD_getSystemLanguages(getVendor(),getCatalog(),getSchema());
  ResultSet rs=null;
  Statement stmt=null;
  if (isObjectExists("ad_language",m_tables)) {
    stmt=setStatement();
    rs=executeQuery(stmt,sql);
    while (getResultSetNext(rs)) {
      String s=getResultSetString(rs,"AD_Language");
      systemClients.add(s);
    }
    releaseResultSet(rs);
    releaseStatement(stmt);
  }
  StringBuffer result=new StringBuffer();
  for (Iterator<String> it=systemClients.iterator(); it.hasNext(); ) {
    String s=it.next();
    if (result.length() > 0)     result.append(", ");
    result.append(s);
  }
  s_logger.log(Level.FINE,"systemLanguagesLoaded",new Object[]{getDirection(),result});
  s_logger.flush();
  return systemClients;
}

private ArrayList < String > loadSystemLanguages ( ) { s_logger . log ( Level . FINE , "loadSystemLanguages" , getDirection ( ) ) ; ArrayList < String > systemClients = new ArrayList < String > ( ) ; String sql = s_dbEngine . sqlAD_getSystemLanguages ( getVendor ( ) , getCatalog ( ) , getSchema ( ) ) ; ResultSet rs = null ; Statement stmt = null ; if ( isObjectExists ( "ad_language" , m_tables ) ) { stmt = setStatement ( ) ; rs = executeQuery ( stmt , sql ) ; while ( getResultSetNext ( rs ) ) { String s = getResultSetString ( rs , "AD_Language" ) ; systemClients . add ( s ) ; } releaseResultSet ( rs ) ; releaseStatement ( stmt ) ; } StringBuffer result = new StringBuffer ( ) ; for ( Iterator < String > it = systemClients . iterator ( ) ; it . hasNext ( ) ; ) { String s = it . next ( ) ; if ( result . length ( ) > 0 ) result . append ( ", " ) ; result . append ( s ) ; } s_logger . log ( Level . FINE , "systemLanguagesLoaded" , new Object [ ] { getDirection ( ) , result } ) ; s_logger . flush ( ) ; return systemClients ; }
load languages which are actively being used in the system
