public static class AbstractCompiledPermissions.Result extends Object
Modifier and Type | Field and Description |
---|---|
static AbstractCompiledPermissions.Result |
EMPTY |
Constructor and Description |
---|
Result(int allows,
int denies,
int allowPrivileges,
int denyPrivileges)
Deprecated.
|
Result(int allows,
int denies,
PrivilegeBits allowPrivileges,
PrivilegeBits denyPrivileges) |
Modifier and Type | Method and Description |
---|---|
AbstractCompiledPermissions.Result |
combine(AbstractCompiledPermissions.Result other) |
boolean |
equals(Object object) |
PrivilegeBits |
getPrivilegeBits() |
int |
getPrivileges()
Deprecated.
jackrabbit 2.3 (throws UnsupportedOperationException, use getPrivilegeBits instead)
|
boolean |
grants(int permissions) |
int |
hashCode() |
public static final AbstractCompiledPermissions.Result EMPTY
public Result(int allows, int denies, int allowPrivileges, int denyPrivileges)
public Result(int allows, int denies, PrivilegeBits allowPrivileges, PrivilegeBits denyPrivileges)
public boolean grants(int permissions)
public int getPrivileges()
public PrivilegeBits getPrivilegeBits()
public AbstractCompiledPermissions.Result combine(AbstractCompiledPermissions.Result other)
public int hashCode()
hashCode
in class Object
Object.hashCode()
public boolean equals(Object object)
equals
in class Object
Object.equals(Object)
Copyright © 2004–2022 The Apache Software Foundation. All rights reserved.