Package | Description |
---|---|
org.openmrs.api |
The primary OpenMRS API interfaces.
|
org.openmrs.api.impl | |
org.openmrs.customdatatype | |
org.openmrs.web.attribute | |
org.openmrs.web.attribute.handler |
Modifier and Type | Method and Description |
---|---|
CustomDatatypeHandler<?,?> |
DatatypeService.getHandler(CustomDatatype<?> datatype,
java.lang.String handlerConfig)
Gets the default handler for a
CustomDatatype , and sets its configuration
TODO probably remove the config argument since it doesn't make sense to let people provide handlerConfig to the default handler. |
Modifier and Type | Method and Description |
---|---|
java.util.Set<java.lang.Class<? extends CustomDatatypeHandler<?,?>>> |
DatatypeService.getAllHandlerClasses() |
java.util.List<java.lang.Class<? extends CustomDatatypeHandler>> |
DatatypeService.getHandlerClasses(java.lang.Class<? extends CustomDatatype<?>> datatypeClass) |
Modifier and Type | Method and Description |
---|---|
CustomDatatypeHandler<?,?> |
DatatypeServiceImpl.getHandler(CustomDatatype<?> datatype,
java.lang.String handlerConfig) |
Modifier and Type | Method and Description |
---|---|
java.util.Set<java.lang.Class<? extends CustomDatatypeHandler<?,?>>> |
DatatypeServiceImpl.getAllHandlerClasses() |
java.util.List<java.lang.Class<? extends CustomDatatypeHandler>> |
DatatypeServiceImpl.getHandlerClasses(java.lang.Class<? extends CustomDatatype<?>> datatype) |
Modifier and Type | Interface and Description |
---|---|
interface |
DownloadableDatatypeHandler<T>
Indicates that a CustomDatatypeHandler allows underlying custom values to be downloaded or streamed in some
meaningful way.
|
Modifier and Type | Method and Description |
---|---|
static CustomDatatypeHandler |
CustomDatatypeUtil.getHandler(CustomDatatype<?> dt,
java.lang.String preferredHandlerClassname,
java.lang.String handlerConfig) |
static CustomDatatypeHandler |
CustomDatatypeUtil.getHandler(CustomValueDescriptor descriptor) |
Modifier and Type | Method and Description |
---|---|
static boolean |
CustomDatatypeUtil.isCompatibleHandler(CustomDatatypeHandler handler,
CustomDatatype<?> datatype) |
Modifier and Type | Method and Description |
---|---|
static <T> T |
WebAttributeUtil.getValue(javax.servlet.http.HttpServletRequest request,
CustomDatatype<T> dt,
CustomDatatypeHandler<CustomDatatype<T>,T> handler,
java.lang.String paramName)
Gets the value of an attribute out of an HTTP request, treating it according to the appropriate handler type.
|
Modifier and Type | Interface and Description |
---|---|
interface |
FieldGenDatatypeHandler<DT extends CustomDatatype<T>,T>
A web-layer extension of a
CustomDatatypeHandler , which also defines what fieldgen widget is used to
collect the values, and how to fetch them from a web request. |
interface |
HtmlDisplayableDatatypeHandler<T>
A CustomDatatypeHandler that is capable of producing HTML output for display
|
interface |
WebDatatypeHandler<DT extends CustomDatatype<T>,T>
A web-layer extension of
CustomDatatypeHandler , which generates the HTML for a widget, and handles the submission of that widget |
Modifier and Type | Class and Description |
---|---|
class |
BooleanFieldGenDatatypeHandler
Handler for the boolean custom datatype
|
class |
DateFieldGenDatatypeHandler
A fieldgen version of a
DateAttributeHandler that uses the standard Date picker widget. |
class |
LongFreeTextFileUploadHandler
Handler for the
LongFreeTextDatatype that displays as a file upload input. |
class |
LongFreeTextTextareaHandler
Handler for the
LongFreeTextDatatype that displays as a textarea. |
Copyright © 2018 OpenMRS Inc.. All Rights Reserved.