Examples of LoggingObject


Examples of org.olat.core.logging.activity.LoggingObject

    // get registered node aliases like fo, den, st, and so on
    List<String> courseNodeAliases = CourseNodeFactory.getInstance().getRegisteredCourseNodeAliases();
    // count all LoggingObjects which have not a course node resourceable type two times 
    int count = 0;
    for (Object o : loggingObjects) {
      LoggingObject loggingObject = (LoggingObject) o;
      if(!(courseNodeAliases.contains(loggingObject.getTargetResType()) && courseNodeAliases.contains(loggingObject.getParentResType()))) {
        count++;
      }
    }
    setAggregation(count);
  }
View Full Code Here

Examples of org.pentaho.di.core.logging.LoggingObject

    // OK, What's the SQL we need to execute to generate the target table?
    String sql = transMeta.getSQLStatementsString();

    // Execute the SQL on the target table:
    Database targetDatabase =
        new Database( new LoggingObject( "Custom1" ), transMeta.findDatabase( targetDatabaseName ) );
    targetDatabase.connect();
    targetDatabase.execStatements( sql );

  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.