Top Fields Constructors Methods
org.jabref.model.database

public Class KeyChangeListener

extends Object
Class Inheritance
Imports
java.util.ArrayList, .Arrays, .List, .Optional, org.jabref.model.database.event.EntriesRemovedEvent, org.jabref.model.entry.BibEntry, org.jabref.model.entry.event.FieldChangedEvent, org.jabref.model.entry.field.Field, .FieldProperty, .InternalField, com.google.common.eventbus.Subscribe

Field Summary

Modifier and TypeField and Description
private final BibDatabase

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public void
public void
private void
replaceKeyInMultiplesKeyField(String newKey, String oldKey, BibEntry entry, Field field, String fieldContent)

private void
replaceSingleKeyInField(String newKey, String oldKey, BibEntry entry, Field field, String fieldContent)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

databaseback to summary
private final BibDatabase database

Constructor Detail

KeyChangeListenerback to summary
public KeyChangeListener(BibDatabase database)

Method Detail

listenback to summary
public void listen(FieldChangedEvent event)
Annotations
@Subscribe
listenback to summary
public void listen(EntriesRemovedEvent event)
Annotations
@Subscribe
replaceKeyInMultiplesKeyFieldback to summary
private void replaceKeyInMultiplesKeyField(String newKey, String oldKey, BibEntry entry, Field field, String fieldContent)
replaceSingleKeyInFieldback to summary
private void replaceSingleKeyInField(String newKey, String oldKey, BibEntry entry, Field field, String fieldContent)