Package org.pentaho.platform.api.engine

Examples of org.pentaho.platform.api.engine.IAuditEntry


    new AuditHelper();
    new AuditEntry();
  }

  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 );
  }
View Full Code Here


  }

  public static void auditAll( final String jobId, final String instId, final String objId, final String objType,
      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

Related Classes of org.pentaho.platform.api.engine.IAuditEntry

Copyright © 2018 www.massapicom. 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.