Creates a org.talares.api.queries.Query consisting of the endpoint for type 'T' and the ID's given.
Creates a org.talares.api.queries.Query consisting of the endpoint for type 'T' and the ID's given.
the ID's to include in the query
an instance of org.talares.api.queries.Query
Creates a org.talares.api.actors.messages.ExecutorMessages.Execute with a complete URL in String form by using the createUrl() method to compose said URL from a webservice location and Query composed of the given ID's.
Creates a org.talares.api.actors.messages.ExecutorMessages.Execute with a complete URL in String form by using the createUrl() method to compose said URL from a webservice location and Query composed of the given ID's.
the active task
the URL on which the webservice can be reached
the ID's to include in the query
Creates a org.talares.api.actors.messages.ExecutorMessages with a complete URL in String form by using the createUrl() method to compose said URL from a webservice location and a query.
Creates a org.talares.api.actors.messages.ExecutorMessages with a complete URL in String form by using the createUrl() method to compose said URL from a webservice location and a query.
the active task
the URL on which the webservice can be reached
the query to have the webservice execute
Creates a org.talares.api.queries.Query consisting of the endpoint for type 'T' as well as a specific filter composed of the given search parameters.
Creates a org.talares.api.queries.Query consisting of the endpoint for type 'T' as well as a specific filter composed of the given search parameters.
a arbitrary number of key/value pairs to be 'and'ed into a filter
an instance of org.talares.api.queries.
Creates a org.talares.api.actors.messages.ExecutorMessages.Execute with a complete URL in String form by using the createUrl() method to compose said URL from a webservice location and Query consisting of a filter composed of the given search parameters.
Creates a org.talares.api.actors.messages.ExecutorMessages.Execute with a complete URL in String form by using the createUrl() method to compose said URL from a webservice location and Query consisting of a filter composed of the given search parameters.
the active task
the URL on which the webservice can be reached
the search parameters with which a filter should be constructed
Creates a org.talares.api.actors.messages.ExecutorMessages.Execute with a complete URL in String form from the given completeURL.
Creates a org.talares.api.actors.messages.ExecutorMessages.Execute with a complete URL in String form from the given completeURL.
a complete URL
Composes a complete URL consisting of a webservice URL and a org.talares.api.queries.Query's value.
Composes a complete URL consisting of a webservice URL and a org.talares.api.queries.Query's value.
the URL on which the webservice can be reached
the query to have the webservice execute
a complete URL in String form
Endpoint from which the Json representations of 'T' can be found within the webservice.
Endpoint from which the Json representations of 'T' can be found within the webservice.
The plural of the runtime class name of 'T' is used to find the endpoint. For instance a Fetcher[Page] will have endpoint Pages.
Handles messages of the type org.talares.api.actors.messages.ExecutorMessages.Result.
Handles messages of the type org.talares.api.actors.messages.ExecutorMessages.Result.
This function handles four different situations, all of which result in a org.talares.api.actors.messages.FetcherMessages.Result sent to the parent.
1. The result contains a JsArray; it is parsed as a Seq of 'T' 2. The result contains a JsObject; it is parsed as a 'T' 3. The result contains an unknown element; a UnexpectedResultException is propagated 4. The result contains an Throwable; the Throwable is propagated
the org.talares.api.actors.messages.ExecutorMessages.Result to handle
play.api.libs.json.JsObject
play.api.libs.json.JsArray
play.api.libs.json.JsValue
Handles messages of the type org.talares.api.actors.messages.FetcherMessages.Task.
Handles messages of the type org.talares.api.actors.messages.FetcherMessages.Task.
Depending on the type of task a function is used to turn this task into a complete URL where Json representations of 'T' might be found. This URL is then wrapped in a org.talares.api.actors.messages.ExecutorMessages.Execute message and passed to an Executor for execution.
the task to handle
Holds all functionality to compose an URL that designates where Json representations of 'T' might be found.
Passes these locations to instances of Executor to receive the Json representations. Is able to parse the Json into an instance of 'T' and send this to it's parent.
0.1.0