public class SubjectAreaBaseImpl extends FFDCRESTClient
auditLog, exceptionHandler, serverName, serverPlatformURLRoot| Modifier | Constructor and Description |
|---|---|
protected |
SubjectAreaBaseImpl(String serverName,
String serverPlatformURLRoot)
Constructor for no authentication.
|
protected |
SubjectAreaBaseImpl(String serverName,
String serverPlatformURLRoot,
String userId,
String password)
Constructor for simple userId and password authentication.
|
| Modifier and Type | Method and Description |
|---|---|
protected SubjectAreaOMASAPIResponse |
deleteEntityRESTCall(String userId,
String guid,
String methodName,
String urlTemplate) |
protected SubjectAreaOMASAPIResponse |
deleteRelationshipRESTCall(String userId,
String guid,
String methodName,
String urlTemplate) |
protected void |
encodeQueryProperty(String propertyName,
String propertyValue,
String methodName,
StringBuffer queryStringSB) |
protected SubjectAreaOMASAPIResponse |
findRESTCall(String userId,
String methodName,
String urlTemplate,
String searchCriteria,
Date asOfTime,
int offset,
int pageSize,
SequencingOrder sequencingOrder,
String sequencingProperty) |
protected SubjectAreaOMASAPIResponse |
getByIdRESTCall(String userId,
String guid,
String methodName,
String urlTemplate) |
protected List<Line> |
getRelationships(String base_url,
String userId,
String guid,
Date asOfTime,
int offset,
int pageSize,
SequencingOrder sequencingOrder,
String sequencingProperty) |
protected SubjectAreaOMASAPIResponse |
postRESTCall(String userId,
String methodName,
String urlTemplate,
Object requestBody) |
protected SubjectAreaOMASAPIResponse |
purgeEntityRESTCall(String userId,
String guid,
String methodName,
String urlTemplate) |
protected SubjectAreaOMASAPIResponse |
purgeRelationshipRESTCall(String userId,
String guid,
String methodName,
String urlTemplate) |
protected SubjectAreaOMASAPIResponse |
putRESTCall(String userId,
String guid,
boolean isReplace,
String methodName,
String urlTemplate,
Object requestBody) |
protected SubjectAreaOMASAPIResponse |
restoreRESTCall(String userId,
String guid,
String methodName,
String urlTemplate) |
callCountGetRESTCall, callGUIDGetRESTCall, callGUIDListGetRESTCall, callGUIDListPostRESTCall, callGUIDPostRESTCall, callNameListGetRESTCall, callStringMapGetRESTCall, callVoidGetRESTCall, callVoidPostRESTCallcallDeleteRESTCall, callGetRESTCall, callGetRESTCallNoParams, callPostRESTCall, callPostRESTCallNoParams, callPutRESTCallprotected SubjectAreaBaseImpl(String serverName, String serverPlatformURLRoot) throws InvalidParameterException
serverName - name of the OMAG Server to callserverPlatformURLRoot - URL root of the server platform where the OMAG Server is running.InvalidParameterException - there is a problem creating the client-side components to issue any
REST API calls.protected SubjectAreaBaseImpl(String serverName, String serverPlatformURLRoot, String userId, String password) throws InvalidParameterException
serverName - name of the OMAG Server to callserverPlatformURLRoot - URL root of the server platform where the OMAG Server is running.userId - user id for the HTTP requestpassword - password for the HTTP requestInvalidParameterException - there is a problem creating the client-side components to issue any
REST API calls.protected void encodeQueryProperty(String propertyName, String propertyValue, String methodName, StringBuffer queryStringSB) throws InvalidParameterException
InvalidParameterExceptionprotected List<Line> getRelationships(String base_url, String userId, String guid, Date asOfTime, int offset, int pageSize, SequencingOrder sequencingOrder, String sequencingProperty) throws InvalidParameterException, UserNotAuthorizedException, FunctionNotSupportedException, UnexpectedResponseException, PropertyServerException
protected SubjectAreaOMASAPIResponse postRESTCall(String userId, String methodName, String urlTemplate, Object requestBody) throws PropertyServerException, UserNotAuthorizedException, InvalidParameterException, FunctionNotSupportedException
protected SubjectAreaOMASAPIResponse putRESTCall(String userId, String guid, boolean isReplace, String methodName, String urlTemplate, Object requestBody) throws PropertyServerException, UserNotAuthorizedException, InvalidParameterException, FunctionNotSupportedException
protected SubjectAreaOMASAPIResponse getByIdRESTCall(String userId, String guid, String methodName, String urlTemplate) throws PropertyServerException, UserNotAuthorizedException, InvalidParameterException, FunctionNotSupportedException
protected SubjectAreaOMASAPIResponse findRESTCall(String userId, String methodName, String urlTemplate, String searchCriteria, Date asOfTime, int offset, int pageSize, SequencingOrder sequencingOrder, String sequencingProperty) throws PropertyServerException, UserNotAuthorizedException, InvalidParameterException, FunctionNotSupportedException
protected SubjectAreaOMASAPIResponse deleteEntityRESTCall(String userId, String guid, String methodName, String urlTemplate) throws PropertyServerException, UserNotAuthorizedException, InvalidParameterException, FunctionNotSupportedException, EntityNotDeletedException
protected SubjectAreaOMASAPIResponse purgeEntityRESTCall(String userId, String guid, String methodName, String urlTemplate) throws PropertyServerException, UserNotAuthorizedException, InvalidParameterException, FunctionNotSupportedException, EntityNotPurgedException
protected SubjectAreaOMASAPIResponse deleteRelationshipRESTCall(String userId, String guid, String methodName, String urlTemplate) throws PropertyServerException, UserNotAuthorizedException, InvalidParameterException, FunctionNotSupportedException, RelationshipNotDeletedException
protected SubjectAreaOMASAPIResponse purgeRelationshipRESTCall(String userId, String guid, String methodName, String urlTemplate) throws PropertyServerException, UserNotAuthorizedException, InvalidParameterException, FunctionNotSupportedException, RelationshipNotPurgedException
protected SubjectAreaOMASAPIResponse restoreRESTCall(String userId, String guid, String methodName, String urlTemplate) throws PropertyServerException, UserNotAuthorizedException, InvalidParameterException, FunctionNotSupportedException
Copyright © 2018–2020 ODPi. All rights reserved.