Interface EntityCheck<E extends SimpleEntity>

  • Type Parameters:
    E - The entity type
    All Known Implementing Classes:
    BaseEntityCheck

    public interface EntityCheck<E extends SimpleEntity>
    A check which enforces that the currently logged user has access to view a given entity
    • Method Detail

      • getEntityType

        Class<E> getEntityType()
        Returns the handled entity type
      • isVisible

        boolean isVisible​(SessionData sessionData,
                          E entity)
        Returns whether the given entity is visible for the given session data