org.openmrs.api.handler
Class ConceptProposalHandler

java.lang.Object
  extended by org.openmrs.api.handler.ConceptProposalHandler
All Implemented Interfaces:
RequiredDataHandler<ConceptProposal>, SaveHandler<ConceptProposal>

@Handler(supports=ConceptProposal.class)
public class ConceptProposalHandler
extends java.lang.Object
implements SaveHandler<ConceptProposal>

This class deals with ConceptProposal objects when they are saved via a save* method in an Openmrs Service. This handler is automatically called by the RequiredDataAdvice AOP class.


Constructor Summary
ConceptProposalHandler()
           
 
Method Summary
 void handle(ConceptProposal cp, 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

ConceptProposalHandler

public ConceptProposalHandler()
Method Detail

handle

public void handle(ConceptProposal cp,
                   User creator,
                   java.util.Date dateCreated,
                   java.lang.String other)
Description copied from interface: SaveHandler
This method is used by the implementing classes to set any required data that it needs to.

Specified by:
handle in interface RequiredDataHandler<ConceptProposal>
Specified by:
handle in interface SaveHandler<ConceptProposal>
Parameters:
cp - an OpenmrsObject that needs to have some required data set
creator - the user who is saving this object
dateCreated - the datetime this object is being saved
other - (optional) would be the second argument in the save method, if exists
See Also:
SaveHandler.handle(org.openmrs.OpenmrsObject, org.openmrs.User, java.util.Date, java.lang.String)

OpenMRS-1.7.x

Generated Apr 27 2012 10:06 PM. NOTE - these libraries are in active development and subject to change