@Handler(supports=ConceptReferenceTerm.class) public class ConceptReferenceTermSaveHandler extends Object implements SaveHandler<ConceptReferenceTerm>
ConceptReferenceTerm objects when they are saved via a save* method
in an Openmrs Service. This handler is automatically called by the RequiredDataAdvice AOP
class. ConceptReferenceTermMapsRequiredDataHandler,
SaveHandler,
ConceptReferenceTerm| Constructor and Description |
|---|
ConceptReferenceTermSaveHandler() |
| Modifier and Type | Method and Description |
|---|---|
void |
handle(ConceptReferenceTerm conceptReferenceTerm,
User currentUser,
Date currentDate,
String other)
Sets the concept reference term as the term A for all the
ConceptReferenceTermMaps
added to it. |
public void handle(ConceptReferenceTerm conceptReferenceTerm, User currentUser, Date currentDate, String other)
ConceptReferenceTermMaps
added to it.handle in interface RequiredDataHandler<ConceptReferenceTerm>handle in interface SaveHandler<ConceptReferenceTerm>conceptReferenceTerm - an OpenmrsObject that needs to have some required data setcurrentUser - the user who is saving this objectcurrentDate - the datetime this object is being savedother - (optional) would be the second argument in the save method, if existsRequiredDataHandler.handle(org.openmrs.OpenmrsObject,
org.openmrs.User, java.util.Date, java.lang.String)Copyright © 2024 OpenMRS Inc.. All rights reserved.