public class PagePermission extends Object implements Permission
Modifier and Type | Field and Description |
---|---|
protected AccessLevel |
accessLevel |
protected Permissions |
calculatedPermissions |
static String |
copyright |
protected String[] |
permissions |
Constructor and Description |
---|
PagePermission(Permissions calculatedPermissions,
AccessLevel accessLevel,
String... permissions) |
Modifier and Type | Method and Description |
---|---|
AccessLevel |
getAccessLevel() |
Permissions |
getCalculatedPermissions() |
String[] |
getPermissions() |
boolean |
implies(Permission p) |
public static final String copyright
protected final Permissions calculatedPermissions
protected final AccessLevel accessLevel
protected final String[] permissions
public PagePermission(Permissions calculatedPermissions, AccessLevel accessLevel, String... permissions)
public boolean implies(Permission p)
implies
in interface Permission
public Permissions getCalculatedPermissions()
public AccessLevel getAccessLevel()
public String[] getPermissions()