public class DWRRelationshipService
extends java.lang.Object
| Modifier and Type | Field and Description | 
|---|---|
protected org.apache.commons.logging.Log | 
log  | 
| Constructor and Description | 
|---|
DWRRelationshipService()  | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
changeRelationshipDates(java.lang.Integer relationshipId,
                       java.lang.String startDateStr,
                       java.lang.String endDateStr)  | 
void | 
createRelationship(java.lang.Integer personAId,
                  java.lang.Integer personBId,
                  java.lang.Integer relationshipTypeId,
                  java.lang.String startDateStr)  | 
java.util.Vector<RelationshipListItem> | 
getRelationships(java.lang.Integer personId,
                java.lang.Integer relationshipTypeId)  | 
void | 
voidRelationship(java.lang.Integer relationshipId,
                java.lang.String voidReason)  | 
public void createRelationship(java.lang.Integer personAId,
                               java.lang.Integer personBId,
                               java.lang.Integer relationshipTypeId,
                               java.lang.String startDateStr)
                        throws java.lang.Exception
java.lang.Exceptionpublic void voidRelationship(java.lang.Integer relationshipId,
                             java.lang.String voidReason)
public void changeRelationshipDates(java.lang.Integer relationshipId,
                                    java.lang.String startDateStr,
                                    java.lang.String endDateStr)
                             throws java.lang.Exception
java.lang.Exceptionpublic java.util.Vector<RelationshipListItem> getRelationships(java.lang.Integer personId, java.lang.Integer relationshipTypeId)
Copyright © 2018 OpenMRS Inc.. All Rights Reserved.