| Modifier and Type | Field and Description |
|---|---|
| private final DialogService | |
| private final org.jabref.logic.importer.IdFetcher | |
| private static final Logger | |
| private final StateManager | |
| private final TaskExecutor |
| Access | Constructor and Description |
|---|---|
| public | LookupIdentifierAction(org.jabref.logic.importer.IdFetcher<T> fetcher, StateManager stateManager, DialogService dialogService, TaskExecutor taskExecutor)
|
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public Action | |
| private boolean | Returns: whether the entry gained an identifierLooks the identifier up for one entry and writes it, unless the entry already has one. |
| private String | |
| private void | lookUpIn(BibDatabaseContext databaseContext)
The journal and the entries are taken here rather than when the lookup runs: the work belongs to the library the user started on, the state manager replaces its selection when they switch away from it, and asking for a journal after that library closed would create one nothing can reach. |
| private void |
| dialogService | back to summary |
|---|---|
| private final DialogService dialogService | |
| fetcher | back to summary |
|---|---|
| private final org.jabref.logic.importer.IdFetcher<T> fetcher | |
| LOGGER | back to summary |
|---|---|
| private static final Logger LOGGER | |
| stateManager | back to summary |
|---|---|
| private final StateManager stateManager | |
| taskExecutor | back to summary |
|---|---|
| private final TaskExecutor taskExecutor | |
| LookupIdentifierAction | back to summary |
|---|---|
| public LookupIdentifierAction(org.jabref.logic.importer.IdFetcher<T> fetcher, StateManager stateManager, DialogService dialogService, TaskExecutor taskExecutor) | |
| execute | back to summary |
|---|---|
public void execute()
| |
| getAction | back to summary |
|---|---|
| public Action getAction() | |
| lookUpAndRecord | back to summary |
|---|---|
| private boolean lookUpAndRecord(BibEntry bibEntry, CompoundEdit compoundEdit) Looks the identifier up for one entry and writes it, unless the entry already has one.
| |
| lookupIdentifiers | back to summary |
|---|---|
| private String lookupIdentifiers(UndoManager undoManager, List<BibEntry> bibEntries) | |
| lookUpIn | back to summary |
|---|---|
| private void lookUpIn(BibDatabaseContext databaseContext) The journal and the entries are taken here rather than when the lookup runs: the work belongs to the library the user started on, the state manager replaces its selection when they switch away from it, and asking for a journal after that library closed would create one nothing can reach. | |
| notifyProgress | back to summary |
|---|---|
| private void notifyProgress(int count, String totalCount, int foundCount) | |