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 | |
org.openmrs.propertyeditor |
Modifier and Type | Method and Description |
---|---|
PersonAttributeType |
PersonAttribute.getAttributeType() |
Modifier and Type | Method and Description |
---|---|
int |
PersonAttributeType.DefaultComparator.compare(PersonAttributeType pat1,
PersonAttributeType pat2) |
int |
PersonAttributeType.compareTo(PersonAttributeType other)
Deprecated.
since 1.12. Use DefaultComparator instead.
Note: this comparator imposes orderings that are inconsistent with equals.
|
PersonAttribute |
Person.getAttribute(PersonAttributeType pat)
Convenience Method to return the first non-voided person attribute matching a person
attribute type.
|
List<PersonAttribute> |
Person.getAttributes(PersonAttributeType personAttributeType)
Convenience method to get all of this person's attributes that have a PersonAttributeType
equal to
personAttributeType . |
void |
PersonAttribute.setAttributeType(PersonAttributeType attributeType) |
Constructor and Description |
---|
PersonAttribute(PersonAttributeType type,
String value)
Constructor for creating a basic attribute
|
Modifier and Type | Method and Description |
---|---|
PersonAttributeType |
PersonService.getPersonAttributeType(Integer typeId)
Get the PersonAttributeType given the type's PersonAttributeTypeId
|
PersonAttributeType |
PersonService.getPersonAttributeTypeByName(String typeName)
Get the PersonAttributeType given the type's name
|
PersonAttributeType |
PersonService.getPersonAttributeTypeByUuid(String uuid)
Gets a person attribute type with the given uuid.
|
PersonAttributeType |
PersonService.retirePersonAttributeType(PersonAttributeType type,
String retiredReason)
Retire a Person Attribute Type
|
PersonAttributeType |
PersonService.savePersonAttributeType(PersonAttributeType type)
Save the given person attribute type in the database.
|
Modifier and Type | Method and Description |
---|---|
List<PersonAttributeType> |
PersonService.getAllPersonAttributeTypes()
Get all PersonAttributeTypes in the database
|
List<PersonAttributeType> |
PersonService.getAllPersonAttributeTypes(boolean includeRetired)
Get all PersonAttributeTypes in the database with the option of including the retired types
|
List<PersonAttributeType> |
PersonService.getPersonAttributeTypes(OpenmrsConstants.PERSON_TYPE personType,
PersonService.ATTR_VIEW_TYPE viewType)
Gets the types defined for the given person type (person, user, patient) and the given type
of view (one person vs many person objects)
|
List<PersonAttributeType> |
PersonService.getPersonAttributeTypes(String exactName,
String format,
Integer foreignKey,
Boolean searchable)
Find person attribute types matching the given parameters.
|
Modifier and Type | Method and Description |
---|---|
void |
PersonService.purgePersonAttributeType(PersonAttributeType type)
Purges a PersonAttribute type from the database (cannot be undone)
|
PersonAttributeType |
PersonService.retirePersonAttributeType(PersonAttributeType type,
String retiredReason)
Retire a Person Attribute Type
|
PersonAttributeType |
PersonService.savePersonAttributeType(PersonAttributeType type)
Save the given person attribute type in the database.
|
void |
PersonService.unretirePersonAttributeType(PersonAttributeType type)
Unretires a PersonAttribute type from the database (can be undone)
|
Modifier and Type | Method and Description |
---|---|
PersonAttributeType |
PersonDAO.getPersonAttributeType(Integer typeId) |
PersonAttributeType |
PersonDAO.getPersonAttributeTypeByUuid(String uuid) |
PersonAttributeType |
PersonDAO.savePersonAttributeType(PersonAttributeType type) |
Modifier and Type | Method and Description |
---|---|
List<PersonAttributeType> |
PersonDAO.getAllPersonAttributeTypes(boolean includeRetired) |
List<PersonAttributeType> |
PersonDAO.getPersonAttributeTypes(String exactName,
String format,
Integer foreignKey,
Boolean searchable) |
Modifier and Type | Method and Description |
---|---|
void |
PersonDAO.deletePersonAttributeType(PersonAttributeType type) |
String |
PersonDAO.getSavedPersonAttributeTypeName(PersonAttributeType personAttributeType)
Gets the value of name currently saved in the database for the given personAttributeType,
bypassing any caches.
|
Boolean |
PersonDAO.getSavedPersonAttributeTypeSearchable(PersonAttributeType personAttributeType)
Gets the value of the searchable property currently saved in the database for the given personAttributeType,
bypassing any caches.
|
PersonAttributeType |
PersonDAO.savePersonAttributeType(PersonAttributeType type) |
Modifier and Type | Method and Description |
---|---|
PersonAttributeType |
HibernatePersonDAO.getPersonAttributeType(Integer typeId) |
PersonAttributeType |
HibernatePersonDAO.getPersonAttributeTypeByUuid(String uuid) |
PersonAttributeType |
HibernatePersonDAO.savePersonAttributeType(PersonAttributeType type) |
Modifier and Type | Method and Description |
---|---|
List<PersonAttributeType> |
HibernatePersonDAO.getAllPersonAttributeTypes(boolean includeRetired) |
List<PersonAttributeType> |
HibernatePersonDAO.getPersonAttributeTypes(String exactName,
String format,
Integer foreignKey,
Boolean searchable) |
Modifier and Type | Method and Description |
---|---|
void |
HibernatePersonDAO.deletePersonAttributeType(PersonAttributeType type) |
String |
HibernatePersonDAO.getSavedPersonAttributeTypeName(PersonAttributeType personAttributeType) |
Boolean |
HibernatePersonDAO.getSavedPersonAttributeTypeSearchable(PersonAttributeType personAttributeType) |
PersonAttributeType |
HibernatePersonDAO.savePersonAttributeType(PersonAttributeType type) |
Modifier and Type | Method and Description |
---|---|
PersonAttributeType |
PersonServiceImpl.getPersonAttributeType(Integer typeId) |
PersonAttributeType |
PersonServiceImpl.getPersonAttributeTypeByName(String typeName) |
PersonAttributeType |
PersonServiceImpl.getPersonAttributeTypeByUuid(String uuid) |
PersonAttributeType |
PersonServiceImpl.retirePersonAttributeType(PersonAttributeType type,
String retiredReason) |
PersonAttributeType |
PersonServiceImpl.savePersonAttributeType(PersonAttributeType type) |
Modifier and Type | Method and Description |
---|---|
List<PersonAttributeType> |
PersonServiceImpl.getAllPersonAttributeTypes() |
List<PersonAttributeType> |
PersonServiceImpl.getAllPersonAttributeTypes(boolean includeRetired) |
List<PersonAttributeType> |
PersonServiceImpl.getPersonAttributeTypes(OpenmrsConstants.PERSON_TYPE personType,
PersonService.ATTR_VIEW_TYPE viewType) |
List<PersonAttributeType> |
PersonServiceImpl.getPersonAttributeTypes(String exactName,
String format,
Integer foreignKey,
Boolean searchable) |
Modifier and Type | Method and Description |
---|---|
void |
PersonServiceImpl.purgePersonAttributeType(PersonAttributeType type) |
PersonAttributeType |
PersonServiceImpl.retirePersonAttributeType(PersonAttributeType type,
String retiredReason) |
PersonAttributeType |
PersonServiceImpl.savePersonAttributeType(PersonAttributeType type) |
void |
PersonServiceImpl.unretirePersonAttributeType(PersonAttributeType type) |
Modifier and Type | Method and Description |
---|---|
protected PersonAttributeType |
PersonAttributeTypeEditor.getObjectById(Integer id) |
protected PersonAttributeType |
PersonAttributeTypeEditor.getObjectByUuid(String uuid) |
Copyright © 2024 OpenMRS Inc.. All rights reserved.