Package org.pentaho.platform.api.engine

Examples of org.pentaho.platform.api.engine.IAuditEntry.auditAll()


  }

  public void testNullAuditEntry() {
    IAuditEntry auditEntry = new NullAuditEntry();
    // this should not fail, even with all nulls as inputs
    auditEntry.auditAll( null, null, null, null, null, null, null, null, null, 0.0 );
  }

  public void testClearCounts() {
    AuditEntry auditEntry = new AuditEntry();
    long counterResetDateTime = auditEntry.getCounterResetDateTime().getTime();
View Full Code Here


      final String actor, final String messageType, final String messageName, final String messageTxtValue,
      final BigDecimal messageNumValue, final float duration ) throws AuditException {
    IAuditEntry auditEntry = null;
    if ( PentahoSystem.getObjectFactory().objectDefined( IAuditEntry.class.getSimpleName() ) ) {
      auditEntry = PentahoSystem.get( IAuditEntry.class, null );
      auditEntry.auditAll( jobId, instId, objId, objType, actor, messageType, messageName, messageTxtValue,
          messageNumValue, duration );
    }
    Long count = messageTypeCountMap.get( messageType );
    if ( count == null ) {
      messageTypeCountMap.put( messageType, new Long( 1 ) );
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.