| Modifier and Type | Field and Description |
|---|---|
| private final ObservableList | |
| private final ObservableSet | |
| private final IntegerProperty | |
| private final BibDatabaseContext | |
| private final DialogService | |
| private final ObservableList | |
| private final BibEntryTypesManager | |
| private final Optional | |
| private final FileUpdateMonitor | |
| private final BooleanProperty | |
| private final BooleanProperty | |
| private static final Logger | |
| private final StringProperty | |
| private static final int | |
| private final ObservableList | |
| private ParserResult | |
| private final GuiPreferences | |
| private final Optional | |
| private final ObjectProperty | |
| private final StateManager | |
| private final TaskExecutor | |
| private final IntegerProperty | |
| private final UndoManager |
| Access | Constructor and Description |
|---|---|
| public | ImportEntriesViewModel(org.jabref.logic.util.BackgroundTask<ParserResult>
the task executed for parsing the selected files(s). task, TaskExecutor taskExecutor, BibDatabaseContext the database to import into databaseContext, DialogService dialogService, UndoManager undoManager, GuiPreferences preferences, StateManager stateManager, BibEntryTypesManager entryTypesManager, FileUpdateMonitor fileUpdateMonitor, Optional<SearchBasedFetcher> fetcher, Optional<String> query)
|
| Modifier and Type | Method and Description |
|---|---|
| public IntegerProperty | |
| public void | |
| private Optional | Returns: A possible duplicate, if any, or null if none were found.The entry to search for duplicates of. entry)Checks if there are duplicates to the given entry in the list of entries to be imported. |
| public ObservableList | |
| public ObservableSet | |
| public ObservableList | |
| public String | |
| public BibDatabaseContext | |
| public String | |
| public void | |
| public void | |
| public boolean | |
| public boolean | |
| public boolean | |
| public void | importEntries(List<BibEntry>
subset of the entries contained in parserResult entriesToImport, boolean shouldDownloadFiles)Called after the user selected the entries to import. |
| public void | importEntries(List<BibEntry> entriesToImport, boolean shouldDownloadFiles, @Nullable String
name of a group the imported entries are additionally assigned to. If it is non-blank and no group with that name exists yet, it is created as a top-level explicit group. A blank/null value assigns no group. targetGroup)
|
| public BooleanProperty | |
| private boolean | |
| public void | |
| public BooleanProperty | |
| public StringProperty | |
| public ObjectProperty | |
| public IntegerProperty | |
| private void | |
| public void |
| allEntries | back to summary |
|---|---|
| private final ObservableList<BibEntry> allEntries | |
| checkedEntries | back to summary |
|---|---|
| private final ObservableSet<BibEntry> checkedEntries | |
| currentPageProperty | back to summary |
|---|---|
| private final IntegerProperty currentPageProperty | |
| databaseContext | back to summary |
|---|---|
| private final BibDatabaseContext databaseContext | |
| dialogService | back to summary |
|---|---|
| private final DialogService dialogService | |
| entries | back to summary |
|---|---|
| private final ObservableList<BibEntry> entries | |
| entryTypesManager | back to summary |
|---|---|
| private final BibEntryTypesManager entryTypesManager | |
| fetcher | back to summary |
|---|---|
| private final Optional<SearchBasedFetcher> fetcher | |
| fileUpdateMonitor | back to summary |
|---|---|
| private final FileUpdateMonitor fileUpdateMonitor | |
| initialLoadComplete | back to summary |
|---|---|
| private final BooleanProperty initialLoadComplete | |
| loading | back to summary |
|---|---|
| private final BooleanProperty loading | |
| LOGGER | back to summary |
|---|---|
| private static final Logger LOGGER | |
| message | back to summary |
|---|---|
| private final StringProperty message | |
| PAGE_SIZE | back to summary |
|---|---|
| private static final int PAGE_SIZE | |
| pagedEntries | back to summary |
|---|---|
| private final ObservableList<BibEntry> pagedEntries | |
| parserResult | back to summary |
|---|---|
| private ParserResult parserResult | |
| preferences | back to summary |
|---|---|
| private final GuiPreferences preferences | |
| query | back to summary |
|---|---|
| private final Optional<String> query | |
| selectedDb | back to summary |
|---|---|
| private final ObjectProperty<BibDatabaseContext> selectedDb | |
| stateManager | back to summary |
|---|---|
| private final StateManager stateManager | |
| taskExecutor | back to summary |
|---|---|
| private final TaskExecutor taskExecutor | |
| totalPagesProperty | back to summary |
|---|---|
| private final IntegerProperty totalPagesProperty | |
| undoManager | back to summary |
|---|---|
| private final UndoManager undoManager | |
| ImportEntriesViewModel | back to summary |
|---|---|
public ImportEntriesViewModel(org.jabref.logic.util.BackgroundTask<ParserResult> task, TaskExecutor taskExecutor, BibDatabaseContext databaseContext, DialogService dialogService, UndoManager undoManager, GuiPreferences preferences, StateManager stateManager, BibEntryTypesManager entryTypesManager, FileUpdateMonitor fileUpdateMonitor, Optional<SearchBasedFetcher> fetcher, Optional<String> query)
| |
| currentPageProperty | back to summary |
|---|---|
| public IntegerProperty currentPageProperty() | |
| fetchMoreEntries | back to summary |
|---|---|
| public void fetchMoreEntries() | |
| findInternalDuplicate | back to summary |
|---|---|
| private Optional Checks if there are duplicates to the given entry in the list of entries to be imported. | |
| getAllEntries | back to summary |
|---|---|
| public ObservableList | |
| getCheckedEntries | back to summary |
|---|---|
| public ObservableSet | |
| getEntries | back to summary |
|---|---|
| public ObservableList | |
| getMessage | back to summary |
|---|---|
| public String getMessage() | |
| getSelectedDb | back to summary |
|---|---|
| public BibDatabaseContext getSelectedDb() | |
| getSourceString | back to summary |
|---|---|
| public String getSourceString(BibEntry entry) | |
| goToNextPage | back to summary |
|---|---|
| public void goToNextPage() | |
| goToPrevPage | back to summary |
|---|---|
| public void goToPrevPage() | |
| hasDuplicate | back to summary |
|---|---|
| public boolean hasDuplicate(BibEntry entry) | |
| hasNextPage | back to summary |
|---|---|
| public boolean hasNextPage() | |
| hasPrevPage | back to summary |
|---|---|
| public boolean hasPrevPage() | |
| importEntries | back to summary |
|---|---|
| public void importEntries(List<BibEntry> entriesToImport, boolean shouldDownloadFiles) Called after the user selected the entries to import. Does the real import stuff. | |
| importEntries | back to summary |
|---|---|
| public void importEntries(List<BibEntry> entriesToImport, boolean shouldDownloadFiles, @Nullable String targetGroup) | |
| initialLoadCompleteProperty | back to summary |
|---|---|
| public BooleanProperty initialLoadCompleteProperty() | |
| isFromWebSearch | back to summary |
|---|---|
| private boolean isFromWebSearch() | |
| loadEntries | back to summary |
|---|---|
| public void loadEntries(List<BibEntry> entries) | |
| loadingProperty | back to summary |
|---|---|
| public BooleanProperty loadingProperty() | |
| messageProperty | back to summary |
|---|---|
| public StringProperty messageProperty() | |
| selectedDbProperty | back to summary |
|---|---|
| public ObjectProperty | |
| totalPagesProperty | back to summary |
|---|---|
| public IntegerProperty totalPagesProperty() | |
| updatePagedEntries | back to summary |
|---|---|
| private void updatePagedEntries() | |
| updateTotalPages | back to summary |
|---|---|
| public void updateTotalPages() | |