Package co.arago.hiro.client.rest
Class GraphAPI.DeleteEntityCommand
- java.lang.Object
-
- co.arago.hiro.client.rest.AuthenticatedAPIHandler.APIRequestConf<GraphAPI.DeleteEntityCommand,HiroVertexMessage>
-
- co.arago.hiro.client.rest.GraphAPI.DeleteEntityCommand
-
- Enclosing class:
- GraphAPI
public class GraphAPI.DeleteEntityCommand extends AuthenticatedAPIHandler.APIRequestConf<GraphAPI.DeleteEntityCommand,HiroVertexMessage>
delete entity by ogit/_id (vertex or edge).API DELETE /api/graph/[version]/{ogit/_id}
- See Also:
- API Documentation
-
-
Field Summary
-
Fields inherited from class co.arago.hiro.client.rest.AuthenticatedAPIHandler.APIRequestConf
fragment, headers, httpRequestTimeout, maxRetries, path, query
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedDeleteEntityCommand(java.lang.String ogitId)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description HiroVertexMessageexecute()protected GraphAPI.DeleteEntityCommandself()-
Methods inherited from class co.arago.hiro.client.rest.AuthenticatedAPIHandler.APIRequestConf
setHttpHeaders, setHttpRequestTimeout, setMaxRetries, setUrlFragment, setUrlQuery
-
-
-
-
Method Detail
-
self
protected GraphAPI.DeleteEntityCommand self()
- Specified by:
selfin classAuthenticatedAPIHandler.APIRequestConf<GraphAPI.DeleteEntityCommand,HiroVertexMessage>
-
execute
public HiroVertexMessage execute() throws HiroException, java.io.IOException, java.lang.InterruptedException
- Specified by:
executein classAuthenticatedAPIHandler.APIRequestConf<GraphAPI.DeleteEntityCommand,HiroVertexMessage>- Returns:
HiroVertexMessageThe Json Response- Throws:
HiroException- When the call returns a http status error.java.io.IOException- When the call got an IO error.java.lang.InterruptedException- When the call gets interrupted.
-
-