java.lang.Object | |
↳ | com.kinvey.java.AppDataOperation |
![]() |
Builder for synchronous blocking app data requests.
This class uses the builder pattern to allow extensible use of all the features of our core app data API. There are various `set*()` methods, which can be chained together to create a builder. Once the builder has been configured, a call to `myBuilder.build()` will return a blocking syncronous request. By calling `myBuilder.build().execute()` the the request will be constructed and executed.
`myBuilder.build()` returns a blocking syncronous request for app data from a collection. This class provides multiple implementations for various CRUD interactions.
The code below will build and execute a blocking get entity request.
MyEntity myEntity = new BlockingGetEntityBuilder("myCollection", MyEntity.class, AppData.this) .setEntityID(myEntity.getId()); .setResolves(new String[]{"myOtherCollectionReference1", myOtherCollectionReference2}) .setResolveDepth(2) .build() .execute();
Nested Classes | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
class | AppDataOperation.BlockingDeleteBuilder | Builder for creating new DELETE requests with the core App Data API. | |||||||||
class | AppDataOperation.BlockingGetBuilder | Builder for creating new GET requests with the core App Data API. | |||||||||
class | AppDataOperation.BlockingGetEntityBuilder | Builder for creating new GET ENTITY requests with the core App Data API. | |||||||||
class | AppDataOperation.BlockingSaveBuilder | Builder for creating new SAVE requests with the core App Data API. |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
AppDataOperation() |
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |