Class TransformQuery<Transformed>

    • Method Detail

      • one

        public io.reactivex.rxjava3.core.Flowable<Transformed> one​(java.lang.String id)
        Retrieve the transformed entry from Contentful.
        Parameters:
        id - the id of the entry of type Transformed.
        Returns:
        the Transformed entry.
        Throws:
        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.
      • one

        public CDACallback<Transformed> one​(java.lang.String id,
                                            CDACallback<Transformed> callback)
        Retrieve the transformed entry from Contentful by using the given callback.
        Parameters:
        id - the id of the entry of type transformed.
        Returns:
        the input callback for chaining.
        Throws:
        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.
      • all

        public io.reactivex.rxjava3.core.Flowable<java.util.Collection<Transformed>> all()
        Retrieve all transformed entries from Contentful.
        Returns:
        a collection of transformed entry.
        Throws:
        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.
      • all

        public CDACallback<java.util.Collection<Transformed>> all​(CDACallback<java.util.Collection<Transformed>> callback)
        Retrieve all transformed entries from Contentful by the use of a callback.
        Returns:
        a callback containing a collection of transformed entries.
        Throws:
        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.