Interface TermUpdate
- All Known Implementing Classes:
TermUpdateImpl
public interface TermUpdate
Collection of changes made to terms (labels, descriptions, ...).
-
Field Summary
Modifier and TypeFieldDescriptionstatic final TermUpdate
Empty update that does not alter or remove any terms. -
Method Summary
Modifier and TypeMethodDescriptionReturns terms added or modified in this update.Returns language codes of terms removed in this update.boolean
isEmpty()
Checks whether the update is empty.
-
Field Details
-
EMPTY
Empty update that does not alter or remove any terms.
-
-
Method Details
-
isEmpty
boolean isEmpty()Checks whether the update is empty. Empty update will not change or remove any terms.- Returns:
true
if the update is empty,false
otherwise
-
getModified
Map<String,MonolingualTextValue> getModified()Returns terms added or modified in this update. Existing terms are preserved if their language code is not listed here.- Returns:
- added or modified terms indexed by language code
-
getRemoved
Returns language codes of terms removed in this update.- Returns:
- language codes of removed terms
-