Class AixFlowResultDAO
java.lang.Object
org.bgerp.plugin.ai.aixflow.model.AixFlowResultDAO
DAO for AixFlowResult operations
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidcreateTable(Connection con) Create table if not existsstatic voiddeleteByFilename(Connection con, String filename) Delete results by filenamestatic List<AixFlowResult> getAll(Connection con) Get all resultsstatic List<AixFlowResult> getByFilename(Connection con, String filename) Get results by filenamestatic AixFlowResultgetByHash(Connection con, String hash) Get result by hashstatic voidsaveDiarizationResult(Connection con, String filename, String diarizationHash, String diarizationStatus, String diarizationResult, String diarizationRawResponse) Save or update diarization resultstatic voidsaveResult(Connection con, AixFlowResult result) Save or update n8n result
-
Constructor Details
-
AixFlowResultDAO
public AixFlowResultDAO()
-
-
Method Details
-
createTable
Create table if not exists- Throws:
SQLException
-
saveDiarizationResult
public static void saveDiarizationResult(Connection con, String filename, String diarizationHash, String diarizationStatus, String diarizationResult, String diarizationRawResponse) throws SQLException Save or update diarization result- Throws:
SQLException
-
saveResult
Save or update n8n result- Throws:
SQLException
-
getByHash
Get result by hash- Throws:
SQLException
-
getByFilename
public static List<AixFlowResult> getByFilename(Connection con, String filename) throws SQLException Get results by filename- Throws:
SQLException
-
getAll
Get all results- Throws:
SQLException
-
deleteByFilename
Delete results by filename- Throws:
SQLException
-