Interface ExtractDAO
-
- All Known Implementing Classes:
ExtractDAOJpaImpl
public interface ExtractDAO
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voiddeleteDump(java.lang.String documentId)Removes aDumpfrom the underlying datasource for the given document id.DumpgetDumpByDocumentId(java.lang.String documentId)Returns aDumpfor the given document idjava.util.List<Fields>getFieldsByDocumentId(java.lang.String documentId)Returns allFieldswith the given document id.DumpsaveDump(Dump dump)Persists the given item to the underlying datasource.FieldssaveField(Fields field)Persists the given item to the underlying datasource.
-
-
-
Method Detail
-
getDumpByDocumentId
Dump getDumpByDocumentId(java.lang.String documentId)
Returns aDumpfor the given document id- Parameters:
documentId- the document id- Returns:
- a
Dump
-
getFieldsByDocumentId
java.util.List<Fields> getFieldsByDocumentId(java.lang.String documentId)
Returns allFieldswith the given document id.- Parameters:
documentId- the document id.- Returns:
- a
ListofFields
-
saveDump
Dump saveDump(Dump dump)
Persists the given item to the underlying datasource.- Parameters:
dump- the item to save- Returns:
- the saved
Dump
-
deleteDump
void deleteDump(java.lang.String documentId)
Removes aDumpfrom the underlying datasource for the given document id.- Parameters:
documentId- the document id
-
-