Verified Owner
Top Fields Constructors Methods
org.jabref.logic.citation.repository

public Class BibEntryCitationsAndReferencesRepositoryShell

extends MVStoreBase
implements BibEntryCitationsAndReferencesRepository
Class Inheritance
All Implemented Interfaces
org.jabref.logic.citation.repository.BibEntryCitationsAndReferencesRepository
Annotations
@NullMarked
Imports
java.nio.file.Path, java.util.List, .Objects, javafx.beans.property.ObjectProperty, org.jabref.logic.ai.util.MVStoreBase, org.jabref.logic.bibtex.FieldPreferences, org.jabref.logic.importer.ImportFormatPreferences, org.jabref.logic.importer.fetcher.citation.CitationFetcherType, org.jabref.logic.l10n.Localization, org.jabref.logic.util.NotificationService, org.jabref.model.entry.BibEntry, .BibEntryTypesManager, com.google.common.annotations.VisibleForTesting, org.jspecify.annotations.NullMarked, .Nullable, org.slf4j.Logger, .LoggerFactory

Field Summary

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

Constructor Summary

AccessConstructor and Description
public
BibEntryCitationsAndReferencesRepositoryShell(Path citationsRelationsDirectory, int storeTTL, ImportFormatPreferences importFormatPreferences, FieldPreferences fieldPreferences, BibEntryTypesManager entryTypesManager, ObjectProperty<CitationFetcherType> citationFetcherTypeProperty, NotificationService notificationService)

public

Method Summary

Modifier and TypeMethod and Description
public void
public void
public boolean
public boolean
protected String
protected String
public List<BibEntry>
public List<BibEntry>
public boolean
public boolean
Inherited from org.jabref.logic.ai.util.MVStoreBase:
closecommit

Field Detail

CITATION_RELATIONS_STOREback to summary
private static final String CITATION_RELATIONS_STORE
citationsDaoback to summary
private final BibEntryRelationRepository citationsDao
LOGGERback to summary
private static final Logger LOGGER

Hides org.jabref.logic.ai.util.MVStoreBase.LOGGER.

referencesDaoback to summary
private final BibEntryRelationRepository referencesDao

Constructor Detail

BibEntryCitationsAndReferencesRepositoryShellback to summary
public BibEntryCitationsAndReferencesRepositoryShell(Path citationsRelationsDirectory, int storeTTL, ImportFormatPreferences importFormatPreferences, FieldPreferences fieldPreferences, BibEntryTypesManager entryTypesManager, ObjectProperty<CitationFetcherType> citationFetcherTypeProperty, NotificationService notificationService)
BibEntryCitationsAndReferencesRepositoryShellback to summary
public BibEntryCitationsAndReferencesRepositoryShell(BibEntryRelationRepository citationsDao, BibEntryRelationRepository referencesDao)
Annotations
@VisibleForTesting

Method Detail

addCitationsback to summary
public void addCitations(BibEntry entry, List<BibEntry> citations)

Implements org.jabref.logic.citation.repository.BibEntryCitationsAndReferencesRepository.addCitations.

Doc from org.jabref.logic.citation.repository.BibEntryCitationsAndReferencesRepository.addCitations.

Insert "cited by"

Annotations
@Override
addReferencesback to summary
public void addReferences(BibEntry entry, @Nullable List<BibEntry> references)

Implements org.jabref.logic.citation.repository.BibEntryCitationsAndReferencesRepository.addReferences.

Doc from org.jabref.logic.citation.repository.BibEntryCitationsAndReferencesRepository.addReferences.

Insert "citing"

Annotations
@Override
containsCitationsback to summary
public boolean containsCitations(BibEntry entry)

Implements org.jabref.logic.citation.repository.BibEntryCitationsAndReferencesRepository.containsCitations.

Annotations
@Override
containsReferencesback to summary
public boolean containsReferences(BibEntry entry)

Implements org.jabref.logic.citation.repository.BibEntryCitationsAndReferencesRepository.containsReferences.

Annotations
@Override
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
getCitationsback to summary
public List<BibEntry> getCitations(@Nullable BibEntry entry)

Implements org.jabref.logic.citation.repository.BibEntryCitationsAndReferencesRepository.getCitations.

Annotations
@Override
getReferencesback to summary
public List<BibEntry> getReferences(@Nullable BibEntry entry)

Implements org.jabref.logic.citation.repository.BibEntryCitationsAndReferencesRepository.getReferences.

Annotations
@Override
isCitationsUpdatableback to summary
public boolean isCitationsUpdatable(BibEntry entry)

Implements org.jabref.logic.citation.repository.BibEntryCitationsAndReferencesRepository.isCitationsUpdatable.

Annotations
@Override
isReferencesUpdatableback to summary
public boolean isReferencesUpdatable(BibEntry entry)

Implements org.jabref.logic.citation.repository.BibEntryCitationsAndReferencesRepository.isReferencesUpdatable.

Annotations
@Override