Verified Owner
Top Fields Constructors Methods
org.jabref.gui.ai

public Class AiPrivacyNoticeViewModel

extends AbstractViewModel
Class Inheritance
Imports
java.io.IOException, java.util.OptionalLong, javafx.beans.binding.Bindings, javafx.beans.property.ReadOnlyStringProperty, .SimpleStringProperty, .StringProperty, org.jabref.gui.AbstractViewModel, .DialogService, org.jabref.gui.desktop.os.NativeDesktop, org.jabref.gui.entryeditor.EntryEditorPreferences, .EntryEditorTabModel, org.jabref.gui.frame.ExternalApplicationsPreferences, org.jabref.gui.groups.GroupsPreferences, org.jabref.logic.ai.embedding.EmbeddingModelMetadata, .EmbeddingModelMetadataService, org.jabref.logic.ai.preferences.AiPreferences, org.apache.commons.io.FileUtils, org.slf4j.Logger, .LoggerFactory

Field Summary

Modifier and TypeField and Description
private final AiPreferences
private final DialogService
private final EmbeddingModelMetadataService
private final StringProperty
private final EntryEditorPreferences
private final ExternalApplicationsPreferences
private final GroupsPreferences
private static final Logger

Constructor Summary

AccessConstructor and Description
public
AiPrivacyNoticeViewModel(AiPreferences aiPreferences, ExternalApplicationsPreferences externalApplicationsPreferences, EntryEditorPreferences entryEditorPreferences, GroupsPreferences groupsPreferences, DialogService dialogService, EmbeddingModelMetadataService embeddingModelMetadataService)

Method Summary

Modifier and TypeMethod and Description
public ReadOnlyStringProperty
public void
public void
public void
private void

Field Detail

aiPreferencesback to summary
private final AiPreferences aiPreferences
dialogServiceback to summary
private final DialogService dialogService
embeddingModelMetadataServiceback to summary
private final EmbeddingModelMetadataService embeddingModelMetadataService
embeddingModelSizeback to summary
private final StringProperty embeddingModelSize
entryEditorPreferencesback to summary
private final EntryEditorPreferences entryEditorPreferences
externalApplicationsPreferencesback to summary
private final ExternalApplicationsPreferences externalApplicationsPreferences
groupsPreferencesback to summary
private final GroupsPreferences groupsPreferences
LOGGERback to summary
private static final Logger LOGGER

Constructor Detail

AiPrivacyNoticeViewModelback to summary
public AiPrivacyNoticeViewModel(AiPreferences aiPreferences, ExternalApplicationsPreferences externalApplicationsPreferences, EntryEditorPreferences entryEditorPreferences, GroupsPreferences groupsPreferences, DialogService dialogService, EmbeddingModelMetadataService embeddingModelMetadataService)

Method Detail

embeddingModelSizePropertyback to summary
public ReadOnlyStringProperty embeddingModelSizeProperty()
onPrivacyAgreeback to summary
public void onPrivacyAgree()
openBrowserback to summary
public void openBrowser(String link)
privacyDisagreeback to summary
public void privacyDisagree()
setupBindingsback to summary
private void setupBindings()