Fetches a 'T' by a org.talares.api.queries.Query.
Fetches a 'T' by a org.talares.api.queries.Query.
First composes a org.talares.api.actors.messages.MediatorMessages.QueryRequest from the given org.talares.api.queries.Query and the configured web service location. Then passes this to the org.talares.api.actors.Mediator for further handling. It does this using the ask pattern.
Once complete, the result of the ask is inspected. If the result contains a value or a Seq of the expected type 'T', a promise is completed successfully and it's future returned. Otherwise the promise is failed with a org.talares.api.exceptions.TalaresException, either directly from the Future's result, or by wrapping a unknown Throwable in a org.talares.api.exceptions.TalaresException.
the type of item that is expected in return
the org.talares.api.queries.Query to compose the org.talares.api.actors.messages.MediatorMessages.QueryRequest with
the org.talares.api.datatypes.JsonReadable which can turn the Json representation of a 'T' into an instance of 'T'
the class tag of 'T' to be injected by the compiler
a future of 'T'
Get a org.talares.api.datatypes.items.Binary by it's publication ID and it's binary ID.
Get a org.talares.api.datatypes.items.Binary by it's publication ID and it's binary ID.
the ID of the publication the desired org.talares.api.datatypes.items.Binary belongs to
the binary ID of the desired org.talares.api.datatypes.items.Binary
a successful or failed Future of a org.talares.api.datatypes.items.Binary
Get a org.talares.api.datatypes.items.BinaryContent by it's publication ID, it's binary ID and it's variant ID.
Get a org.talares.api.datatypes.items.BinaryContent by it's publication ID, it's binary ID and it's variant ID.
the ID of the publication the desired org.talares.api.datatypes.items.BinaryContent belongs to
the binary ID of the desired org.talares.api.datatypes.items.BinaryContent
the variantId ID of the desired org.talares.api.datatypes.items.BinaryContent
a successful or failed Future of a org.talares.api.datatypes.items.BinaryContent
Get a org.talares.api.datatypes.items.BinaryVariant by it's publication ID and it's binary ID.
Get a org.talares.api.datatypes.items.BinaryVariant by it's publication ID and it's binary ID.
the ID of the publication the desired org.talares.api.datatypes.items.BinaryVariant belongs to
the binary ID of the desired org.talares.api.datatypes.items.BinaryVariant
a successful or failed Future of a org.talares.api.datatypes.items.BinaryVariant
Get a org.talares.api.datatypes.items.Component by it's publication ID and it's item ID.
Get a org.talares.api.datatypes.items.Component by it's publication ID and it's item ID.
the ID of the publication the desired org.talares.api.datatypes.items.Component belongs to
the item ID of the desired org.talares.api.datatypes.items.Component
a successful or failed Future of a org.talares.api.datatypes.items.Component
Get a org.talares.api.datatypes.items.ComponentPresentation by it's publication ID, it's component ID and it's template ID.
Get a org.talares.api.datatypes.items.ComponentPresentation by it's publication ID, it's component ID and it's template ID.
the ID of the publication the desired org.talares.api.datatypes.items.ComponentPresentation belongs to
the component ID of the desired org.talares.api.datatypes.items.ComponentPresentation
the template ID of the desired org.talares.api.datatypes.items.ComponentPresentation
a successful or failed Future of a org.talares.api.datatypes.items.ComponentPresentation
Get a org.talares.api.datatypes.items.CustomMeta by it's ID.
Get a org.talares.api.datatypes.items.CustomMeta by it's ID.
the ID of the desired org.talares.api.datatypes.items.CustomMeta
a successful or failed Future of a org.talares.api.datatypes.items.CustomMeta
Get a org.talares.api.datatypes.items.Keyword by it's ID, it's publication ID and it's taxonomy ID.
Get a org.talares.api.datatypes.items.Keyword by it's ID, it's publication ID and it's taxonomy ID.
the ID of the publication the desired org.talares.api.datatypes.items.Keyword belongs to
the ID of the desired org.talares.api.datatypes.items.Keyword
the taxonomy ID of the desired org.talares.api.datatypes.items.Keyword
a successful or failed Future of a org.talares.api.datatypes.items.Keyword
Get a org.talares.api.datatypes.items.Page by it's URL.
Get a org.talares.api.datatypes.items.Page by it's URL.
the URL of the org.talares.api.datatypes.items.Page within the Tridion CMS.
a successful or failed Future of a org.talares.api.datatypes.items.Page
Get a org.talares.api.datatypes.items.Page by it's publication ID and it's item ID.
Get a org.talares.api.datatypes.items.Page by it's publication ID and it's item ID.
the ID of the publication the desired org.talares.api.datatypes.items.Page belongs to
the item ID of the desired org.talares.api.datatypes.items.Page
a successful or failed Future of a org.talares.api.datatypes.items.Page
Get a org.talares.api.datatypes.items.PageContent by it's publication ID and it's page ID.
Get a org.talares.api.datatypes.items.PageContent by it's publication ID and it's page ID.
the ID of the publication the desired org.talares.api.datatypes.items.PageContent belongs to
the page ID of the desired org.talares.api.datatypes.items.PageContent
a successful or failed Future of a org.talares.api.datatypes.items.PageContent
Get a org.talares.api.datatypes.items.Publication by it's ID
Get a org.talares.api.datatypes.items.Publication by it's ID
the ID of the desired org.talares.api.datatypes.items.Publication
a successful or failed Future of a org.talares.api.datatypes.items.Publication
Get a org.talares.api.datatypes.items.Schema by it's publication ID and it's schema ID.
Get a org.talares.api.datatypes.items.Schema by it's publication ID and it's schema ID.
the ID of the publication the desired org.talares.api.datatypes.items.Schema belongs to
the schema ID of the desired org.talares.api.datatypes.items.Schema
a successful or failed Future of a org.talares.api.datatypes.items.Schema
Get a org.talares.api.datatypes.items.StructureGroup by it's ID and it's publication ID.
Get a org.talares.api.datatypes.items.StructureGroup by it's ID and it's publication ID.
the ID of the publication the desired org.talares.api.datatypes.items.StructureGroup belongs to
the ID of the desired org.talares.api.datatypes.items.StructureGroup
a successful or failed Future of a org.talares.api.datatypes.items.StructureGroup
Get a org.talares.api.datatypes.items.Template by it's publication ID and it's item ID.
Get a org.talares.api.datatypes.items.Template by it's publication ID and it's item ID.
the ID of the publication the desired org.talares.api.datatypes.items.Template belongs to
the item ID of the desired org.talares.api.datatypes.items.Template
a successful or failed Future of a org.talares.api.datatypes.items.Template
The org.talares.api.actors.Mediator for use within the library.
The org.talares.api.actors.Mediator for use within the library. *
Reference to the configured settings *
Terminates the library which implies shutting down the actor system.
Terminates the library which implies shutting down the actor system. Should be used when the API will no longer be accesses and only then.
Timeout used by Akka when leveraging the aks pattern *
Class holding the main client facing API.
An instance of this class should be created to gain access to the API. A cache strategy should be decided upon and a corresponding instance of a subclass of org.talares.api.cache.Cache should be provided to the constructor of this class.
Example:
0.1.0
org.talares.api.cache.Cache