Transformed
- A type annotated to be used as a target of transformation from CDAEntry.public class TransformQuery<Transformed> extends AbsQuery<Transformed,TransformQuery<Transformed>>
Please make sure to TransformQuery.ContentfulEntryModel
and TransformQuery.ContentfulField
annotations, to
highlight classes and fields to be transformed
Modifier and Type | Class and Description |
---|---|
static interface |
TransformQuery.ContentfulEntryModel
Annotation to mark a model class to be a "ContentfulEntryModel"
|
static interface |
TransformQuery.ContentfulField
This annotation marks a field of a
TransformQuery.ContentfulEntryModel to be part of the parsing. |
static interface |
TransformQuery.ContentfulSystemField
This annotation marks a system field.
|
Modifier and Type | Method and Description |
---|---|
io.reactivex.Flowable<java.util.Collection<Transformed>> |
all()
Retrieve all transformed entries from Contentful.
|
CDACallback<java.util.Collection<Transformed>> |
all(CDACallback<java.util.Collection<Transformed>> callback)
Retrieve all transformed entries from Contentful by the use of a callback.
|
io.reactivex.Flowable<Transformed> |
one(java.lang.String id)
Retrieve the transformed entry from Contentful.
|
CDACallback<Transformed> |
one(java.lang.String id,
CDACallback<Transformed> callback)
Retrieve the transformed entry from Contentful by using the given callback.
|
include, limit, linksToAssetId, linksToEntryId, orderBy, orderBy, reverseOrderBy, select, select, skip, where, where, withContentType
public io.reactivex.Flowable<Transformed> one(java.lang.String id)
id
- the id of the entry of type Transformed.CDAResourceNotFoundException
- if no such resource was found.java.lang.IllegalStateException
- if the transformed class could not be created.java.lang.IllegalStateException
- if the transformed class could not be accessed.public CDACallback<Transformed> one(java.lang.String id, CDACallback<Transformed> callback)
id
- the id of the entry of type transformed.CDAResourceNotFoundException
- if no such resource was found.java.lang.IllegalStateException
- if the transformed class could not be created.java.lang.IllegalStateException
- if the transformed class could not be accessed.public io.reactivex.Flowable<java.util.Collection<Transformed>> all()
CDAResourceNotFoundException
- if no such resource was found.java.lang.IllegalStateException
- if the transformed class could not be created.java.lang.IllegalStateException
- if the transformed class could not be accessed.public CDACallback<java.util.Collection<Transformed>> all(CDACallback<java.util.Collection<Transformed>> callback)
CDAResourceNotFoundException
- if no such resource was found.java.lang.IllegalStateException
- if the transformed class could not be created.java.lang.IllegalStateException
- if the transformed class could not be accessed.Copyright © 2019 Contentful, GmbH.. All Rights Reserved.