public static class InheritedGlobalPermissionSet.Builder extends Object
Constructor and Description |
---|
Builder(String accessorId,
GlobalPermissionSet permissionSet)
Create a new builder with the primary (subject) accessor.
|
Modifier and Type | Method and Description |
---|---|
InheritedGlobalPermissionSet |
build()
Construct the InheritedGlobalPermissionSet from the builder.
|
InheritedGlobalPermissionSet.Builder |
withInheritedPermissions(String accessorId,
GlobalPermissionSet permissionSet)
Add an accessor from whom the user inherits permissions.
|
public Builder(String accessorId, GlobalPermissionSet permissionSet)
accessorId
- The primary accessor's IDpermissionSet
- The primary accessor's own global permissionspublic InheritedGlobalPermissionSet.Builder withInheritedPermissions(String accessorId, GlobalPermissionSet permissionSet)
accessorId
- The accessorpermissionSet
- The accessor's permissionspublic InheritedGlobalPermissionSet build()
Copyright © 2018 The European Holocaust Research Infrastructure (EHRI). All rights reserved.