com.centurylink.mdw.service.data.event.EventDataAccess Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of mdw-services Show documentation
Show all versions of mdw-services Show documentation
MDW is a workflow framework specializing in microservice orchestration
package com.centurylink.mdw.service.data.event;
import com.centurylink.mdw.dataaccess.DataAccessException;
import com.centurylink.mdw.dataaccess.db.CommonDataAccess;
import com.centurylink.mdw.model.event.EventLog;
import java.sql.ResultSet;
import java.util.ArrayList;
import java.util.List;
import java.util.Vector;
public class EventDataAccess extends CommonDataAccess {
public List getEventLogs(String eventName, String source,
String ownerType, Long ownerId) throws DataAccessException {
try {
db.openConnection();
StringBuffer query = new StringBuffer();
query.append("select EVENT_LOG_ID, EVENT_NAME, EVENT_LOG_OWNER, EVENT_LOG_OWNER_ID,");
query.append(" EVENT_SOURCE, CREATE_DT, EVENT_CATEGORY, EVENT_SUB_CATEGORY,");
query.append(" COMMENTS, CREATE_USR ");
query.append(" FROM EVENT_LOG ");
query.append("where ");
Vector
© 2015 - 2025 Weber Informatics LLC | Privacy Policy