This repository was archived by the owner on Mar 19, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +7
-4
lines changed
owncloudComLibrary/src/main/java/com/owncloud/android/lib/resources/shares Expand file tree Collapse file tree 3 files changed +7
-4
lines changed Original file line number Diff line number Diff line change 1
1
/* ownCloud Android Library is available under MIT license
2
2
*
3
+ * @author Christian Schabesberger
3
4
* @author masensio
4
5
* @author David A. Velasco
5
6
* @author David González Verdugo
@@ -73,6 +74,7 @@ import java.util.ArrayList
73
74
* Status codes:
74
75
* 100 - successful
75
76
*
77
+ * @author Christian Schabesberger
76
78
* @author masensio
77
79
* @author David A. Velasco
78
80
* @author David González Verdugo
Original file line number Diff line number Diff line change 1
1
/* *
2
2
* ownCloud Android client application
3
3
*
4
+ * @author Christian Schabesberger
4
5
* @author David González Verdugo
5
6
*
6
7
* Copyright (C) 2020 ownCloud GmbH.
@@ -22,13 +23,12 @@ package com.owncloud.android.lib.resources.shares.services
22
23
23
24
import com.owncloud.android.lib.common.operations.RemoteOperationResult
24
25
import com.owncloud.android.lib.resources.Service
25
- import org.json.JSONObject
26
- import java.util.ArrayList
26
+ import com.owncloud.android.lib.resources.shares.responses.ShareeOcsResponse
27
27
28
28
interface ShareeService : Service {
29
29
fun getSharees (
30
30
searchString : String ,
31
31
page : Int ,
32
32
perPage : Int
33
- ): RemoteOperationResult <ArrayList < JSONObject > >
33
+ ): RemoteOperationResult <ShareeOcsResponse >
34
34
}
Original file line number Diff line number Diff line change @@ -23,6 +23,7 @@ package com.owncloud.android.lib.resources.shares.services.implementation
23
23
import com.owncloud.android.lib.common.OwnCloudClient
24
24
import com.owncloud.android.lib.common.operations.RemoteOperationResult
25
25
import com.owncloud.android.lib.resources.shares.GetRemoteShareesOperation
26
+ import com.owncloud.android.lib.resources.shares.responses.ShareeOcsResponse
26
27
import com.owncloud.android.lib.resources.shares.services.ShareeService
27
28
import org.json.JSONObject
28
29
import java.util.ArrayList
@@ -33,7 +34,7 @@ class OCShareeService(override val client: OwnCloudClient) :
33
34
searchString : String ,
34
35
page : Int ,
35
36
perPage : Int
36
- ): RemoteOperationResult <ArrayList < JSONObject > > =
37
+ ): RemoteOperationResult <ShareeOcsResponse > =
37
38
GetRemoteShareesOperation (
38
39
searchString,
39
40
page,
You can’t perform that action at this time.
0 commit comments