Verified Owner
Top Description Methods
org.jabref.model.groups

public Interface GroupEntryChanger

Known Direct Implementers
org.jabref.model.groups.WordKeywordGroup
Imports
java.util.Collection, .List, org.jabref.model.FieldChange, org.jabref.model.entry.BibEntry

Some groups can change entries so that they match (or no longer match) the group. This functionality is encoded in this interface.

Method Summary

Modifier and TypeMethod and Description
public List<FieldChange>

Returns:

If this group or one or more entries was/were modified as a result of this operation, a list of changes is returned.
add
(Collection<BibEntry> entriesToAdd)

Adds the specified entries to this group.

public default List<FieldChange>
add(BibEntry entryToAdd)

public List<FieldChange>

Returns:

If this group or one or more entries was/were modified as a result of this operation, a list of changes is returned.
remove
(List<BibEntry> entriesToRemove)

Removes the specified entries from this group.

public default List<FieldChange>
remove(BibEntry entryToAdd)

Method Detail

addback to summary
public List<FieldChange> add(Collection<BibEntry> entriesToAdd)

Adds the specified entries to this group.

Returns:List<FieldChange>

If this group or one or more entries was/were modified as a result of this operation, a list of changes is returned.

addback to summary
public default List<FieldChange> add(BibEntry entryToAdd)
removeback to summary
public List<FieldChange> remove(List<BibEntry> entriesToRemove)

Removes the specified entries from this group.

Returns:List<FieldChange>

If this group or one or more entries was/were modified as a result of this operation, a list of changes is returned.

removeback to summary
public default List<FieldChange> remove(BibEntry entryToAdd)