Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: MLIBZ-3120, Data Requests Kotlin migration (#264)
* refactor: MLIBZ-3120, Data Requests Kotlin migration * Merge remote-tracking branch 'origin/master' into feature/MLIBZ-3120-kotlin-data-requests
- Loading branch information
Showing
6 changed files
with
41 additions
and
45 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
36 changes: 0 additions & 36 deletions
36
java-api-core/src/com/kinvey/java/store/LinkedBaseDataStore.java
This file was deleted.
Oops, something went wrong.
32 changes: 32 additions & 0 deletions
32
java-api-core/src/com/kinvey/java/store/LinkedBaseDataStore.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
/* | ||
* Copyright (c) 2016, Kinvey, Inc. All rights reserved. | ||
* | ||
* This software is licensed to you under the Kinvey terms of service located at | ||
* http://www.kinvey.com/terms-of-use. By downloading, accessing and/or using this | ||
* software, you hereby accept such terms of service (and any agreement referenced | ||
* therein) and agree that you have read, understand and agree to be bound by such | ||
* terms of service and are of legal age to agree to such terms with Kinvey. | ||
* | ||
* This software contains valuable confidential and proprietary information of | ||
* KINVEY, INC and is subject to applicable licensing agreements. | ||
* Unauthorized reproduction, transmission or distribution of this file and its | ||
* contents is a violation of applicable laws. | ||
* | ||
*/ | ||
|
||
package com.kinvey.java.store | ||
|
||
import com.kinvey.java.AbstractClient | ||
import com.kinvey.java.LinkedResources.LinkedGenericJson | ||
import com.kinvey.java.network.LinkedNetworkManager | ||
|
||
class LinkedBaseDataStore<T : LinkedGenericJson> | ||
/** | ||
* Constructor for creating LinkedBaseDataStore for given collection that will be mapped to itemType class | ||
* | ||
* @param client Kinvey client instance to work with | ||
* @param collection collection name | ||
* @param itemType class that data should be mapped to | ||
* @param storeType type of storage that client want to use | ||
*/ | ||
(client: AbstractClient<*>, collection: String, itemType: Class<T>, storeType: StoreType) : BaseDataStore<T>(client, collection, itemType, storeType, LinkedNetworkManager<T>(collection, itemType, client)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters