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.handler | |
org.openmrs.api.impl | |
org.openmrs.layout.name | |
org.openmrs.validator |
Modifier and Type | Method and Description |
---|---|
PersonName |
User.getPersonName() |
PersonName |
Person.getPersonName()
Convenience method to get the
PersonName object that is marked as "preferred". |
static PersonName |
PersonName.newInstance(PersonName pn)
Bitwise copy of the personName object.
|
Modifier and Type | Method and Description |
---|---|
Set<PersonName> |
User.getNames() |
Set<PersonName> |
Person.getNames() |
Modifier and Type | Method and Description |
---|---|
void |
User.addName(PersonName name) |
void |
Person.addName(PersonName name)
Convenience method to add the
name to this person's name list if the name
doesn't exist already. |
int |
PersonName.DefaultComparator.compare(PersonName pn1,
PersonName pn2) |
int |
PersonName.compareTo(PersonName other) |
boolean |
PersonName.equalsContent(PersonName otherName)
Compares this PersonName object to the given otherName.
|
static PersonName |
PersonName.newInstance(PersonName pn)
Bitwise copy of the personName object.
|
void |
Person.removeName(PersonName name)
Convenience method remove the
name from this person's name list if the name
exists already. |
Modifier and Type | Method and Description |
---|---|
void |
Person.setNames(Set<PersonName> names) |
Modifier and Type | Method and Description |
---|---|
PersonName |
PersonService.getPersonName(Integer personNameId)
Get PersonName by its personNameId
|
PersonName |
PersonService.getPersonNameByUuid(String uuid)
Get PersonName by its UUID
|
PersonName |
PersonService.parsePersonName(String name)
Parses a name into a PersonName (separate Given, Middle, and Family names)
|
PersonName |
PersonService.savePersonName(PersonName personName)
Inserts or updates the given personName object in the database
|
PersonName |
PersonService.unvoidPersonName(PersonName personName)
Unvoid PersonName in the database, effectively marking this as a valid personName again
|
PersonName |
PersonService.voidPersonName(PersonName personName,
String voidReason)
Voids the given PersonName, effectively deleting the name, from the end-user's point of view.
|
Modifier and Type | Method and Description |
---|---|
PersonName |
PersonService.savePersonName(PersonName personName)
Inserts or updates the given personName object in the database
|
PersonName |
PersonService.unvoidPersonName(PersonName personName)
Unvoid PersonName in the database, effectively marking this as a valid personName again
|
PersonName |
PersonService.voidPersonName(PersonName personName,
String voidReason)
Voids the given PersonName, effectively deleting the name, from the end-user's point of view.
|
Modifier and Type | Method and Description |
---|---|
PersonName |
PersonDAO.getPersonName(Integer personNameId) |
PersonName |
PersonDAO.getPersonNameByUuid(String uuid) |
PersonName |
PersonDAO.savePersonName(PersonName personName) |
Modifier and Type | Method and Description |
---|---|
PersonName |
PersonDAO.savePersonName(PersonName personName) |
Modifier and Type | Method and Description |
---|---|
PersonName |
HibernatePersonDAO.getPersonName(Integer personNameId) |
PersonName |
HibernatePersonDAO.getPersonNameByUuid(String uuid) |
PersonName |
HibernatePersonDAO.savePersonName(PersonName personName) |
Modifier and Type | Method and Description |
---|---|
LuceneQuery<PersonName> |
PersonLuceneQuery.getPatientNameQuery(String query,
boolean includeVoided) |
LuceneQuery<PersonName> |
PersonLuceneQuery.getPatientNameQuery(String query,
boolean includeVoided,
LuceneQuery<?> skipSame) |
LuceneQuery<PersonName> |
PersonLuceneQuery.getPatientNameQueryWithOrParser(String query,
boolean includeVoided) |
LuceneQuery<PersonName> |
PersonLuceneQuery.getPatientNameQueryWithOrParser(String query,
boolean includeVoided,
LuceneQuery<?> skipSame) |
LuceneQuery<PersonName> |
PersonLuceneQuery.getPersonNameQuery(String query,
boolean includeVoided) |
LuceneQuery<PersonName> |
PersonLuceneQuery.getPersonNameQuery(String query,
boolean includeVoided,
LuceneQuery<?> skipSame) |
LuceneQuery<PersonName> |
PersonLuceneQuery.getPersonNameQueryWithOrParser(String query,
boolean includeVoided) |
LuceneQuery<PersonName> |
PersonLuceneQuery.getPersonNameQueryWithOrParser(String query,
boolean includeVoided,
LuceneQuery<?> skipSame) |
LuceneQuery<PersonName> |
PersonLuceneQuery.getSoundexPersonNameQuery(String query,
Integer birthyear,
boolean includeVoided,
String gender)
The method creates a Lucene search query for a Person based on a soundex search on the givenName, familyNames and middleName
|
LuceneQuery<PersonName> |
PersonLuceneQuery.getSoundexPersonNameSearchOnNNames(String[] searchNames,
Integer birthyear,
boolean includeVoided,
String gender)
This method creates a Lucene search query for a Person based on a soundex search on n>3 names
|
LuceneQuery<PersonName> |
PersonLuceneQuery.getSoundexPersonNameSearchOnThreeNames(String n1,
String n2,
String n3,
Integer birthyear,
boolean includeVoided,
String gender)
This method creates a Lucene search query for a Person based on a soundex search on the first name
|
LuceneQuery<PersonName> |
PersonLuceneQuery.getSoundexPersonNameSearchOnTwoNames(String searchName1,
String searchName2,
Integer birthyear,
boolean includeVoided,
String gender)
This method creates a Lucene search query for a Person based on a soundex search
|
Modifier and Type | Method and Description |
---|---|
PersonName |
HibernatePersonDAO.savePersonName(PersonName personName) |
Modifier and Type | Method and Description |
---|---|
void |
PersonNameSaveHandler.handle(PersonName personName,
User creator,
Date dateCreated,
String other) |
Modifier and Type | Method and Description |
---|---|
PersonName |
PersonServiceImpl.getPersonName(Integer personNameId) |
PersonName |
PersonServiceImpl.getPersonNameByUuid(String uuid) |
PersonName |
PersonServiceImpl.parsePersonName(String name) |
PersonName |
PersonServiceImpl.savePersonName(PersonName personName) |
PersonName |
PersonServiceImpl.unvoidPersonName(PersonName personName) |
PersonName |
PersonServiceImpl.voidPersonName(PersonName personName,
String voidReason) |
Modifier and Type | Method and Description |
---|---|
PersonName |
PersonServiceImpl.savePersonName(PersonName personName) |
PersonName |
PersonServiceImpl.unvoidPersonName(PersonName personName) |
PersonName |
PersonServiceImpl.voidPersonName(PersonName personName,
String voidReason) |
Modifier and Type | Method and Description |
---|---|
String |
NameTemplate.format(PersonName personName) |
Modifier and Type | Method and Description |
---|---|
void |
PersonNameValidator.validatePersonName(PersonName personName,
org.springframework.validation.Errors errors,
boolean arrayInd,
boolean testInd)
Deprecated.
as of 2.2.0, use
PersonNameValidator.validate(Object, Errors) |
Copyright © 2024 OpenMRS Inc.. All rights reserved.