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