public class SubjectAreaRESTServicesInstance extends Object
| Modifier and Type | Field and Description |
|---|---|
protected static org.odpi.openmetadata.accessservices.subjectarea.server.services.SubjectAreaInstanceHandler |
instanceHandler |
static String |
PAGE_OFFSET_DEFAULT_VALUE |
static String |
PAGE_SIZE_DEFAULT_VALUE |
| 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)
|
protected SubjectAreaOMASAPIResponse |
restoreLine(String serverName,
String restAPIName,
String userId,
String className,
String guid)
Restore a Line (relationship).
|
protected SubjectAreaOMASAPIResponse |
updateLine(String serverName,
String restAPIName,
String userId,
String guid,
String className,
Line line,
boolean isReplace)
Update a relationship.
|
public static final String PAGE_OFFSET_DEFAULT_VALUE
public static final String PAGE_SIZE_DEFAULT_VALUE
protected static org.odpi.openmetadata.accessservices.subjectarea.server.services.SubjectAreaInstanceHandler instanceHandler
public SubjectAreaRESTServicesInstance()
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 tenantrestAPIName - name of the rest APIuserId - userId under which the request is performedclassName - class nameline - 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 tenantrestAPIName - name of the rest APIuserId - unique identifier for requesting user, under which the request is performedclassName - class nameguid - guid of the relationship to getprotected SubjectAreaOMASAPIResponse updateLine(String serverName, String restAPIName, String userId, String guid, String className, Line line, boolean isReplace)
serverName - serverName under which this request is performed, this is used in multi tenanting to identify the tenantrestAPIName - rest api nameuserId - userId under which the request is performedguid - unique identifier of the LineclassName - class nameline - 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 tenantrestAPIName - rest API nameuserId - unique identifier for requesting user, under which the request is performedclassName - class nameguid - 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)
Restore allows the deleted relationship to be made active again. Restore allows deletes to be undone. Hard deletes are not stored in the repository so cannot be restored.
serverName - serverName under which this request is performed, this is used in multi tenanting to identify the tenantrestAPIName - name of the rest APIuserId - unique identifier for requesting user, under which the request is performedclassName - class nameguid - guid of the relationship to restoreCopyright © 2018–2020 ODPi. All rights reserved.