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 |
|---|---|
protected SubjectAreaOMASAPIResponse |
createLine(String serverName,
String restAPIName,
String userId,
String className,
Line line) |
SubjectAreaOMASAPIResponse |
deleteLine(String serverName,
String restAPIName,
String userId,
String className,
String guid,
Boolean isPurge) |
protected SubjectAreaOMASAPIResponse |
getLine(String serverName,
String restAPIName,
String userId,
String className,
String guid) |
SubjectAreaOMASAPIResponse |
getRelationshipsFromGuid(String serverName,
String restAPIName,
String userId,
String guid,
Date asOfTime,
Integer offset,
Integer pageSize,
SequencingOrder sequencingOrder,
String sequencingProperty) |
protected SubjectAreaOMASAPIResponse |
initializeAPI(String serverName,
String userId,
Date from,
Date to,
String restAPIName)
Each API call needs to run in the requested tenant - indicated by the serverName and validate the userid.
|
protected SubjectAreaOMASAPIResponse |
initializeAPI(String serverName,
String userId,
String restAPIName)
Each API call needs to run in the requested tenant - indicated by the serverName and validate the userid.
|
protected SubjectAreaOMASAPIResponse |
restoreLine(String serverName,
String restAPIName,
String userId,
String className,
String guid) |
void |
setOMRSAPIHelper(OMRSAPIHelper oMRSAPIHelper) |
protected SubjectAreaOMASAPIResponse |
updateLine(String serverName,
String restAPIName,
String userId,
String className,
Line line,
boolean isReplace)
Update the line.
|
protected OMRSAPIHelper oMRSAPIHelper
protected static SubjectAreaInstanceHandler instanceHandler
public SubjectAreaRESTServicesInstance()
protected SubjectAreaOMASAPIResponse initializeAPI(String serverName, String userId, String restAPIName)
serverName - server name used to create the instanceuserId - userid under which the request will be maderestAPIName - rest API name for loggingprotected SubjectAreaOMASAPIResponse initializeAPI(String serverName, String userId, Date from, Date to, String restAPIName)
serverName - server name used to create the instanceuserId - userid under which the request will be madefrom - effective from dateto - effective to DaterestAPIName - rest API name for loggingpublic void setOMRSAPIHelper(OMRSAPIHelper oMRSAPIHelper)
public SubjectAreaOMASAPIResponse getRelationshipsFromGuid(String serverName, String restAPIName, String userId, String guid, Date asOfTime, Integer offset, Integer pageSize, SequencingOrder sequencingOrder, String sequencingProperty)
protected SubjectAreaOMASAPIResponse createLine(String serverName, String restAPIName, String userId, String className, Line line)
protected SubjectAreaOMASAPIResponse getLine(String serverName, String restAPIName, String userId, String className, String guid)
protected SubjectAreaOMASAPIResponse updateLine(String serverName, String restAPIName, String userId, String className, Line line, boolean isReplace)
serverName - server name to process the request againtsrestAPIName - rest API NameuserId - userid user identifierclassName - classname for loggingline - line to updateisReplace - whether the other is a replace or an updatepublic SubjectAreaOMASAPIResponse deleteLine(String serverName, String restAPIName, String userId, String className, String guid, Boolean isPurge)
Copyright © 2018–2019 ODPi. All rights reserved.