public class FilterSharingApi extends Object
| Constructor and Description |
|---|
FilterSharingApi(org.everit.http.restclient.RestClient restClient) |
| Modifier and Type | Method and Description |
|---|---|
io.reactivex.Single<List<SharePermission>> |
addSharePermission(Long id,
SharePermissionInputBean sharePermissionInputBean,
Optional<org.everit.http.restclient.RestRequestEnhancer> restRequestEnhancer)
Add share permission
Add a share permissions to a filter.
|
io.reactivex.Completable |
deleteSharePermission(Long id,
Long permissionId,
Optional<org.everit.http.restclient.RestRequestEnhancer> restRequestEnhancer)
Delete share permission
Deletes a share permission from a filter.
|
io.reactivex.Single<DefaultShareScope> |
getDefaultShareScope(Optional<org.everit.http.restclient.RestRequestEnhancer> restRequestEnhancer)
Get default share scope
Returns the default sharing settings for new filters and dashboards for a user.
|
io.reactivex.Single<SharePermission> |
getSharePermission(Long id,
Long permissionId,
Optional<org.everit.http.restclient.RestRequestEnhancer> restRequestEnhancer)
Get share permission
Returns a share permission for a filter.
|
io.reactivex.Single<List<SharePermission>> |
getSharePermissions(Long id,
Optional<org.everit.http.restclient.RestRequestEnhancer> restRequestEnhancer)
Get share permissions
Returns the share permissions for a filter.
|
io.reactivex.Single<DefaultShareScope> |
setDefaultShareScope(DefaultShareScope defaultShareScope,
Optional<org.everit.http.restclient.RestRequestEnhancer> restRequestEnhancer)
Set default share scope
Sets the default sharing for new filters and dashboards for a user.
|
public FilterSharingApi(org.everit.http.restclient.RestClient restClient)
public io.reactivex.Single<List<SharePermission>> addSharePermission(Long id, SharePermissionInputBean sharePermissionInputBean, Optional<org.everit.http.restclient.RestRequestEnhancer> restRequestEnhancer)
id - The ID of the filter. (required)sharePermissionInputBean - (required)restRequestEnhancer - Adds the possibility to modify the rest request before sending out. This can be useful to add authorizations tokens for example.
public io.reactivex.Completable deleteSharePermission(Long id, Long permissionId, Optional<org.everit.http.restclient.RestRequestEnhancer> restRequestEnhancer)
id - The ID of the filter. (required)permissionId - The ID of the share permission. (required)restRequestEnhancer - Adds the possibility to modify the rest request before sending out. This can be useful to add authorizations tokens for example.
public io.reactivex.Single<DefaultShareScope> getDefaultShareScope(Optional<org.everit.http.restclient.RestRequestEnhancer> restRequestEnhancer)
restRequestEnhancer - Adds the possibility to modify the rest request before sending out. This can be useful to add authorizations tokens for example.
public io.reactivex.Single<SharePermission> getSharePermission(Long id, Long permissionId, Optional<org.everit.http.restclient.RestRequestEnhancer> restRequestEnhancer)
id - The ID of the filter. (required)permissionId - The ID of the share permission. (required)restRequestEnhancer - Adds the possibility to modify the rest request before sending out. This can be useful to add authorizations tokens for example.
public io.reactivex.Single<List<SharePermission>> getSharePermissions(Long id, Optional<org.everit.http.restclient.RestRequestEnhancer> restRequestEnhancer)
id - The ID of the filter. (required)restRequestEnhancer - Adds the possibility to modify the rest request before sending out. This can be useful to add authorizations tokens for example.
public io.reactivex.Single<DefaultShareScope> setDefaultShareScope(DefaultShareScope defaultShareScope, Optional<org.everit.http.restclient.RestRequestEnhancer> restRequestEnhancer)
defaultShareScope - (required)restRequestEnhancer - Adds the possibility to modify the rest request before sending out. This can be useful to add authorizations tokens for example.
Copyright © 2011–2021 Everit Kft.. All rights reserved.