public class SubjectAreaRESTServicesInstance extends Object
| Modifier and Type | Field and Description |
|---|---|
protected static SubjectAreaInstanceHandler |
instanceHandler |
protected OMRSAPIHelper |
oMRSAPIHelper |
| Constructor and Description |
|---|
SubjectAreaRESTServicesInstance()
Default constructor
|
| Modifier and Type | Method and Description |
|---|---|
SubjectAreaOMASAPIResponse |
getRelationshipsFromGuid(String serverName,
String userId,
String guid,
Date asOfTime,
Integer offset,
Integer pageSize,
SequencingOrder sequencingOrder,
String sequencingProperty) |
protected SubjectAreaBeansToAccessOMRS |
initializeAPI(String serverName,
String userId,
Date from,
Date to,
String methodName)
Each API call needs to run in the requested tenant - indicated by the serverName and validate the userid.
|
protected SubjectAreaBeansToAccessOMRS |
initializeAPI(String serverName,
String userId,
String methodName)
Each API call needs to run in the requested tenant - indicated by the serverName and validate the userid.
|
void |
setOMRSAPIHelper(OMRSAPIHelper oMRSAPIHelper) |
protected OMRSAPIHelper oMRSAPIHelper
protected static SubjectAreaInstanceHandler instanceHandler
public SubjectAreaRESTServicesInstance()
protected SubjectAreaBeansToAccessOMRS initializeAPI(String serverName, String userId, String methodName) throws MetadataServerUncontactableException, InvalidParameterException
serverName - server name used to create the instanceuserId - userid under which the request will be mademethodName - method name for loggingMetadataServerUncontactableException - not able to communicate with the metadata server.InvalidParameterException - a parameter is null or an invalid value.protected SubjectAreaBeansToAccessOMRS initializeAPI(String serverName, String userId, Date from, Date to, String methodName) throws MetadataServerUncontactableException, InvalidParameterException
serverName - server name used to create the instanceuserId - userid under which the request will be madefrom - effective from dateto - effective to DatemethodName - method name for loggingMetadataServerUncontactableException - not able to communicate with the metadata server.InvalidParameterException - a parameter is null or an invalid value.public void setOMRSAPIHelper(OMRSAPIHelper oMRSAPIHelper)
public SubjectAreaOMASAPIResponse getRelationshipsFromGuid(String serverName, String userId, String guid, Date asOfTime, Integer offset, Integer pageSize, SequencingOrder sequencingOrder, String sequencingProperty)
Copyright © 2018–2019 ODPi. All rights reserved.