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.reporting |
Deprecated
|
Modifier and Type | Method and Description |
---|---|
PersonAttributeType |
PersonAttribute.getAttributeType() |
Modifier and Type | Method and Description |
---|---|
int |
PersonAttributeType.compareTo(PersonAttributeType other) |
PersonAttribute |
Person.getAttribute(PersonAttributeType pat)
Convenience Method to return the first non-voided person attribute matching a person
attribute type.
|
java.util.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,
java.lang.String value)
Constructor for creating a basic attribute
|
Modifier and Type | Method and Description |
---|---|
PersonAttributeType |
PersonService.getPersonAttributeType(java.lang.Integer typeId)
Get the PersonAttributeType given the type's PersonAttributeTypeId
|
PersonAttributeType |
PersonService.getPersonAttributeType(java.lang.String typeName)
Deprecated.
|
PersonAttributeType |
PersonService.getPersonAttributeTypeByName(java.lang.String typeName)
Get the PersonAttributeType given the type's name
|
PersonAttributeType |
PersonService.getPersonAttributeTypeByUuid(java.lang.String uuid)
Gets a person attribute type with the given uuid.
|
PersonAttributeType |
PersonService.retirePersonAttributeType(PersonAttributeType type,
java.lang.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 |
---|---|
java.util.List<PersonAttributeType> |
PersonService.getAllPersonAttributeTypes()
Get all PersonAttributeTypes in the database
|
java.util.List<PersonAttributeType> |
PersonService.getAllPersonAttributeTypes(boolean includeRetired)
Get all PersonAttributeTypes in the database with the option of including the retired types
|
java.util.List<PersonAttributeType> |
PersonService.getPersonAttributeTypes()
Deprecated.
|
java.util.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)
|
java.util.List<PersonAttributeType> |
PersonService.getPersonAttributeTypes(java.lang.String personType,
java.lang.String viewType)
Deprecated.
|
java.util.List<PersonAttributeType> |
PersonService.getPersonAttributeTypes(java.lang.String exactName,
java.lang.String format,
java.lang.Integer foreignKey,
java.lang.Boolean searchable)
Find person attribute types matching the given parameters.
|
Modifier and Type | Method and Description |
---|---|
void |
PersonService.createPersonAttributeType(PersonAttributeType type)
|
void |
PersonService.deletePersonAttributeType(PersonAttributeType type)
Deprecated.
replaced by #purgePersonAttributeType(PersonAttributeType)
|
Cohort |
PatientSetService.getPatientsHavingPersonAttribute(PersonAttributeType attribute,
java.lang.String value)
At least one of attribute and value must be non-null
|
void |
PersonService.purgePersonAttributeType(PersonAttributeType type)
Purges a PersonAttribute type from the database (cannot be undone)
|
PersonAttributeType |
PersonService.retirePersonAttributeType(PersonAttributeType type,
java.lang.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)
|
void |
PersonService.updatePersonAttributeType(PersonAttributeType type)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
PersonAttributeType |
PersonDAO.getPersonAttributeType(java.lang.Integer typeId) |
PersonAttributeType |
PersonDAO.getPersonAttributeTypeByUuid(java.lang.String uuid)
Auto generated method comment
|
PersonAttributeType |
PersonDAO.savePersonAttributeType(PersonAttributeType type) |
Modifier and Type | Method and Description |
---|---|
java.util.List<PersonAttributeType> |
PersonDAO.getAllPersonAttributeTypes(boolean includeRetired) |
java.util.List<PersonAttributeType> |
PersonDAO.getPersonAttributeTypes(java.lang.String exactName,
java.lang.String format,
java.lang.Integer foreignKey,
java.lang.Boolean searchable) |
Modifier and Type | Method and Description |
---|---|
void |
PersonDAO.deletePersonAttributeType(PersonAttributeType type) |
Cohort |
PatientSetDAO.getPatientsHavingPersonAttribute(PersonAttributeType attribute,
java.lang.String value) |
java.lang.String |
PersonDAO.getSavedPersonAttributeTypeName(PersonAttributeType personAttributeType)
Gets the value of name 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(java.lang.Integer typeId) |
PersonAttributeType |
HibernatePersonDAO.getPersonAttributeTypeByUuid(java.lang.String uuid) |
PersonAttributeType |
HibernatePersonDAO.savePersonAttributeType(PersonAttributeType type) |
Modifier and Type | Method and Description |
---|---|
java.util.List<PersonAttributeType> |
HibernatePersonDAO.getAllPersonAttributeTypes(boolean includeRetired) |
java.util.List<PersonAttributeType> |
HibernatePersonDAO.getPersonAttributeTypes(java.lang.String exactName,
java.lang.String format,
java.lang.Integer foreignKey,
java.lang.Boolean searchable) |
Modifier and Type | Method and Description |
---|---|
void |
HibernatePersonDAO.deletePersonAttributeType(PersonAttributeType type) |
Cohort |
HibernatePatientSetDAO.getPatientsHavingPersonAttribute(PersonAttributeType attribute,
java.lang.String value) |
java.lang.String |
HibernatePersonDAO.getSavedPersonAttributeTypeName(PersonAttributeType personAttributeType) |
PersonAttributeType |
HibernatePersonDAO.savePersonAttributeType(PersonAttributeType type) |
Modifier and Type | Method and Description |
---|---|
PersonAttributeType |
PersonServiceImpl.getPersonAttributeType(java.lang.Integer typeId) |
PersonAttributeType |
PersonServiceImpl.getPersonAttributeType(java.lang.String s)
Deprecated.
|
PersonAttributeType |
PersonServiceImpl.getPersonAttributeTypeByName(java.lang.String typeName) |
PersonAttributeType |
PersonServiceImpl.getPersonAttributeTypeByUuid(java.lang.String uuid) |
PersonAttributeType |
PersonServiceImpl.retirePersonAttributeType(PersonAttributeType type,
java.lang.String retiredReason) |
PersonAttributeType |
PersonServiceImpl.savePersonAttributeType(PersonAttributeType type) |
Modifier and Type | Method and Description |
---|---|
java.util.List<PersonAttributeType> |
PersonServiceImpl.getAllPersonAttributeTypes() |
java.util.List<PersonAttributeType> |
PersonServiceImpl.getAllPersonAttributeTypes(boolean includeRetired) |
java.util.List<PersonAttributeType> |
PersonServiceImpl.getPersonAttributeTypes()
Deprecated.
|
java.util.List<PersonAttributeType> |
PersonServiceImpl.getPersonAttributeTypes(OpenmrsConstants.PERSON_TYPE personType,
PersonService.ATTR_VIEW_TYPE viewType) |
java.util.List<PersonAttributeType> |
PersonServiceImpl.getPersonAttributeTypes(java.lang.String personTypeStr,
java.lang.String displayTypeStr)
|
java.util.List<PersonAttributeType> |
PersonServiceImpl.getPersonAttributeTypes(java.lang.String exactName,
java.lang.String format,
java.lang.Integer foreignKey,
java.lang.Boolean searchable) |
Modifier and Type | Method and Description |
---|---|
void |
PersonServiceImpl.createPersonAttributeType(PersonAttributeType type)
Deprecated.
|
void |
PersonServiceImpl.deletePersonAttributeType(PersonAttributeType type)
Deprecated.
|
Cohort |
PatientSetServiceImpl.getPatientsHavingPersonAttribute(PersonAttributeType attribute,
java.lang.String value) |
void |
PersonServiceImpl.purgePersonAttributeType(PersonAttributeType type) |
PersonAttributeType |
PersonServiceImpl.retirePersonAttributeType(PersonAttributeType type,
java.lang.String retiredReason) |
PersonAttributeType |
PersonServiceImpl.savePersonAttributeType(PersonAttributeType type) |
void |
PersonServiceImpl.unretirePersonAttributeType(PersonAttributeType type) |
void |
PersonServiceImpl.updatePersonAttributeType(PersonAttributeType type)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
PersonAttributeType |
PersonAttributeFilter.getAttribute()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
PersonAttributeFilter.setAttribute(PersonAttributeType attribute)
Deprecated.
|
Copyright © 2018 OpenMRS Inc.. All Rights Reserved.