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.export | |
org.openmrs.web.controller.patient | |
org.openmrs.web.dwr |
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()
Deprecated.
|
Map<Integer,List<Relationship>> |
PatientSetService.getRelationships(Cohort ps,
RelationshipType relType) |
List<Relationship> |
PersonService.getRelationships(Person p)
Deprecated.
|
List<Relationship> |
PersonService.getRelationships(Person p,
boolean showVoided)
Deprecated.
|
List<Relationship> |
PersonService.getRelationships(Person fromPerson,
Person toPerson,
RelationshipType relType)
Get relationships stored in the database that
|
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.getRelationshipsTo(Person toPerson,
RelationshipType relType)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
PersonService.createRelationship(Relationship relationship)
Deprecated.
replaced by #saveRelationship(Relationship)
|
void |
PersonService.deleteRelationship(Relationship relationship)
Deprecated.
replaced by #purgeRelationship(Relationship)
|
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
|
void |
PersonService.updateRelationship(Relationship relationship)
Deprecated.
replaced by #saveRelationship(Relationship)
|
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)
Auto generated method comment
|
Relationship |
PersonDAO.saveRelationship(Relationship relationship) |
Modifier and Type | Method and Description |
---|---|
List<Relationship> |
PersonDAO.getAllRelationships(boolean includeVoided) |
Map<Integer,List<Relationship>> |
PatientSetDAO.getRelationships(Cohort ps,
RelationshipType relType) |
List<Relationship> |
PersonDAO.getRelationships(Person fromPerson,
Person toPerson,
RelationshipType relType) |
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) |
Map<Integer,List<Relationship>> |
HibernatePatientSetDAO.getRelationships(Cohort patients,
RelationshipType relType) |
List<Relationship> |
HibernatePersonDAO.getRelationships(Person fromPerson,
Person toPerson,
RelationshipType relType) |
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()
Deprecated.
|
Map<Integer,List<Relationship>> |
PatientSetServiceImpl.getRelationships(Cohort ps,
RelationshipType relType) |
List<Relationship> |
PersonServiceImpl.getRelationships(Person p)
Deprecated.
|
List<Relationship> |
PersonServiceImpl.getRelationships(Person p,
boolean showVoided)
Deprecated.
|
List<Relationship> |
PersonServiceImpl.getRelationships(Person fromPerson,
Person toPerson,
RelationshipType relType) |
List<Relationship> |
PersonServiceImpl.getRelationshipsByPerson(Person p) |
List<Relationship> |
PersonServiceImpl.getRelationshipsTo(Person toPerson,
RelationshipType relType)
|
Modifier and Type | Method and Description |
---|---|
void |
PersonServiceImpl.createRelationship(Relationship relationship)
Deprecated.
|
void |
PersonServiceImpl.deleteRelationship(Relationship relationship)
Deprecated.
|
void |
PersonServiceImpl.purgeRelationship(Relationship relationship) |
Relationship |
PersonServiceImpl.saveRelationship(Relationship relationship) |
Relationship |
PersonServiceImpl.unvoidRelationship(Relationship relationship) |
void |
PersonServiceImpl.updateRelationship(Relationship relationship)
Deprecated.
|
Relationship |
PersonServiceImpl.voidRelationship(Relationship relationship,
String voidReason) |
Modifier and Type | Field and Description |
---|---|
protected Map<String,Map<Integer,List<Relationship>>> |
DataExportFunctions.relationshipMap
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
List<Relationship> |
DataExportFunctions.getRelationships(String relationshipTypeName)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
Map<String,Relationship> |
ShortPatientModel.getRelationshipsMap() |
Modifier and Type | Method and Description |
---|---|
void |
ShortPatientModel.setRelationshipsMap(Map<String,Relationship> relationshipsMap) |
Constructor and Description |
---|
RelationshipListItem(Relationship r) |
Copyright © 2018 OpenMRS LLC.. All Rights Reserved.