Class EntityReadAction<E>

Type Parameters:
E - entity type
All Implemented Interfaces:
ExecutableAction, TargetAction<EntityPickerComponent<E>>, ViewOpeningAction, Action, HasShortcutCombination

@ActionType("entity_read") public class EntityReadAction<E> extends PickerAction<EntityReadAction<E>,EntityPickerComponent<E>,E> implements ViewOpeningAction
Shows the entity set to an entity picker component in a read view.

The view is resolved as ReadAction resolves it: the view annotated with PrimaryReadView, otherwise the view with the <entity>.read id, otherwise the entity's detail view opened in the read-only mode. In contrast to EntityOpenAction the action never saves: it requires no UPDATE permission and stays enabled on a read-only view.