Verified Owner
Top Fields Constructors Methods
org.jabref.logic.ai.summarization.repositories

public Class MVStoreSummariesRepository

extends MVStoreBase
implements SummariesRepository
Class Inheritance
All Implemented Interfaces
org.jabref.logic.ai.summarization.repositories.SummariesRepository
Imports
java.nio.file.Path, java.util.Map, .Optional, org.jabref.logic.ai.util.MVStoreBase, org.jabref.logic.l10n.Localization, org.jabref.logic.util.NotificationService, org.jabref.model.ai.summarization.AiSummary, .AiSummaryIdentifier, tools.jackson.core.JacksonException, tools.jackson.databind.json.JsonMapper

Field Summary

Modifier and TypeField and Description
private static final JsonMapper
Inherited from org.jabref.logic.ai.util.MVStoreBase:
mvStore

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public void
protected String
protected String
public Optional<AiSummary>
private Map<String, String>
getMap(String libraryId)

public void
Inherited from org.jabref.logic.ai.util.MVStoreBase:
closecommit

Field Detail

JSON_MAPPERback to summary
private static final JsonMapper JSON_MAPPER

Constructor Detail

MVStoreSummariesRepositoryback to summary
public MVStoreSummariesRepository(NotificationService dialogService, Path path)

Method Detail

clearback to summary
public void clear(AiSummaryIdentifier summaryIdentifier)

Implements org.jabref.logic.ai.summarization.repositories.SummariesRepository.clear.

errorMessageForOpeningback to summary
protected String errorMessageForOpening()

Implements abstract org.jabref.logic.ai.util.MVStoreBase.errorMessageForOpening.

Annotations
@Override
errorMessageForOpeningLocalizedback to summary
protected String errorMessageForOpeningLocalized()

Implements abstract org.jabref.logic.ai.util.MVStoreBase.errorMessageForOpeningLocalized.

Annotations
@Override
getback to summary
public Optional<AiSummary> get(AiSummaryIdentifier summaryIdentifier)

Implements org.jabref.logic.ai.summarization.repositories.SummariesRepository.get.

getMapback to summary
private Map<String, String> getMap(String libraryId)
setback to summary
public void set(AiSummaryIdentifier summaryIdentifier, AiSummary aiSummary)

Implements org.jabref.logic.ai.summarization.repositories.SummariesRepository.set.