| Modifier and Type | Field and Description |
|---|---|
| private final AiService | |
| private final BooleanProperty | |
| private final ClipBoardManager | |
| private final StringProperty | |
| private final de. | |
| private final StringProperty | |
| private final de. | |
| private final DialogService | |
| private final BibEntryTypesManager | |
| private final BooleanProperty | |
| private final FileUpdateMonitor | |
| private final StringProperty | |
| private final de. | |
| private final de. | |
| private final GitHandlerRegistry | |
| private final StringProperty | |
| private final de. | |
| private final StringProperty | |
| private final de. | |
| private final JournalAbbreviationRepository | |
| private final boolean | |
| private static final Logger | |
| private final StringProperty | |
| private final StringProperty | |
| private final de. | |
| private final GuiPreferences | |
| private final BooleanProperty | |
| private final SharedDatabasePreferences | |
| private final StateManager | |
| private final LibraryTabContainer | |
| private final TaskExecutor | |
| private final StringProperty | |
| private final de. | |
| private final BooleanProperty |
| Access | Constructor and Description |
|---|---|
| public | SharedDatabaseLoginDialogViewModel(LibraryTabContainer tabContainer, DialogService dialogService, GuiPreferences preferences, AiService aiService, StateManager stateManager, BibEntryTypesManager entryTypesManager, FileUpdateMonitor fileUpdateMonitor, ClipBoardManager clipBoardManager, TaskExecutor taskExecutor, JournalAbbreviationRepository journalAbbreviationRepository, GitHandlerRegistry gitHandlerRegistry)
|
| Modifier and Type | Method and Description |
|---|---|
| public void | applyClipboardConnectionUrl()
Prefills the connection URL field from the clipboard, so a copied URL only has to be confirmed. |
| private void | |
| private void | |
| public BooleanProperty | |
| private String | |
| public StringProperty | |
| public de. | |
| public StringProperty | |
| public de. | |
| public BooleanProperty | |
| public StringProperty | |
| public de. | |
| public de. | |
| private void | handleSharedDatabaseConnectionSuccess(LibraryTab libraryTab, DBMSConnectionProperties connectionProperties, boolean shouldRememberPassword, boolean shouldAutosave, String autosavePath)
|
| public StringProperty | |
| public de. | |
| public boolean | |
| private boolean | |
| private boolean | |
| public StringProperty | |
| public void | openDatabase(Runnable onConnected)
Connects in the background after |
| private void | openSharedDatabase(DBMSConnectionProperties connectionProperties, boolean shouldRememberPassword, boolean shouldAutosave, String autosavePath, Runnable onConnected)
|
| public StringProperty | |
| public StringProperty | |
| public de. | |
| public BooleanProperty | |
| private void | setPreferences(DBMSConnectionProperties connectionProperties, boolean shouldRememberPassword, boolean shouldAutosave, String autosavePath)
|
| private void | showConnectionFailure(Exception exception, DBMSConnectionProperties connectionProperties, boolean shouldRememberPassword, boolean shouldAutosave, String autosavePath, Runnable onConnected)
|
| public void | |
| public StringProperty | |
| public de. | |
| public BooleanProperty |
| aiService | back to summary |
|---|---|
| private final AiService aiService | |
| autosave | back to summary |
|---|---|
| private final BooleanProperty autosave | |
| clipBoardManager | back to summary |
|---|---|
| private final ClipBoardManager clipBoardManager | |
| connectionUrl | back to summary |
|---|---|
| private final StringProperty connectionUrl | |
| connectionUrlValidator | back to summary |
|---|---|
| private final de. | |
| database | back to summary |
|---|---|
| private final StringProperty database | |
| databaseValidator | back to summary |
|---|---|
| private final de. | |
| dialogService | back to summary |
|---|---|
| private final DialogService dialogService | |
| entryTypesManager | back to summary |
|---|---|
| private final BibEntryTypesManager entryTypesManager | |
| expertMode | back to summary |
|---|---|
| private final BooleanProperty expertMode | |
| fileUpdateMonitor | back to summary |
|---|---|
| private final FileUpdateMonitor fileUpdateMonitor | |
| folder | back to summary |
|---|---|
| private final StringProperty folder | |
| folderValidator | back to summary |
|---|---|
| private final de. | |
| formValidator | back to summary |
|---|---|
| private final de. | |
| gitHandlerRegistry | back to summary |
|---|---|
| private final GitHandlerRegistry gitHandlerRegistry | |
| host | back to summary |
|---|---|
| private final StringProperty host | |
| hostValidator | back to summary |
|---|---|
| private final de. | |
| jdbcUrl | back to summary |
|---|---|
| private final StringProperty jdbcUrl | |
| jdbcUrlValidator | back to summary |
|---|---|
| private final de. | |
| journalAbbreviationRepository | back to summary |
|---|---|
| private final JournalAbbreviationRepository journalAbbreviationRepository | |
| keyringAvailable | back to summary |
|---|---|
| private final boolean keyringAvailable | |
| LOGGER | back to summary |
|---|---|
| private static final Logger LOGGER | |
| password | back to summary |
|---|---|
| private final StringProperty password | |
| port | back to summary |
|---|---|
| private final StringProperty port | |
| portValidator | back to summary |
|---|---|
| private final de. | |
| preferences | back to summary |
|---|---|
| private final GuiPreferences preferences | |
| rememberPassword | back to summary |
|---|---|
| private final BooleanProperty rememberPassword | |
| sharedDatabasePreferences | back to summary |
|---|---|
| private final SharedDatabasePreferences sharedDatabasePreferences | |
| stateManager | back to summary |
|---|---|
| private final StateManager stateManager | |
| tabContainer | back to summary |
|---|---|
| private final LibraryTabContainer tabContainer | |
| taskExecutor | back to summary |
|---|---|
| private final TaskExecutor taskExecutor | |
| user | back to summary |
|---|---|
| private final StringProperty user | |
| userValidator | back to summary |
|---|---|
| private final de. | |
| useSSL | back to summary |
|---|---|
| private final BooleanProperty useSSL | |
| SharedDatabaseLoginDialogViewModel | back to summary |
|---|---|
| public SharedDatabaseLoginDialogViewModel(LibraryTabContainer tabContainer, DialogService dialogService, GuiPreferences preferences, AiService aiService, StateManager stateManager, BibEntryTypesManager entryTypesManager, FileUpdateMonitor fileUpdateMonitor, ClipBoardManager clipBoardManager, TaskExecutor taskExecutor, JournalAbbreviationRepository journalAbbreviationRepository, GitHandlerRegistry gitHandlerRegistry) | |
| applyClipboardConnectionUrl | back to summary |
|---|---|
| public void applyClipboardConnectionUrl() Prefills the connection URL field from the clipboard, so a copied URL only has to be confirmed. | |
| applyConnectionUrl | back to summary |
|---|---|
| private void applyConnectionUrl(DBMSConnectionUrl url) | |
| applyPreferences | back to summary |
|---|---|
| private void applyPreferences() Fetches possibly saved data and configures the control elements respectively. | |
| autosaveProperty | back to summary |
|---|---|
| public BooleanProperty autosaveProperty() | |
| connectionEndpoint | back to summary |
|---|---|
| private String connectionEndpoint(DBMSConnectionProperties connectionProperties) | |
| connectionUrlProperty | back to summary |
|---|---|
| public StringProperty connectionUrlProperty() | |
| connectionUrlValidation | back to summary |
|---|---|
| public de. | |
| databaseproperty | back to summary |
|---|---|
| public StringProperty databaseproperty() | |
| dbValidation | back to summary |
|---|---|
| public de. | |
| expertModeProperty | back to summary |
|---|---|
| public BooleanProperty expertModeProperty() | |
| folderProperty | back to summary |
|---|---|
| public StringProperty folderProperty() | |
| folderValidation | back to summary |
|---|---|
| public de. | |
| formValidation | back to summary |
|---|---|
| public de. | |
| handleSharedDatabaseConnectionSuccess | back to summary |
|---|---|
| private void handleSharedDatabaseConnectionSuccess(LibraryTab libraryTab, DBMSConnectionProperties connectionProperties, boolean shouldRememberPassword, boolean shouldAutosave, String autosavePath) | |
| hostProperty | back to summary |
|---|---|
| public StringProperty hostProperty() | |
| hostValidation | back to summary |
|---|---|
| public de. | |
| isKeyringAvailable | back to summary |
|---|---|
| public boolean isKeyringAvailable() | |
| isSharedDatabaseAlreadyPresent | back to summary |
|---|---|
| private boolean isSharedDatabaseAlreadyPresent(DBMSConnectionProperties connectionProperties) | |
| isValidJdbcUrl | back to summary |
|---|---|
| private boolean isValidJdbcUrl(String input) | |
| jdbcUrlProperty | back to summary |
|---|---|
| public StringProperty jdbcUrlProperty() | |
| openDatabase | back to summary |
|---|---|
| public void openDatabase(Runnable onConnected) Connects in the background after | |
| openSharedDatabase | back to summary |
|---|---|
| private void openSharedDatabase(DBMSConnectionProperties connectionProperties, boolean shouldRememberPassword, boolean shouldAutosave, String autosavePath, Runnable onConnected) | |
| passwordProperty | back to summary |
|---|---|
| public StringProperty passwordProperty() | |
| portProperty | back to summary |
|---|---|
| public StringProperty portProperty() | |
| portValidation | back to summary |
|---|---|
| public de. | |
| rememberPasswordProperty | back to summary |
|---|---|
| public BooleanProperty rememberPasswordProperty() | |
| setPreferences | back to summary |
|---|---|
| private void setPreferences(DBMSConnectionProperties connectionProperties, boolean shouldRememberPassword, boolean shouldAutosave, String autosavePath) | |
| showConnectionFailure | back to summary |
|---|---|
| private void showConnectionFailure(Exception exception, DBMSConnectionProperties connectionProperties, boolean shouldRememberPassword, boolean shouldAutosave, String autosavePath, Runnable onConnected) | |
| showSaveDbToFileDialog | back to summary |
|---|---|
| public void showSaveDbToFileDialog() | |
| userProperty | back to summary |
|---|---|
| public StringProperty userProperty() | |
| userValidation | back to summary |
|---|---|
| public de. | |
| useSSLProperty | back to summary |
|---|---|
| public BooleanProperty useSSLProperty() | |