Package | Description |
---|---|
org.openmrs |
These classes represent the core domain objects for the OpenMRS project.
|
org.openmrs.api |
The primary OpenMRS API interfaces.
|
org.openmrs.api.db |
OpenMRS database layer interfaces.
|
org.openmrs.api.db.hibernate |
Resources for Hibernate ORM.
|
org.openmrs.api.impl |
Modifier and Type | Field and Description |
---|---|
protected Field |
FormField.field |
Modifier and Type | Method and Description |
---|---|
Field |
FormField.getField() |
Field |
FieldAnswer.getField() |
Modifier and Type | Method and Description |
---|---|
void |
FormField.setField(Field field) |
void |
FieldAnswer.setField(Field field) |
Modifier and Type | Method and Description |
---|---|
Field |
FormService.getField(Integer fieldId)
Gets a Field by internal database id
|
Field |
FormService.getFieldByUuid(String uuid)
Get Field by its UUID
|
Field |
FormService.retireField(Field field)
Retires field
|
Field |
FormService.saveField(Field field)
Creates or updates the given Field
|
Field |
FormService.unretireField(Field field)
Unretires field
|
Modifier and Type | Method and Description |
---|---|
List<Field> |
FormService.getAllFields()
Fetches all Fields in the database, including retired ones
|
List<Field> |
FormService.getAllFields(boolean includeRetired)
Fetches all Fields in the database, possibly including retired ones
|
List<Field> |
FormService.getFields(Collection<Form> forms,
Collection<FieldType> fieldTypes,
Collection<Concept> concepts,
Collection<String> tableNames,
Collection<String> attributeNames,
Boolean selectMultiple,
Collection<FieldAnswer> containsAllAnswers,
Collection<FieldAnswer> containsAnyAnswer,
Boolean retired)
Returns all Fields that match these (nullable) criteria
|
List<Field> |
FormService.getFields(String fuzzySearchPhrase)
Find all Fields whose names are similar to or contain the given phrase.
|
List<Field> |
FormService.getFieldsByConcept(Concept concept)
Finds all Fields that point to the given concept, including retired ones.
|
Modifier and Type | Method and Description |
---|---|
void |
FormService.purgeField(Field field)
Completely removes a Field from the database.
|
void |
FormService.purgeField(Field field,
boolean cascade)
Completely removes a Field from the database.
|
Field |
FormService.retireField(Field field)
Retires field
|
Field |
FormService.saveField(Field field)
Creates or updates the given Field
|
Field |
FormService.unretireField(Field field)
Unretires field
|
Modifier and Type | Method and Description |
---|---|
Integer |
FormService.getFormCount(String partialNameSearch,
Boolean published,
Collection<EncounterType> encounterTypes,
Boolean retired,
Collection<FormField> containingAnyFormField,
Collection<FormField> containingAllFormFields,
Collection<Field> fields)
Same as
FormService.getForms(String, Boolean, Collection, Boolean, Collection, Collection, Collection)
except that it returns an integer that is the size of the list that would be returned |
List<Form> |
FormService.getForms(String partialNameSearch,
Boolean published,
Collection<EncounterType> encounterTypes,
Boolean retired,
Collection<FormField> containingAnyFormField,
Collection<FormField> containingAllFormFields,
Collection<Field> fields)
Gets all forms that match all the (nullable) criteria
|
Modifier and Type | Method and Description |
---|---|
Field |
FormDAO.getField(Integer fieldId) |
Field |
FormDAO.getFieldByUuid(String uuid) |
Field |
FormDAO.saveField(Field field) |
Modifier and Type | Method and Description |
---|---|
List<Field> |
FormDAO.getAllFields(boolean includeRetired)
Returns all fields in the database, possibly including retired ones
|
List<Field> |
FormDAO.getFields(Collection<Form> forms,
Collection<FieldType> fieldTypes,
Collection<Concept> concepts,
Collection<String> tableNames,
Collection<String> attributeNames,
Boolean selectMultiple,
Collection<FieldAnswer> containsAllAnswers,
Collection<FieldAnswer> containsAnyAnswer,
Boolean retired)
Returns all fields that match a broad range of (nullable) criteria
|
List<Field> |
FormDAO.getFields(String search) |
Modifier and Type | Method and Description |
---|---|
void |
FormDAO.deleteField(Field field)
Deletes a field from the database.
|
List<FormField> |
FormDAO.getFormFieldsByField(Field field)
Return a list of FormFields given a Field
|
Field |
FormDAO.saveField(Field field) |
Modifier and Type | Method and Description |
---|---|
Integer |
FormDAO.getFormCount(String partialName,
Boolean published,
Collection<EncounterType> encounterTypes,
Boolean retired,
Collection<FormField> containingAnyFormField,
Collection<FormField> containingAllFormFields,
Collection<Field> fields) |
List<Form> |
FormDAO.getForms(String partialName,
Boolean published,
Collection<EncounterType> encounterTypes,
Boolean retired,
Collection<FormField> containingAnyFormField,
Collection<FormField> containingAllFormFields,
Collection<Field> fields)
Gets all forms that match all the criteria.
|
Modifier and Type | Method and Description |
---|---|
Field |
HibernateFormDAO.getField(Integer fieldId) |
Field |
HibernateFormDAO.getFieldByUuid(String uuid) |
Field |
HibernateFormDAO.saveField(Field field) |
Modifier and Type | Method and Description |
---|---|
List<Field> |
HibernateFormDAO.getAllFields(boolean includeRetired) |
List<Field> |
HibernateFormDAO.getFields(Collection<Form> forms,
Collection<FieldType> fieldTypes,
Collection<Concept> concepts,
Collection<String> tableNames,
Collection<String> attributeNames,
Boolean selectMultiple,
Collection<FieldAnswer> containsAllAnswers,
Collection<FieldAnswer> containsAnyAnswer,
Boolean retired) |
List<Field> |
HibernateFormDAO.getFields(String search) |
List<Field> |
HibernateFormDAO.getFieldsByConcept(Concept concept) |
Modifier and Type | Method and Description |
---|---|
void |
HibernateFormDAO.deleteField(Field field) |
List<FormField> |
HibernateFormDAO.getFormFieldsByField(Field field) |
Field |
HibernateFormDAO.saveField(Field field) |
Modifier and Type | Method and Description |
---|---|
Integer |
HibernateFormDAO.getFormCount(String partialName,
Boolean published,
Collection<EncounterType> encounterTypes,
Boolean retired,
Collection<FormField> containingAnyFormField,
Collection<FormField> containingAllFormFields,
Collection<Field> fields) |
List<Form> |
HibernateFormDAO.getForms(String partialName,
Boolean published,
Collection<EncounterType> encounterTypes,
Boolean retired,
Collection<FormField> containingAnyFormField,
Collection<FormField> containingAllFormFields,
Collection<Field> fields) |
Modifier and Type | Method and Description |
---|---|
Field |
FormServiceImpl.getField(Integer fieldId) |
Field |
FormServiceImpl.getFieldByUuid(String uuid) |
Field |
FormServiceImpl.retireField(Field field) |
Field |
FormServiceImpl.saveField(Field field) |
Field |
FormServiceImpl.unretireField(Field field) |
Modifier and Type | Method and Description |
---|---|
List<Field> |
FormServiceImpl.getAllFields() |
List<Field> |
FormServiceImpl.getAllFields(boolean includeRetired) |
List<Field> |
FormServiceImpl.getFields(Collection<Form> forms,
Collection<FieldType> fieldTypes,
Collection<Concept> concepts,
Collection<String> tableNames,
Collection<String> attributeNames,
Boolean selectMultiple,
Collection<FieldAnswer> containsAllAnswers,
Collection<FieldAnswer> containsAnyAnswer,
Boolean retired) |
List<Field> |
FormServiceImpl.getFields(String fuzzySearchPhrase) |
List<Field> |
FormServiceImpl.getFieldsByConcept(Concept concept) |
Modifier and Type | Method and Description |
---|---|
void |
FormServiceImpl.purgeField(Field field) |
void |
FormServiceImpl.purgeField(Field field,
boolean cascade) |
Field |
FormServiceImpl.retireField(Field field) |
Field |
FormServiceImpl.saveField(Field field) |
Field |
FormServiceImpl.unretireField(Field field) |
Modifier and Type | Method and Description |
---|---|
Integer |
FormServiceImpl.getFormCount(String partialName,
Boolean published,
Collection<EncounterType> encounterTypes,
Boolean retired,
Collection<FormField> containingAnyFormField,
Collection<FormField> containingAllFormFields,
Collection<Field> fields) |
List<Form> |
FormServiceImpl.getForms(String partialName,
Boolean published,
Collection<EncounterType> encounterTypes,
Boolean retired,
Collection<FormField> containingAnyFormField,
Collection<FormField> containingAllFormFields,
Collection<Field> fields) |
Copyright © 2024 OpenMRS Inc.. All rights reserved.