public class SubjectAreaRESTServicesInstance extends Object
| Modifier and Type | Field and Description |
|---|---|
protected static org.odpi.openmetadata.accessservices.subjectarea.server.services.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)
Create a Line (relationship), which is a link between two Nodes.
|
SubjectAreaOMASAPIResponse |
deleteLine(String serverName,
String restAPIName,
String userId,
String className,
String guid,
Boolean isPurge)
Delete a Line (relationship)
|
protected SubjectAreaOMASAPIResponse |
getLine(String serverName,
String restAPIName,
String userId,
String className,
String guid)
Get a Line (relationship)
|
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)
Restore a Line (relationship).
|
void |
setOMRSAPIHelper(OMRSAPIHelper oMRSAPIHelper) |
protected SubjectAreaOMASAPIResponse |
updateLine(String serverName,
String restAPIName,
String userId,
String className,
Line line,
boolean isReplace)
Update a relationship.
|
protected OMRSAPIHelper oMRSAPIHelper
protected static org.odpi.openmetadata.accessservices.subjectarea.server.services.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)
serverName - serverName under which this request is performed, this is used in multi tenanting to identify the tenantuserId - userId under which the request is performedline - line to createprotected SubjectAreaOMASAPIResponse getLine(String serverName, String restAPIName, String userId, String className, String guid)
serverName - serverName under which this request is performed, this is used in multi tenanting to identify the tenantuserId - unique identifier for requesting user, under which the request is performedguid - guid of the relationship to getprotected SubjectAreaOMASAPIResponse updateLine(String serverName, String restAPIName, String userId, String className, Line line, boolean isReplace)
serverName - serverName under which this request is performed, this is used in multi tenanting to identify the tenantuserId - userId under which the request is performedline - the relationship to updateisReplace - flag to indicate that this update is a replace. When not set only the supplied (non null) fields are updated.public SubjectAreaOMASAPIResponse deleteLine(String serverName, String restAPIName, String userId, String className, String guid, Boolean isPurge)
serverName - serverName under which this request is performed, this is used in multi tenanting to identify the tenantuserId - unique identifier for requesting user, under which the request is performedguid - guid of the HAS A relationship to deleteisPurge - true indicates a hard delete, false is a soft delete.protected SubjectAreaOMASAPIResponse restoreLine(String serverName, String restAPIName, String userId, String className, String guid)
serverName - serverName under which this request is performed, this is used in multi tenanting to identify the tenantuserId - unique identifier for requesting user, under which the request is performedguid - guid of the relationship to restoreCopyright © 2018–2020 ODPi. All rights reserved.