## 接口的使用
com.obs.services.model.GranteeInterface

- 使用GranteeInterface的程序包
  程序包 | 说明
  --- | ---
  com.obs.services.model |

- - ### com.obs.services.model中GranteeInterface的使用

    实现GranteeInterface的com.obs.services.model中的类
    限定符和类型 | 类和说明
    --- | ---
    `class` | `CanonicalGrantee` Grantee information in the ACL, `AccessControlList`
    `class` | `GroupGrantee` Grantee group information in the ACL, `AccessControlList`

    返回GranteeInterface的com.obs.services.model中的方法
    限定符和类型 | 方法和说明
    --- | ---
    `GranteeInterface` | GrantAndPermission.`getGrantee()` Obtain the grantee (group) information.

    参数类型为GranteeInterface的com.obs.services.model中的方法
    限定符和类型 | 方法和说明
    --- | ---
    `List<Permission>` | AccessControlList.`getPermissionsForGrantee(GranteeInterface grantee)` Obtain the permission specified in the ACL `GranteeInterface`.
    `GrantAndPermission` | AccessControlList.`grantPermission(GranteeInterface grantee, Permission permission)` Specify permissions `Permission` in the ACL `GranteeInterface`.
    `GrantAndPermission` | AccessControlList.`grantPermission(GranteeInterface grantee, Permission permission, boolean delivered)`

    参数类型为GranteeInterface的com.obs.services.model中的构造器
    构造器和说明
    `GrantAndPermission(GranteeInterface grantee, Permission permission)` Constructor

Copyright © 2021. All rights reserved.