|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.openmrs.api.handler.ConceptSaveHandler
@Handler(supports=Concept.class) public class ConceptSaveHandler
This class deals with Concept
objects when they are saved via a save* method in an
Openmrs Service. This handler is automatically called by the RequiredDataAdvice
AOP
class.
RequiredDataHandler
,
SaveHandler
,
Concept
Constructor Summary | |
---|---|
ConceptSaveHandler()
|
Method Summary | |
---|---|
void |
handle(Concept concept,
User creator,
java.util.Date dateCreated,
java.lang.String other)
This method is used by the implementing classes to set any required data that it needs to. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ConceptSaveHandler()
Method Detail |
---|
public void handle(Concept concept, User creator, java.util.Date dateCreated, java.lang.String other)
SaveHandler
handle
in interface RequiredDataHandler<Concept>
handle
in interface SaveHandler<Concept>
concept
- an OpenmrsObject that needs to have some required data setcreator
- the user who is saving this objectdateCreated
- the datetime this object is being savedother
- (optional) would be the second argument in the save method, if existsSaveHandler.handle(org.openmrs.OpenmrsObject, org.openmrs.User,
java.util.Date, java.lang.String)
|
OpenMRS-1.7.x | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |