private void updateManagedSystem(ISource S) throws AdeException {
  logger.trace(String.format("updateManagedSystem(%s) -->entry",S.getSourceId()));
  boolean updateOk;
  try {
    logger.info(String.format("updateManagedSystem(%s) -->executeBatch",S.getSourceId()));
    updateOk=executeBatch(getSqlForUpdate(S));
    if (updateOk) {
      checkForObsoleteReferences();
    }
 else {
      final String msg=String.format("updateManagedSystem(%s) - unexpected (sql) failure",S.getSourceId());
      logger.error(msg);
      throw new AdeInternalException(msg);
    }
  }
 catch (  AdeException e) {
    throw e;
  }
catch (  Throwable t) {
    final String msg=String.format("updateManagedSystem(%s) caught unexpected throwable: %s",S.getSourceId(),t.getMessage());
    logger.error(msg);
    throw new AdeInternalException(msg,t);
  }
  logger.trace("updateManagedSystem() <-- exit");
}

private void updateManagedSystem ( ISource S ) throws AdeException { logger . trace ( String . format ( "updateManagedSystem(%s) -->entry" , S . getSourceId ( ) ) ) ; boolean updateOk ; try { logger . info ( String . format ( "updateManagedSystem(%s) -->executeBatch" , S . getSourceId ( ) ) ) ; updateOk = executeBatch ( getSqlForUpdate ( S ) ) ; if ( updateOk ) { checkForObsoleteReferences ( ) ; } else { final String msg = String . format ( "updateManagedSystem(%s) - unexpected (sql) failure" , S . getSourceId ( ) ) ; logger . error ( msg ) ; throw new AdeInternalException ( msg ) ; } } catch ( AdeException e ) { throw e ; } catch ( Throwable t ) { final String msg = String . format ( "updateManagedSystem(%s) caught unexpected throwable: %s" , S . getSourceId ( ) , t . getMessage ( ) ) ; logger . error ( msg ) ; throw new AdeInternalException ( msg , t ) ; } logger . trace ( "updateManagedSystem() <-- exit" ) ; }
drive any database update ( s ) determined by a comparison of " this " ( the parameter values which inform this managedsysteminfo instance ) with the database ( the managedsysteminfo instance informed by the values found in the database query ) .
