.class public interface abstract Lcom/amplifyframework/datastore/appsync/AppSync; .super Ljava/lang/Object; .source "AppSync.java" # virtual methods .method public abstract buildSyncRequest(Lcom/amplifyframework/core/model/ModelSchema;Ljava/lang/Long;Ljava/lang/Integer;Lcom/amplifyframework/core/model/query/predicate/QueryPredicate;)Lcom/amplifyframework/api/graphql/GraphQLRequest; .param p1 # Lcom/amplifyframework/core/model/ModelSchema; .annotation build Landroidx/annotation/NonNull; .end annotation .end param .param p2 # Ljava/lang/Long; .annotation build Landroidx/annotation/Nullable; .end annotation .end param .param p3 # Ljava/lang/Integer; .annotation build Landroidx/annotation/Nullable; .end annotation .end param .param p4 # Lcom/amplifyframework/core/model/query/predicate/QueryPredicate; .annotation build Landroidx/annotation/NonNull; .end annotation .end param .annotation build Landroidx/annotation/NonNull; .end annotation .annotation system Ldalvik/annotation/Signature; value = { "(", "Lcom/amplifyframework/core/model/ModelSchema;", "Ljava/lang/Long;", "Ljava/lang/Integer;", "Lcom/amplifyframework/core/model/query/predicate/QueryPredicate;", ")", "Lcom/amplifyframework/api/graphql/GraphQLRequest<", "Lcom/amplifyframework/api/graphql/PaginatedResult<", "Lcom/amplifyframework/datastore/appsync/ModelWithMetadata<", "TT;>;>;>;" } .end annotation .annotation system Ldalvik/annotation/Throws; value = { Lcom/amplifyframework/datastore/DataStoreException; } .end annotation .end method .method public abstract create(Lcom/amplifyframework/core/model/Model;Lcom/amplifyframework/core/model/ModelSchema;Lcom/amplifyframework/core/Consumer;Lcom/amplifyframework/core/Consumer;)Lcom/amplifyframework/core/async/Cancelable; .param p1 # Lcom/amplifyframework/core/model/Model; .annotation build Landroidx/annotation/NonNull; .end annotation .end param .param p2 # Lcom/amplifyframework/core/model/ModelSchema; .annotation build Landroidx/annotation/NonNull; .end annotation .end param .param p3 # Lcom/amplifyframework/core/Consumer; .annotation build Landroidx/annotation/NonNull; .end annotation .end param .param p4 # Lcom/amplifyframework/core/Consumer; .annotation build Landroidx/annotation/NonNull; .end annotation .end param .annotation build Landroidx/annotation/NonNull; .end annotation .annotation system Ldalvik/annotation/Signature; value = { "(TT;", "Lcom/amplifyframework/core/model/ModelSchema;", "Lcom/amplifyframework/core/Consumer<", "Lcom/amplifyframework/api/graphql/GraphQLResponse<", "Lcom/amplifyframework/datastore/appsync/ModelWithMetadata<", "TT;>;>;>;", "Lcom/amplifyframework/core/Consumer<", "Lcom/amplifyframework/datastore/DataStoreException;", ">;)", "Lcom/amplifyframework/core/async/Cancelable;" } .end annotation .end method .method public abstract delete(Lcom/amplifyframework/core/model/ModelSchema;Ljava/lang/String;Ljava/lang/Integer;Lcom/amplifyframework/core/Consumer;Lcom/amplifyframework/core/Consumer;)Lcom/amplifyframework/core/async/Cancelable; .param p1 # Lcom/amplifyframework/core/model/ModelSchema; .annotation build Landroidx/annotation/NonNull; .end annotation .end param .param p2 # Ljava/lang/String; .annotation build Landroidx/annotation/NonNull; .end annotation .end param .param p3 # Ljava/lang/Integer; .annotation build Landroidx/annotation/NonNull; .end annotation .end param .param p4 # Lcom/amplifyframework/core/Consumer; .annotation build Landroidx/annotation/NonNull; .end annotation .end param .param p5 # Lcom/amplifyframework/core/Consumer; .annotation build Landroidx/annotation/NonNull; .end annotation .end param .annotation build Landroidx/annotation/NonNull; .end annotation .annotation system Ldalvik/annotation/Signature; value = { "(", "Lcom/amplifyframework/core/model/ModelSchema;", "Ljava/lang/String;", "Ljava/lang/Integer;", "Lcom/amplifyframework/core/Consumer<", "Lcom/amplifyframework/api/graphql/GraphQLResponse<", "Lcom/amplifyframework/datastore/appsync/ModelWithMetadata<", "TT;>;>;>;", "Lcom/amplifyframework/core/Consumer<", "Lcom/amplifyframework/datastore/DataStoreException;", ">;)", "Lcom/amplifyframework/core/async/Cancelable;" } .end annotation .end method .method public abstract delete(Lcom/amplifyframework/core/model/ModelSchema;Ljava/lang/String;Ljava/lang/Integer;Lcom/amplifyframework/core/model/query/predicate/QueryPredicate;Lcom/amplifyframework/core/Consumer;Lcom/amplifyframework/core/Consumer;)Lcom/amplifyframework/core/async/Cancelable; .param p1 # Lcom/amplifyframework/core/model/ModelSchema; .annotation build Landroidx/annotation/NonNull; .end annotation .end param .param p2 # Ljava/lang/String; .annotation build Landroidx/annotation/NonNull; .end annotation .end param .param p3 # Ljava/lang/Integer; .annotation build Landroidx/annotation/NonNull; .end annotation .end param .param p4 # Lcom/amplifyframework/core/model/query/predicate/QueryPredicate; .annotation build Landroidx/annotation/NonNull; .end annotation .end param .param p5 # Lcom/amplifyframework/core/Consumer; .annotation build Landroidx/annotation/NonNull; .end annotation .end param .param p6 # Lcom/amplifyframework/core/Consumer; .annotation build Landroidx/annotation/NonNull; .end annotation .end param .annotation build Landroidx/annotation/NonNull; .end annotation .annotation system Ldalvik/annotation/Signature; value = { "(", "Lcom/amplifyframework/core/model/ModelSchema;", "Ljava/lang/String;", "Ljava/lang/Integer;", "Lcom/amplifyframework/core/model/query/predicate/QueryPredicate;", "Lcom/amplifyframework/core/Consumer<", "Lcom/amplifyframework/api/graphql/GraphQLResponse<", "Lcom/amplifyframework/datastore/appsync/ModelWithMetadata<", "TT;>;>;>;", "Lcom/amplifyframework/core/Consumer<", "Lcom/amplifyframework/datastore/DataStoreException;", ">;)", "Lcom/amplifyframework/core/async/Cancelable;" } .end annotation .end method .method public abstract onCreate(Lcom/amplifyframework/core/model/ModelSchema;Lcom/amplifyframework/core/Consumer;Lcom/amplifyframework/core/Consumer;Lcom/amplifyframework/core/Consumer;Lcom/amplifyframework/core/Action;)Lcom/amplifyframework/core/async/Cancelable; .param p1 # Lcom/amplifyframework/core/model/ModelSchema; .annotation build Landroidx/annotation/NonNull; .end annotation .end param .param p2 # Lcom/amplifyframework/core/Consumer; .annotation build Landroidx/annotation/NonNull; .end annotation .end param .param p3 # Lcom/amplifyframework/core/Consumer; .annotation build Landroidx/annotation/NonNull; .end annotation .end param .param p4 # Lcom/amplifyframework/core/Consumer; .annotation build Landroidx/annotation/NonNull; .end annotation .end param .param p5 # Lcom/amplifyframework/core/Action; .annotation build Landroidx/annotation/NonNull; .end annotation .end param .annotation build Landroidx/annotation/NonNull; .end annotation .annotation system Ldalvik/annotation/Signature; value = { "(", "Lcom/amplifyframework/core/model/ModelSchema;", "Lcom/amplifyframework/core/Consumer<", "Ljava/lang/String;", ">;", "Lcom/amplifyframework/core/Consumer<", "Lcom/amplifyframework/api/graphql/GraphQLResponse<", "Lcom/amplifyframework/datastore/appsync/ModelWithMetadata<", "TT;>;>;>;", "Lcom/amplifyframework/core/Consumer<", "Lcom/amplifyframework/datastore/DataStoreException;", ">;", "Lcom/amplifyframework/core/Action;", ")", "Lcom/amplifyframework/core/async/Cancelable;" } .end annotation .end method .method public abstract onDelete(Lcom/amplifyframework/core/model/ModelSchema;Lcom/amplifyframework/core/Consumer;Lcom/amplifyframework/core/Consumer;Lcom/amplifyframework/core/Consumer;Lcom/amplifyframework/core/Action;)Lcom/amplifyframework/core/async/Cancelable; .param p1 # Lcom/amplifyframework/core/model/ModelSchema; .annotation build Landroidx/annotation/NonNull; .end annotation .end param .param p2 # Lcom/amplifyframework/core/Consumer; .annotation build Landroidx/annotation/NonNull; .end annotation .end param .param p3 # Lcom/amplifyframework/core/Consumer; .annotation build Landroidx/annotation/NonNull; .end annotation .end param .param p4 # Lcom/amplifyframework/core/Consumer; .annotation build Landroidx/annotation/NonNull; .end annotation .end param .param p5 # Lcom/amplifyframework/core/Action; .annotation build Landroidx/annotation/NonNull; .end annotation .end param .annotation build Landroidx/annotation/NonNull; .end annotation .annotation system Ldalvik/annotation/Signature; value = { "(", "Lcom/amplifyframework/core/model/ModelSchema;", "Lcom/amplifyframework/core/Consumer<", "Ljava/lang/String;", ">;", "Lcom/amplifyframework/core/Consumer<", "Lcom/amplifyframework/api/graphql/GraphQLResponse<", "Lcom/amplifyframework/datastore/appsync/ModelWithMetadata<", "TT;>;>;>;", "Lcom/amplifyframework/core/Consumer<", "Lcom/amplifyframework/datastore/DataStoreException;", ">;", "Lcom/amplifyframework/core/Action;", ")", "Lcom/amplifyframework/core/async/Cancelable;" } .end annotation .end method .method public abstract onUpdate(Lcom/amplifyframework/core/model/ModelSchema;Lcom/amplifyframework/core/Consumer;Lcom/amplifyframework/core/Consumer;Lcom/amplifyframework/core/Consumer;Lcom/amplifyframework/core/Action;)Lcom/amplifyframework/core/async/Cancelable; .param p1 # Lcom/amplifyframework/core/model/ModelSchema; .annotation build Landroidx/annotation/NonNull; .end annotation .end param .param p2 # Lcom/amplifyframework/core/Consumer; .annotation build Landroidx/annotation/NonNull; .end annotation .end param .param p3 # Lcom/amplifyframework/core/Consumer; .annotation build Landroidx/annotation/NonNull; .end annotation .end param .param p4 # Lcom/amplifyframework/core/Consumer; .annotation build Landroidx/annotation/NonNull; .end annotation .end param .param p5 # Lcom/amplifyframework/core/Action; .annotation build Landroidx/annotation/NonNull; .end annotation .end param .annotation build Landroidx/annotation/NonNull; .end annotation .annotation system Ldalvik/annotation/Signature; value = { "(", "Lcom/amplifyframework/core/model/ModelSchema;", "Lcom/amplifyframework/core/Consumer<", "Ljava/lang/String;", ">;", "Lcom/amplifyframework/core/Consumer<", "Lcom/amplifyframework/api/graphql/GraphQLResponse<", "Lcom/amplifyframework/datastore/appsync/ModelWithMetadata<", "TT;>;>;>;", "Lcom/amplifyframework/core/Consumer<", "Lcom/amplifyframework/datastore/DataStoreException;", ">;", "Lcom/amplifyframework/core/Action;", ")", "Lcom/amplifyframework/core/async/Cancelable;" } .end annotation .end method .method public abstract sync(Lcom/amplifyframework/api/graphql/GraphQLRequest;Lcom/amplifyframework/core/Consumer;Lcom/amplifyframework/core/Consumer;)Lcom/amplifyframework/core/async/Cancelable; .param p1 # Lcom/amplifyframework/api/graphql/GraphQLRequest; .annotation build Landroidx/annotation/NonNull; .end annotation .end param .param p2 # Lcom/amplifyframework/core/Consumer; .annotation build Landroidx/annotation/NonNull; .end annotation .end param .param p3 # Lcom/amplifyframework/core/Consumer; .annotation build Landroidx/annotation/NonNull; .end annotation .end param .annotation build Landroidx/annotation/NonNull; .end annotation .annotation system Ldalvik/annotation/Signature; value = { "(", "Lcom/amplifyframework/api/graphql/GraphQLRequest<", "Lcom/amplifyframework/api/graphql/PaginatedResult<", "Lcom/amplifyframework/datastore/appsync/ModelWithMetadata<", "TT;>;>;>;", "Lcom/amplifyframework/core/Consumer<", "Lcom/amplifyframework/api/graphql/GraphQLResponse<", "Lcom/amplifyframework/api/graphql/PaginatedResult<", "Lcom/amplifyframework/datastore/appsync/ModelWithMetadata<", "TT;>;>;>;>;", "Lcom/amplifyframework/core/Consumer<", "Lcom/amplifyframework/datastore/DataStoreException;", ">;)", "Lcom/amplifyframework/core/async/Cancelable;" } .end annotation .end method .method public abstract update(Lcom/amplifyframework/core/model/Model;Lcom/amplifyframework/core/model/ModelSchema;Ljava/lang/Integer;Lcom/amplifyframework/core/Consumer;Lcom/amplifyframework/core/Consumer;)Lcom/amplifyframework/core/async/Cancelable; .param p1 # Lcom/amplifyframework/core/model/Model; .annotation build Landroidx/annotation/NonNull; .end annotation .end param .param p2 # Lcom/amplifyframework/core/model/ModelSchema; .annotation build Landroidx/annotation/NonNull; .end annotation .end param .param p3 # Ljava/lang/Integer; .annotation build Landroidx/annotation/NonNull; .end annotation .end param .param p4 # Lcom/amplifyframework/core/Consumer; .annotation build Landroidx/annotation/NonNull; .end annotation .end param .param p5 # Lcom/amplifyframework/core/Consumer; .annotation build Landroidx/annotation/NonNull; .end annotation .end param .annotation build Landroidx/annotation/NonNull; .end annotation .annotation system Ldalvik/annotation/Signature; value = { "(TT;", "Lcom/amplifyframework/core/model/ModelSchema;", "Ljava/lang/Integer;", "Lcom/amplifyframework/core/Consumer<", "Lcom/amplifyframework/api/graphql/GraphQLResponse<", "Lcom/amplifyframework/datastore/appsync/ModelWithMetadata<", "TT;>;>;>;", "Lcom/amplifyframework/core/Consumer<", "Lcom/amplifyframework/datastore/DataStoreException;", ">;)", "Lcom/amplifyframework/core/async/Cancelable;" } .end annotation .end method .method public abstract update(Lcom/amplifyframework/core/model/Model;Lcom/amplifyframework/core/model/ModelSchema;Ljava/lang/Integer;Lcom/amplifyframework/core/model/query/predicate/QueryPredicate;Lcom/amplifyframework/core/Consumer;Lcom/amplifyframework/core/Consumer;)Lcom/amplifyframework/core/async/Cancelable; .param p1 # Lcom/amplifyframework/core/model/Model; .annotation build Landroidx/annotation/NonNull; .end annotation .end param .param p2 # Lcom/amplifyframework/core/model/ModelSchema; .annotation build Landroidx/annotation/NonNull; .end annotation .end param .param p3 # Ljava/lang/Integer; .annotation build Landroidx/annotation/NonNull; .end annotation .end param .param p4 # Lcom/amplifyframework/core/model/query/predicate/QueryPredicate; .annotation build Landroidx/annotation/NonNull; .end annotation .end param .param p5 # Lcom/amplifyframework/core/Consumer; .annotation build Landroidx/annotation/NonNull; .end annotation .end param .param p6 # Lcom/amplifyframework/core/Consumer; .annotation build Landroidx/annotation/NonNull; .end annotation .end param .annotation build Landroidx/annotation/NonNull; .end annotation .annotation system Ldalvik/annotation/Signature; value = { "(TT;", "Lcom/amplifyframework/core/model/ModelSchema;", "Ljava/lang/Integer;", "Lcom/amplifyframework/core/model/query/predicate/QueryPredicate;", "Lcom/amplifyframework/core/Consumer<", "Lcom/amplifyframework/api/graphql/GraphQLResponse<", "Lcom/amplifyframework/datastore/appsync/ModelWithMetadata<", "TT;>;>;>;", "Lcom/amplifyframework/core/Consumer<", "Lcom/amplifyframework/datastore/DataStoreException;", ">;)", "Lcom/amplifyframework/core/async/Cancelable;" } .end annotation .end method