Package org.cyclos.impl.access
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 Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Class<E>getEntityType()Returns the handled entity typebooleanisVisible(SessionData sessionData, E entity)Returns whether the given entity is visible for the given session data
-
-
-
Method Detail
-
isVisible
boolean isVisible(SessionData sessionData, E entity)
Returns whether the given entity is visible for the given session data
-
-