Interface EntityViewModel
public interface EntityViewModel
Contains common
Model
or ViewElementBuilderContext
attribute names.- Since:
- 2.0.0
- Author:
- Arne Vandamme
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
When set, expected to hold the current entity that is being modified.static final String
Expected to hold the currentEntityViewCommand
.static final String
Expected to hold the currentEntityViewContext
.static final String
Expected to hold the currentEntityViewRequest
.
-
Field Details
-
ENTITY
When set, expected to hold the current entity that is being modified. This can be a modified entity instance (DTO). If you want the original entity that is being edited, you should get it via theEntityViewContext
.- See Also:
-
VIEW_REQUEST
Expected to hold the currentEntityViewRequest
. Provides access to the currentEntityViewContext
andEntityViewCommand
. These might also be directly available asVIEW_CONTEXT
andVIEW_COMMAND
respectively.- See Also:
-
VIEW_COMMAND
Expected to hold the currentEntityViewCommand
.- See Also:
-
VIEW_CONTEXT
Expected to hold the currentEntityViewContext
.- See Also:
-