public class ResultApiPart extends ApiPart<Result> implements ResultQueryApi, ResultApi
| Constructor and Description |
|---|
ResultApiPart(ParentApiPart parent) |
ResultApiPart(ParentApiPart parent,
com.fasterxml.jackson.databind.ObjectMapper mapper) |
| Modifier and Type | Method and Description |
|---|---|
List<LogEntry> |
addLogs(List<LogEntry> logEntries)
Add log entries to an existing result.
|
int |
count()
Count the number of results queried.
|
protected javax.ws.rs.client.WebTarget |
getWebTargetForRequest() |
create, delete, findOrCreate, get, getList, getParent, getSlickClient, getWebTarget, makeRequest, updateclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreate, findOrCreate, getListdelete, get, updatepublic ResultApiPart(ParentApiPart parent)
public ResultApiPart(ParentApiPart parent, com.fasterxml.jackson.databind.ObjectMapper mapper)
protected javax.ws.rs.client.WebTarget getWebTargetForRequest()
throws SlickError
getWebTargetForRequest in class ApiPart<Result>SlickErrorpublic List<LogEntry> addLogs(List<LogEntry> logEntries) throws SlickError
ResultApiaddLogs in interface ResultApilogEntries - The log entries to add to the result.SlickError - if a problem was encountered while communicating with the serverpublic int count()
throws SlickError
ResultQueryApicount in interface ResultQueryApiSlickError - if there was a problem with communicating with the serverCopyright © 2015. All rights reserved.