Document Repository
Internal use only.
Constructors
Link copied to clipboard
public DocumentRepository<E> DocumentRepository(DocumentRemoteSource documentRemoteSource, SessionManager sessionManager, GiniApiType giniApiType)
Types
Functions
Link copied to clipboard
public final Resource<Document> createCompositeDocument(LinkedHashMap<Document, Integer> documentRotationMap, DocumentManager.DocumentType documentType)
public final Resource<Document> createCompositeDocument(List<Document> documents, DocumentManager.DocumentType documentType)
Link copied to clipboard
public abstract E createExtractionsContainer(Map<String, SpecificExtraction> specificExtractions, Map<String, CompoundExtraction> compoundExtractions, JSONObject responseJSON)
Link copied to clipboard
public final Resource<Document> createPartialDocument(ByteArray documentData, String contentType, String filename, DocumentManager.DocumentType documentType, DocumentMetadata documentMetadata)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
public final Map<String, SpecificExtraction> parseSpecificExtractions(JSONObject specificExtractionsJson, Map<String, List<Extraction>> candidates)
Link copied to clipboard
Link copied to clipboard
public final Resource<Unit> sendFeedbackForExtractions(Document document, Map<String, SpecificExtraction> extractions)
public final Resource<Unit> sendFeedbackForExtractions(Document document, Map<String, SpecificExtraction> extractions, Map<String, CompoundExtraction> compoundExtractions)