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