Class EntitySecurity

java.lang.Object
ch.tocco.nice2.netui.impl.bind.entity.EntitySecurity

public abstract class EntitySecurity extends Object
Provides static utility methods for dealing with security related to persistence.
  • Method Details

    • mayCreateEntity

      public static boolean mayCreateEntity(EntityManager mgr)
    • 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)