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 | Method and Description |
---|---|
Relationship |
Relationship.copy()
Does a shallow copy of this Relationship.
|
protected Relationship |
Relationship.copyHelper(Relationship target)
The purpose of this method is to allow subclasses of Relationship to delegate a portion of
their copy() method back to the superclass, in case the base class implementation changes.
|
Modifier and Type | Method and Description |
---|---|
protected Relationship |
Relationship.copyHelper(Relationship target)
The purpose of this method is to allow subclasses of Relationship to delegate a portion of
their copy() method back to the superclass, in case the base class implementation changes.
|
Modifier and Type | Method and Description |
---|---|
Relationship |
PersonService.getRelationship(Integer relationshipId)
Get relationship by internal relationship identifier
|
Relationship |
PersonService.getRelationshipByUuid(String uuid)
Get Relationship by its UUID
|
Relationship |
PersonService.saveRelationship(Relationship relationship)
Create or update a relationship between people.
|
Relationship |
PersonService.unvoidRelationship(Relationship relationship)
Unvoid Relationship in the database, effectively marking this as a valid relationship again
|
Relationship |
PersonService.voidRelationship(Relationship relationship,
String voidReason)
Voids the given Relationship, effectively removing it from openmrs.
|
Modifier and Type | Method and Description |
---|---|
List<Relationship> |
PersonService.getAllRelationships()
Get list of relationships that are not voided
|
List<Relationship> |
PersonService.getAllRelationships(boolean includeVoided)
Get list of relationships optionally including the voided ones or not
|
List<Relationship> |
PersonService.getRelationships(Person fromPerson,
Person toPerson,
RelationshipType relType)
Get relationships stored in the database that
|
List<Relationship> |
PersonService.getRelationships(Person fromPerson,
Person toPerson,
RelationshipType relType,
Date effectiveDate)
Get relationships stored in the database that are active on the passed date
|
List<Relationship> |
PersonService.getRelationships(Person fromPerson,
Person toPerson,
RelationshipType relType,
Date startEffectiveDate,
Date endEffectiveDate)
Get relationships stored in the database that were active during the specified date range
|
List<Relationship> |
PersonService.getRelationshipsByPerson(Person p)
Get list of relationships that include Person in person_id or relative_id Does not include
voided relationships
|
List<Relationship> |
PersonService.getRelationshipsByPerson(Person p,
Date effectiveDate)
Get list of relationships that include Person in person_id or relative_id.
|
Modifier and Type | Method and Description |
---|---|
void |
PersonService.purgeRelationship(Relationship relationship)
Purges a relationship from the database (cannot be undone)
|
Relationship |
PersonService.saveRelationship(Relationship relationship)
Create or update a relationship between people.
|
Relationship |
PersonService.unvoidRelationship(Relationship relationship)
Unvoid Relationship in the database, effectively marking this as a valid relationship again
|
Relationship |
PersonService.voidRelationship(Relationship relationship,
String voidReason)
Voids the given Relationship, effectively removing it from openmrs.
|
Modifier and Type | Method and Description |
---|---|
Relationship |
PersonDAO.getRelationship(Integer relationshipId) |
Relationship |
PersonDAO.getRelationshipByUuid(String uuid) |
Relationship |
PersonDAO.saveRelationship(Relationship relationship) |
Modifier and Type | Method and Description |
---|---|
List<Relationship> |
PersonDAO.getAllRelationships(boolean includeVoided) |
List<Relationship> |
PersonDAO.getRelationships(Person fromPerson,
Person toPerson,
RelationshipType relType) |
List<Relationship> |
PersonDAO.getRelationships(Person fromPerson,
Person toPerson,
RelationshipType relType,
Date startEffectiveDate,
Date endEffectiveDate) |
Modifier and Type | Method and Description |
---|---|
void |
PersonDAO.deleteRelationship(Relationship relationship) |
Relationship |
PersonDAO.saveRelationship(Relationship relationship) |
Modifier and Type | Method and Description |
---|---|
Relationship |
HibernatePersonDAO.getRelationship(Integer relationshipId) |
Relationship |
HibernatePersonDAO.getRelationshipByUuid(String uuid) |
Relationship |
HibernatePersonDAO.saveRelationship(Relationship relationship) |
Modifier and Type | Method and Description |
---|---|
List<Relationship> |
HibernatePersonDAO.getAllRelationships(boolean includeVoided) |
List<Relationship> |
HibernatePersonDAO.getRelationships(Person fromPerson,
Person toPerson,
RelationshipType relType) |
List<Relationship> |
HibernatePersonDAO.getRelationships(Person fromPerson,
Person toPerson,
RelationshipType relType,
Date startEffectiveDate,
Date endEffectiveDate) |
Modifier and Type | Method and Description |
---|---|
void |
HibernatePersonDAO.deleteRelationship(Relationship relationship) |
Relationship |
HibernatePersonDAO.saveRelationship(Relationship relationship) |
Modifier and Type | Method and Description |
---|---|
Relationship |
PersonServiceImpl.getRelationship(Integer relationshipId) |
Relationship |
PersonServiceImpl.getRelationshipByUuid(String uuid) |
Relationship |
PersonServiceImpl.saveRelationship(Relationship relationship) |
Relationship |
PersonServiceImpl.unvoidRelationship(Relationship relationship) |
Relationship |
PersonServiceImpl.voidRelationship(Relationship relationship,
String voidReason) |
Modifier and Type | Method and Description |
---|---|
List<Relationship> |
PersonServiceImpl.getAllRelationships() |
List<Relationship> |
PersonServiceImpl.getAllRelationships(boolean includeVoided) |
List<Relationship> |
PersonServiceImpl.getRelationships(Person fromPerson,
Person toPerson,
RelationshipType relType) |
List<Relationship> |
PersonServiceImpl.getRelationships(Person fromPerson,
Person toPerson,
RelationshipType relType,
Date effectiveDate) |
List<Relationship> |
PersonServiceImpl.getRelationships(Person fromPerson,
Person toPerson,
RelationshipType relType,
Date startEffectiveDate,
Date endEffectiveDate) |
List<Relationship> |
PersonServiceImpl.getRelationshipsByPerson(Person p) |
List<Relationship> |
PersonServiceImpl.getRelationshipsByPerson(Person p,
Date effectiveDate) |
Modifier and Type | Method and Description |
---|---|
void |
PersonServiceImpl.purgeRelationship(Relationship relationship) |
Relationship |
PersonServiceImpl.saveRelationship(Relationship relationship) |
Relationship |
PersonServiceImpl.unvoidRelationship(Relationship relationship) |
Relationship |
PersonServiceImpl.voidRelationship(Relationship relationship,
String voidReason) |
Copyright © 2024 OpenMRS Inc.. All rights reserved.