java.lang.Object | |
↳ | com.kinvey.java.AppDataOperation |
![]() |
This class allows extensible use of various features provided by the AppData() API and variations
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 synchronous request. By calling `myBuilder.build().execute()` the the request will be constructed and executed.
This class supports CRUD operations on any AppData collection.
The code below will build and execute a blocking get entity request resolving two kinvey references up to a depth of 2..
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.BlockingSaveBuilder | Builder for creating new SAVE requests with the core App Data API. |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
AppDataOperation() |
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |