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 <L extends Line> |
createLine(String serverName,
String restAPIName,
String userId,
Class<? extends ILineMapper<L>> clazz,
L line)
Create a Line (relationship), which is a link between two Nodes.
|
<L extends Line> |
deleteLine(String serverName,
String restAPIName,
String userId,
Class<? extends ILineMapper<L>> clazz,
String guid,
Boolean isPurge)
Delete a Line (relationship)
|
protected <L extends Line> |
getLine(String serverName,
String restAPIName,
String userId,
Class<? extends ILineMapper<L>> clazz,
String guid)
Get a Line (relationship)
|
protected <L extends Line> |
restoreLine(String serverName,
String restAPIName,
String userId,
Class<? extends ILineMapper<L>> clazz,
String guid)
Restore a Line (relationship).
|
protected <L extends Line> |
updateLine(String serverName,
String restAPIName,
String userId,
String guid,
Class<? extends ILineMapper<L>> clazz,
L 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 <L extends Line> SubjectAreaOMASAPIResponse<L> createLine(String serverName, String restAPIName, String userId, Class<? extends ILineMapper<L>> clazz, L line)
L - Line type of object for responseserverName - 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 performedclazz - mapper Classline - line to createprotected <L extends Line> SubjectAreaOMASAPIResponse<L> getLine(String serverName, String restAPIName, String userId, Class<? extends ILineMapper<L>> clazz, String guid)
L - Line type of object for responseserverName - 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 performedclazz - mapper Classguid - guid of the relationship to getprotected <L extends Line> SubjectAreaOMASAPIResponse<L> updateLine(String serverName, String restAPIName, String userId, String guid, Class<? extends ILineMapper<L>> clazz, L line, boolean isReplace)
L - Line type of object for responseserverName - 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 Lineclazz - mapper Classline - 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 <L extends Line> SubjectAreaOMASAPIResponse<L> deleteLine(String serverName, String restAPIName, String userId, Class<? extends ILineMapper<L>> clazz, String guid, Boolean isPurge)
L - Line type of object for responseserverName - 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 performedclazz - mapper Classguid - guid of the HAS A relationship to deleteisPurge - true indicates a hard delete, false is a soft delete.protected <L extends Line> SubjectAreaOMASAPIResponse<L> restoreLine(String serverName, String restAPIName, String userId, Class<? extends ILineMapper<L>> clazz, 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.
L - Line type of object for responseserverName - 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 performedclazz - mapper Classguid - guid of the relationship to restoreCopyright © 2018–2020 ODPi. All rights reserved.