public abstract class EntitySecurity
extends Object
Provides static utility methods for dealing with security related to persistence.
-
Method Summary
static boolean
static boolean
static boolean
static boolean
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Method Details
-
-
mayRead
public static boolean mayRead(Entity entity,
String fieldOrRelation)
-
mayRead
public static boolean mayRead(Entity entity,
String fieldOrRelation,
boolean checkPathOnly)
-
mayWrite
public static boolean mayWrite(Entity entity,
String fieldOrRelation)