public class System extends JsonRestService implements JsonExportable
HTTP_200_OK, HTTP_201_CREATED, HTTP_202_ACCEPTED, HTTP_400_BAD_REQUEST, HTTP_401_UNAUTHORIZED, HTTP_403_FORBIDDEN, HTTP_404_NOT_FOUND, HTTP_405_METHOD_NOT_ALLOWED, HTTP_409_CONFLICT, HTTP_500_INTERNAL_ERROR, HTTP_501_NOT_IMPLEMENTED
Constructor and Description |
---|
System() |
Modifier and Type | Method and Description |
---|---|
org.json.JSONObject |
get(java.lang.String path,
java.util.Map<java.lang.String,java.lang.String> headers)
Retrieve an existing entity or relationship.
|
java.lang.String |
getExportName() |
java.util.List<java.lang.String> |
getRoles(java.lang.String path)
ASSET_DESIGN role can PUT in-memory config for running tests.
|
Jsonable |
toExportJson(Query query,
org.json.JSONObject json)
The exported row-wise JSON content.
|
delete, export, getDefaultResponse, getExporter, getJson, getText, invokeServiceProcess, isApi, launchProcess, notifyProcess, notifyProcess, patch, post, put, service, validateResponse
auditLog, authorize, authorizeExport, generateRequestId, getAction, getAuthUser, getEntity, getEntityDescription, getEntityId, getParameters, getQuery, getRequestUrl, getRequiredProperty, getRoles, getSegment, getSegments, getSource, getSub, getUserAction, logtag, masterRequestId
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getExportFilters, toJsonable
public java.util.List<java.lang.String> getRoles(java.lang.String path)
getRoles
in class RestService
public org.json.JSONObject get(java.lang.String path, java.util.Map<java.lang.String,java.lang.String> headers) throws ServiceException, org.json.JSONException
JsonRestService
get
in class JsonRestService
ServiceException
org.json.JSONException
public Jsonable toExportJson(Query query, org.json.JSONObject json) throws org.json.JSONException
JsonExportable
toExportJson
in interface JsonExportable
org.json.JSONException
public java.lang.String getExportName()
getExportName
in interface JsonExportable
Copyright © 2019 CenturyLink, Inc.