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 |
---|---|
RelationshipType |
Relationship.getRelationshipType() |
Modifier and Type | Method and Description |
---|---|
void |
Relationship.setRelationshipType(RelationshipType type) |
Constructor and Description |
---|
Relationship(Person personA,
Person personB,
RelationshipType type) |
Modifier and Type | Method and Description |
---|---|
RelationshipType |
PersonService.getRelationshipType(Integer relationshipTypeId)
Get relationshipType by internal identifier
|
RelationshipType |
PersonService.getRelationshipTypeByName(String relationshipTypeName)
Find relationshipType by exact name match
|
RelationshipType |
PersonService.getRelationshipTypeByUuid(String uuid)
Gets the relationship type with the given uuid.
|
RelationshipType |
PersonService.retireRelationshipType(RelationshipType type,
String retiredReason)
Retire a Person Relationship Type
|
RelationshipType |
PersonService.saveRelationshipType(RelationshipType relationshipType)
Inserts or updates the given relationship type object in the database
|
RelationshipType |
PersonService.unretireRelationshipType(RelationshipType relationshipType)
Unretire a Person Relationship Type
|
Modifier and Type | Method and Description |
---|---|
List<RelationshipType> |
PersonService.getAllRelationshipTypes()
Get all relationshipTypes Includes retired relationship types
|
List<RelationshipType> |
PersonService.getAllRelationshipTypes(boolean includeRetired)
Get all relationshipTypes with the option of including the retired types
|
List<RelationshipType> |
PersonService.getRelationshipTypes(String searchString)
Get relationshipTypes by searching through the names and loosely matching to the given
searchString
|
List<RelationshipType> |
PersonService.getRelationshipTypes(String relationshipTypeName,
Boolean preferred)
Find relationshipTypes by exact name match and/or preferred status
|
Modifier and Type | Method and Description |
---|---|
Map<Person,List<Person>> |
PersonService.getRelationshipMap(RelationshipType relationshipType)
Get all relationships for a given type of relationship mapped from the personA to all of the
personB's
|
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
|
void |
PersonService.purgeRelationshipType(RelationshipType relationshipType)
Purge relationship type from the database (cannot be undone)
|
RelationshipType |
PersonService.retireRelationshipType(RelationshipType type,
String retiredReason)
Retire a Person Relationship Type
|
RelationshipType |
PersonService.saveRelationshipType(RelationshipType relationshipType)
Inserts or updates the given relationship type object in the database
|
RelationshipType |
PersonService.unretireRelationshipType(RelationshipType relationshipType)
Unretire a Person Relationship Type
|
Modifier and Type | Method and Description |
---|---|
RelationshipType |
PersonDAO.getRelationshipType(Integer relationshipTypeId) |
RelationshipType |
PersonDAO.getRelationshipTypeByUuid(String uuid) |
RelationshipType |
PersonDAO.saveRelationshipType(RelationshipType relationshipType) |
Modifier and Type | Method and Description |
---|---|
List<RelationshipType> |
PersonDAO.getAllRelationshipTypes(boolean includeRetired) |
List<RelationshipType> |
PersonDAO.getRelationshipTypes(String relationshipTypeName,
Boolean preferred) |
Modifier and Type | Method and Description |
---|---|
void |
PersonDAO.deleteRelationshipType(RelationshipType relationshipType) |
List<Relationship> |
PersonDAO.getRelationships(Person fromPerson,
Person toPerson,
RelationshipType relType) |
List<Relationship> |
PersonDAO.getRelationships(Person fromPerson,
Person toPerson,
RelationshipType relType,
Date startEffectiveDate,
Date endEffectiveDate) |
RelationshipType |
PersonDAO.saveRelationshipType(RelationshipType relationshipType) |
Modifier and Type | Method and Description |
---|---|
RelationshipType |
HibernatePersonDAO.getRelationshipType(Integer relationshipTypeId) |
RelationshipType |
HibernatePersonDAO.getRelationshipTypeByUuid(String uuid) |
RelationshipType |
HibernatePersonDAO.saveRelationshipType(RelationshipType relationshipType) |
Modifier and Type | Method and Description |
---|---|
List<RelationshipType> |
HibernatePersonDAO.getAllRelationshipTypes(boolean includeRetired) |
List<RelationshipType> |
HibernatePersonDAO.getRelationshipTypes(String relationshipTypeName,
Boolean preferred) |
Modifier and Type | Method and Description |
---|---|
void |
HibernatePersonDAO.deleteRelationshipType(RelationshipType relationshipType) |
List<Relationship> |
HibernatePersonDAO.getRelationships(Person fromPerson,
Person toPerson,
RelationshipType relType) |
List<Relationship> |
HibernatePersonDAO.getRelationships(Person fromPerson,
Person toPerson,
RelationshipType relType,
Date startEffectiveDate,
Date endEffectiveDate) |
RelationshipType |
HibernatePersonDAO.saveRelationshipType(RelationshipType relationshipType) |
Modifier and Type | Method and Description |
---|---|
RelationshipType |
PersonServiceImpl.getRelationshipType(Integer relationshipTypeId) |
RelationshipType |
PersonServiceImpl.getRelationshipTypeByName(String relationshipTypeName) |
RelationshipType |
PersonServiceImpl.getRelationshipTypeByUuid(String uuid) |
RelationshipType |
PersonServiceImpl.retireRelationshipType(RelationshipType type,
String retiredReason) |
RelationshipType |
PersonServiceImpl.saveRelationshipType(RelationshipType relationshipType) |
RelationshipType |
PersonServiceImpl.unretireRelationshipType(RelationshipType relationshipType) |
Modifier and Type | Method and Description |
---|---|
List<RelationshipType> |
PersonServiceImpl.getAllRelationshipTypes() |
List<RelationshipType> |
PersonServiceImpl.getAllRelationshipTypes(boolean includeRetired) |
List<RelationshipType> |
PersonServiceImpl.getRelationshipTypes(String searchString) |
List<RelationshipType> |
PersonServiceImpl.getRelationshipTypes(String relationshipTypeName,
Boolean preferred) |
Modifier and Type | Method and Description |
---|---|
Map<Person,List<Person>> |
PersonServiceImpl.getRelationshipMap(RelationshipType relType) |
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) |
void |
PersonServiceImpl.purgeRelationshipType(RelationshipType relationshipType) |
RelationshipType |
PersonServiceImpl.retireRelationshipType(RelationshipType type,
String retiredReason) |
RelationshipType |
PersonServiceImpl.saveRelationshipType(RelationshipType relationshipType) |
RelationshipType |
PersonServiceImpl.unretireRelationshipType(RelationshipType relationshipType) |
Copyright © 2024 OpenMRS Inc.. All rights reserved.