public final class GlobalPermissionSet extends Object
Modifier and Type | Class and Description |
---|---|
static class |
GlobalPermissionSet.Builder |
Modifier and Type | Method and Description |
---|---|
Map<ContentTypes,Collection<PermissionType>> |
asMap() |
static GlobalPermissionSet |
empty() |
boolean |
equals(Object o) |
static GlobalPermissionSet |
from(Map<ContentTypes,Collection<PermissionType>> permissionMatrix) |
static GlobalPermissionSet |
from(com.google.common.collect.Multimap<ContentTypes,PermissionType> permissionMatrix) |
Collection<PermissionType> |
get(ContentTypes type) |
boolean |
has(ContentTypes contentTypes,
PermissionType permissionType) |
int |
hashCode() |
static GlobalPermissionSet.Builder |
newBuilder() |
String |
toString() |
GlobalPermissionSet |
withPermission(ContentTypes contentType,
PermissionType... permission) |
public static GlobalPermissionSet.Builder newBuilder()
public static GlobalPermissionSet empty()
public static GlobalPermissionSet from(com.google.common.collect.Multimap<ContentTypes,PermissionType> permissionMatrix)
public static GlobalPermissionSet from(Map<ContentTypes,Collection<PermissionType>> permissionMatrix)
public boolean has(ContentTypes contentTypes, PermissionType permissionType)
public Collection<PermissionType> get(ContentTypes type)
public GlobalPermissionSet withPermission(ContentTypes contentType, PermissionType... permission)
public Map<ContentTypes,Collection<PermissionType>> asMap()
Copyright © 2018 The European Holocaust Research Infrastructure (EHRI). All rights reserved.