Class AbstractCompiledPermissions.Result
- java.lang.Object
-
- org.apache.jackrabbit.core.security.authorization.AbstractCompiledPermissions.Result
-
- Enclosing class:
- AbstractCompiledPermissions
public static class AbstractCompiledPermissions.Result extends Object
Result of permission (and optionally privilege) evaluation for a given path.
-
-
Field Summary
Fields Modifier and Type Field Description static AbstractCompiledPermissions.Result
EMPTY
-
Constructor Summary
Constructors Constructor Description Result(int allows, int denies, int allowPrivileges, int denyPrivileges)
Deprecated.Result(int allows, int denies, PrivilegeBits allowPrivileges, PrivilegeBits denyPrivileges)
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method 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()
-
-
-
Field Detail
-
EMPTY
public static final AbstractCompiledPermissions.Result EMPTY
-
-
Constructor Detail
-
Result
@Deprecated public Result(int allows, int denies, int allowPrivileges, int denyPrivileges)
Deprecated.
-
Result
public Result(int allows, int denies, PrivilegeBits allowPrivileges, PrivilegeBits denyPrivileges)
-
-
Method Detail
-
grants
public boolean grants(int permissions)
-
getPrivileges
@Deprecated public int getPrivileges()
Deprecated.jackrabbit 2.3 (throws UnsupportedOperationException, use getPrivilegeBits instead)
-
getPrivilegeBits
public PrivilegeBits getPrivilegeBits()
-
combine
public AbstractCompiledPermissions.Result combine(AbstractCompiledPermissions.Result other)
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classObject
- See Also:
Object.hashCode()
-
equals
public boolean equals(Object object)
- Overrides:
equals
in classObject
- See Also:
Object.equals(Object)
-
-