Package | Description |
---|---|
org.openmrs.aop |
This package contains the classes associated with Aspect Oriented Programming (AOP).
|
org.openmrs.api.handler |
Modifier and Type | Method and Description |
---|---|
static <H extends RequiredDataHandler<OpenmrsObject>> |
RequiredDataAdvice.recursivelyHandle(Class<H> handlerType,
OpenmrsObject openmrsObject,
String reason)
Convenience method for
RequiredDataAdvice.recursivelyHandle(Class, OpenmrsObject, User, Date, String, List) . |
static <H extends RequiredDataHandler<OpenmrsObject>> |
RequiredDataAdvice.recursivelyHandle(Class<H> handlerType,
OpenmrsObject openmrsObject,
User currentUser,
Date currentDate,
String other,
List<OpenmrsObject> alreadyHandled)
This loops over all declared collections on the given object and all declared collections on
parent objects to use the given
handlerType . |
static <H extends RequiredDataHandler<OpenmrsObject>> |
RequiredDataAdvice.recursivelyHandle(Class<H> handlerType,
OpenmrsObject openmrsObject,
User currentUser,
Date currentDate,
String other,
Set<OpenmrsObject> alreadyHandled)
This loops over all declared collections on the given object and all declared collections on
parent objects to use the given
handlerType . |
Modifier and Type | Method and Description |
---|---|
protected static boolean |
RequiredDataAdvice.isHandlerMarkedAsDisabled(Class<? extends RequiredDataHandler> handlerType,
Field field)
Checks if the given field is annotated with a @DisableHandler annotation to specify
that the given handlerType should be disabled
|
Modifier and Type | Interface and Description |
---|---|
interface |
RetireHandler<R extends Retireable>
This is the super interface for all retire* actions that take place on all services.
|
interface |
SaveHandler<O extends OpenmrsObject>
This is the super interface for all save* actions that take place on all services.
|
interface |
UnretireHandler<R extends Retireable>
This is the super interface for all unretire* actions that take place on all services.
|
interface |
UnvoidHandler<V extends Voidable>
This is the super interface for all unvoid* actions that take place on all services.
|
interface |
VoidHandler<V extends Voidable>
This is the super interface for all void* actions that take place on all services.
|
Modifier and Type | Class and Description |
---|---|
class |
BaseRetireHandler
This is the default class for all retire* actions that take place on all services.
|
class |
BaseUnretireHandler
This is the super interface for all unretire* actions that take place on all services.
|
class |
BaseUnvoidHandler
This is the super interface for all unvoid* actions that take place on all services.
|
class |
BaseVoidHandler
This is the super interface for all void* actions that take place on all services.
|
class |
ConceptNameSaveHandler
This class deals with
ConceptName objects when they are saved via a save* method in an
Openmrs Service. |
class |
ConceptProposalHandler
This class deals with
ConceptProposal objects when they are saved via a save* method in
an Openmrs Service. |
class |
ConceptReferenceTermSaveHandler
This class deals with
ConceptReferenceTerm objects when they are saved via a save* method
in an Openmrs Service. |
class |
ConceptSaveHandler
This class deals with
Concept objects when they are saved via a save* method in an
Openmrs Service. |
class |
OpenmrsMetadataSaveHandler
Is called when any
OpenmrsMetadata object is being saved. |
class |
OpenmrsObjectSaveHandler
This class deals with any object that implements
OpenmrsObject . |
class |
OrderSaveHandler
This class deals with
Order objects when they are saved via a save* method in an Openmrs
Service. |
class |
PatientDataUnvoidHandler
This class deals with
Patient objects when they are unvoided via the unvoid* method in an
Openmrs Service. |
class |
PatientDataVoidHandler
This class deals with
Patient objects when they are voided via a void* method in an
Openmrs Service. |
class |
PatientSaveHandler
This class deals with
Patient objects when they are saved via a save* method in an
Openmrs Service. |
class |
PersonNameSaveHandler
This is called every time a
PersonName object is saved. |
class |
PersonSaveHandler
This class deals with
Person objects when they are saved via a save* method in an Openmrs
Service. |
class |
PersonUnvoidHandler
This class unsets the personVoid* attributes on the given
Person object when an unvoid*
method is called with this class. |
class |
PersonVoidHandler
This class sets the personVoid* attributes on the given
Person object when a void* method
is called with this class. |
class |
RequireVoidReasonSaveHandler
This handler makes sure the when a voided object is saved, that the reason field is entered for
supported objects Note: Obs is not included in the supported types because the ObsService handles
this explicitly
|
class |
RequireVoidReasonVoidHandler
This class ensures that the voidReason is non-null for supported object types
|
class |
RetireSaveHandler
This handler makes sure the when a retired object is saved with the retired bit set to true, the
other required values (like dateRetired and retiredBy) are filled in.
|
class |
UserSaveHandler
This class deals with
User objects when they are saved via a save* method in an Openmrs
Service. |
class |
VisitUnvoidHandler
This class sets the void attributes on the given
Visit object when an unvoid* method is
called with this class. |
class |
VisitVoidHandler
This class sets the void attributes on the given
Visit object when a void* method is
called with this class. |
class |
VoidSaveHandler
This handler makes sure the when a voided object is saved with the voided bit set to true, the
other required values (like dateVoided and voidedBy) are filled in.
|
Copyright © 2024 OpenMRS Inc.. All rights reserved.