Examples of AuditTrailInfo


Examples of de.scoopgmbh.copper.management.model.AuditTrailInfo

    RowMapper<AuditTrailInfo> rowMapper = new RowMapper<AuditTrailInfo>(){

      public AuditTrailInfo mapRow(ResultSet rs, int arg1)
          throws SQLException {
       
        return new AuditTrailInfo(
                    rs.getLong("SEQ_ID"),
                    rs.getString("TRANSACTION_ID"),
                    rs.getString("CONVERSATION_ID"),
                    rs.getString("CORRELATION_ID"),
                    rs.getTimestamp("OCCURRENCE").getTime(),
View Full Code Here

Examples of de.scoopgmbh.copper.monitoring.core.model.AuditTrailInfo

  @Override
  public List<AuditTrailInfo> getAuditTrails(String workflowClass, String workflowInstanceId, String correlationId, Integer level, long resultRowLimit)
      throws RemoteException {
    ArrayList<AuditTrailInfo> result = new ArrayList<AuditTrailInfo>();
    AuditTrailInfo auditTrailInfo = new AuditTrailInfo();
    auditTrailInfo.setId(1);
    auditTrailInfo.setLoglevel(1);
    result.add(auditTrailInfo);
    auditTrailInfo = new AuditTrailInfo();
    auditTrailInfo.setId(2);
    auditTrailInfo.setLoglevel(2);
    result.add(auditTrailInfo);
    auditTrailInfo = new AuditTrailInfo();
    auditTrailInfo.setId(3);
    auditTrailInfo.setLoglevel(3);
    auditTrailInfo.setOccurrence(new Date());
    auditTrailInfo.setMessageType("json");
    result.add(auditTrailInfo);
    return result;
  }
View Full Code Here

Examples of de.scoopgmbh.copper.monitoring.core.model.AuditTrailInfo

     
      ResultSet resultSet = selectStmt.executeQuery();
     
      ArrayList<AuditTrailInfo> logs = new ArrayList<AuditTrailInfo>();
      while (resultSet.next()) {
        AuditTrailInfo auditTrailInfo = new AuditTrailInfo();
        auditTrailInfo.setId(resultSet.getLong(1));
        auditTrailInfo.setOccurrence(resultSet.getTimestamp(2)!=null?new Date(resultSet.getTimestamp(2).getTime()):null);
        auditTrailInfo.setConversationId(resultSet.getString(3));
        auditTrailInfo.setLoglevel(resultSet.getInt(4));
        auditTrailInfo.setContext(resultSet.getString(5));
        auditTrailInfo.setWorkflowInstanceId(resultSet.getString(6));
        auditTrailInfo.setCorrelationId(resultSet.getString(7));
        auditTrailInfo.setTransactionId(resultSet.getString(8));
        auditTrailInfo.setMessageType(resultSet.getString(9));
        logs.add(auditTrailInfo);
      }
      resultSet.close();

      return logs;
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.