Package org.openmetadata.service.jdbi3
Class GlossaryTermRepository.GlossaryTermUpdater
- java.lang.Object
-
- org.openmetadata.service.jdbi3.EntityRepository.EntityUpdater
-
- org.openmetadata.service.jdbi3.GlossaryTermRepository.GlossaryTermUpdater
-
- Enclosing class:
- GlossaryTermRepository
public class GlossaryTermRepository.GlossaryTermUpdater extends EntityRepository.EntityUpdater
Handles entity updated from PUT and POST operation.
-
-
Field Summary
-
Fields inherited from class org.openmetadata.service.jdbi3.EntityRepository.EntityUpdater
changeDescription, majorVersionChange, operation, original, updated, updatingUser
-
-
Constructor Summary
Constructors Constructor Description GlossaryTermUpdater(GlossaryTerm original, GlossaryTerm updated, EntityRepository.Operation operation)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidentitySpecificUpdate()voidupdateName(GlossaryTerm original, GlossaryTerm updated)protected voidupdateTags(String fqn, String fieldName, List<TagLabel> origTags, List<TagLabel> updatedTags)-
Methods inherited from class org.openmetadata.service.jdbi3.EntityRepository.EntityUpdater
fieldsChanged, isEntityRestored, recordChange, recordChange, recordChange, recordChange, recordListChange, storeUpdate, update, updatedByBot, updateFromRelationship, updateFromRelationships, updateToRelationship, updateToRelationships, updateVersion
-
-
-
-
Constructor Detail
-
GlossaryTermUpdater
public GlossaryTermUpdater(GlossaryTerm original, GlossaryTerm updated, EntityRepository.Operation operation)
-
-
Method Detail
-
entitySpecificUpdate
public void entitySpecificUpdate()
- Overrides:
entitySpecificUpdatein classEntityRepository.EntityUpdater
-
updateTags
protected void updateTags(String fqn, String fieldName, List<TagLabel> origTags, List<TagLabel> updatedTags)
- Overrides:
updateTagsin classEntityRepository.EntityUpdater
-
updateName
public void updateName(GlossaryTerm original, GlossaryTerm updated)
-
-