public class PermissionSchemesApi extends Object
| Constructor and Description |
|---|
PermissionSchemesApi(org.everit.http.restclient.RestClient restClient) |
| Modifier and Type | Method and Description |
|---|---|
io.reactivex.Single<PermissionGrant> |
createPermissionGrant(Long schemeId,
PermissionGrant permissionGrant,
Optional<String> expand,
Optional<org.everit.http.restclient.RestRequestEnhancer> restRequestEnhancer)
Create permission grant
Creates a permission grant in a permission scheme.
|
io.reactivex.Single<PermissionScheme> |
createPermissionScheme(PermissionScheme requestBody,
Optional<String> expand,
Optional<org.everit.http.restclient.RestRequestEnhancer> restRequestEnhancer)
Create permission scheme
Creates a new permission scheme.
|
io.reactivex.Completable |
deletePermissionScheme(Long schemeId,
Optional<org.everit.http.restclient.RestRequestEnhancer> restRequestEnhancer)
Delete permission scheme
Deletes a permission scheme.
|
io.reactivex.Completable |
deletePermissionSchemeEntity(Long schemeId,
Long permissionId,
Optional<org.everit.http.restclient.RestRequestEnhancer> restRequestEnhancer)
Delete permission scheme grant
Deletes a permission grant from a permission scheme.
|
io.reactivex.Single<PermissionSchemes> |
getAllPermissionSchemes(Optional<String> expand,
Optional<org.everit.http.restclient.RestRequestEnhancer> restRequestEnhancer)
Get all permission schemes
Returns all permission schemes. ### About permission schemes and grants ### A permission scheme is a collection of permission grants.
|
io.reactivex.Single<PermissionScheme> |
getPermissionScheme(Long schemeId,
Optional<String> expand,
Optional<org.everit.http.restclient.RestRequestEnhancer> restRequestEnhancer)
Get permission scheme
Returns a permission scheme.
|
io.reactivex.Single<PermissionGrant> |
getPermissionSchemeGrant(Long schemeId,
Long permissionId,
Optional<String> expand,
Optional<org.everit.http.restclient.RestRequestEnhancer> restRequestEnhancer)
Get permission scheme grant
Returns a permission grant.
|
io.reactivex.Single<PermissionGrants> |
getPermissionSchemeGrants(Long schemeId,
Optional<String> expand,
Optional<org.everit.http.restclient.RestRequestEnhancer> restRequestEnhancer)
Get permission scheme grants
Returns all permission grants for a permission scheme.
|
io.reactivex.Single<PermissionScheme> |
updatePermissionScheme(Long schemeId,
PermissionScheme requestBody,
Optional<String> expand,
Optional<org.everit.http.restclient.RestRequestEnhancer> restRequestEnhancer)
Update permission scheme
Updates a permission scheme.
|
public PermissionSchemesApi(org.everit.http.restclient.RestClient restClient)
public io.reactivex.Single<PermissionGrant> createPermissionGrant(Long schemeId, PermissionGrant permissionGrant, Optional<String> expand, Optional<org.everit.http.restclient.RestRequestEnhancer> restRequestEnhancer)
schemeId - The ID of the permission scheme in which to create a new permission grant. (required)permissionGrant - The permission grant to create. (required)expand - Use expand to include additional information in the response. This parameter accepts a comma-separated list. Note that permissions are always included when you specify any value. Expand options include: * `permissions` Returns all permission grants for each permission scheme. * `user` Returns information about the user who is granted the permission. * `group` Returns information about the group that is granted the permission. * `projectRole` Returns information about the project role granted the permission. * `field` Returns information about the custom field granted the permission. * `all` Returns all expandable information. (optional)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<PermissionScheme> createPermissionScheme(PermissionScheme requestBody, Optional<String> expand, Optional<org.everit.http.restclient.RestRequestEnhancer> restRequestEnhancer)
requestBody - The permission scheme to create. (required)expand - Use expand to include additional information in the response. This parameter accepts a comma-separated list. Note that permissions are always included when you specify any value. Expand options include: * `all` Returns all expandable information. * `field` Returns information about the custom field granted the permission. * `group` Returns information about the group that is granted the permission. * `permissions` Returns all permission grants for each permission scheme. * `projectRole` Returns information about the project role granted the permission. * `user` Returns information about the user who is granted the permission. (optional)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 deletePermissionScheme(Long schemeId, Optional<org.everit.http.restclient.RestRequestEnhancer> restRequestEnhancer)
schemeId - The ID of the permission scheme being deleted. (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 deletePermissionSchemeEntity(Long schemeId, Long permissionId, Optional<org.everit.http.restclient.RestRequestEnhancer> restRequestEnhancer)
schemeId - The ID of the permission scheme to delete the permission grant from. (required)permissionId - The ID of the permission grant to delete. (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<PermissionSchemes> getAllPermissionSchemes(Optional<String> expand, Optional<org.everit.http.restclient.RestRequestEnhancer> restRequestEnhancer)
expand - Use expand to include additional information in the response. This parameter accepts a comma-separated list. Note that permissions are included when you specify any value. Expand options include: * `all` Returns all expandable information. * `field` Returns information about the custom field granted the permission. * `group` Returns information about the group that is granted the permission. * `permissions` Returns all permission grants for each permission scheme. * `projectRole` Returns information about the project role granted the permission. * `user` Returns information about the user who is granted the permission. (optional)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<PermissionScheme> getPermissionScheme(Long schemeId, Optional<String> expand, Optional<org.everit.http.restclient.RestRequestEnhancer> restRequestEnhancer)
schemeId - The ID of the permission scheme to return. (required)expand - Use expand to include additional information in the response. This parameter accepts a comma-separated list. Note that permissions are included when you specify any value. Expand options include: * `all` Returns all expandable information. * `field` Returns information about the custom field granted the permission. * `group` Returns information about the group that is granted the permission. * `permissions` Returns all permission grants for each permission scheme. * `projectRole` Returns information about the project role granted the permission. * `user` Returns information about the user who is granted the permission. (optional)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<PermissionGrant> getPermissionSchemeGrant(Long schemeId, Long permissionId, Optional<String> expand, Optional<org.everit.http.restclient.RestRequestEnhancer> restRequestEnhancer)
schemeId - The ID of the permission scheme. (required)permissionId - The ID of the permission grant. (required)expand - Use expand to include additional information in the response. This parameter accepts a comma-separated list. Note that permissions are always included when you specify any value. Expand options include: * `all` Returns all expandable information. * `field` Returns information about the custom field granted the permission. * `group` Returns information about the group that is granted the permission. * `permissions` Returns all permission grants for each permission scheme. * `projectRole` Returns information about the project role granted the permission. * `user` Returns information about the user who is granted the permission. (optional)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<PermissionGrants> getPermissionSchemeGrants(Long schemeId, Optional<String> expand, Optional<org.everit.http.restclient.RestRequestEnhancer> restRequestEnhancer)
schemeId - The ID of the permission scheme. (required)expand - Use expand to include additional information in the response. This parameter accepts a comma-separated list. Note that permissions are always included when you specify any value. Expand options include: * `permissions` Returns all permission grants for each permission scheme. * `user` Returns information about the user who is granted the permission. * `group` Returns information about the group that is granted the permission. * `projectRole` Returns information about the project role granted the permission. * `field` Returns information about the custom field granted the permission. * `all` Returns all expandable information. (optional)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<PermissionScheme> updatePermissionScheme(Long schemeId, PermissionScheme requestBody, Optional<String> expand, Optional<org.everit.http.restclient.RestRequestEnhancer> restRequestEnhancer)
schemeId - The ID of the permission scheme to update. (required)requestBody - (required)expand - Use expand to include additional information in the response. This parameter accepts a comma-separated list. Note that permissions are always included when you specify any value. Expand options include: * `all` Returns all expandable information. * `field` Returns information about the custom field granted the permission. * `group` Returns information about the group that is granted the permission. * `permissions` Returns all permission grants for each permission scheme. * `projectRole` Returns information about the project role granted the permission. * `user` Returns information about the user who is granted the permission. (optional)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.