Interface EntityViewModel
public interface EntityViewModel
Contains common
Model or ViewElementBuilderContext attribute names.- Since:
- 2.0.0
- Author:
- Arne Vandamme
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringWhen set, expected to hold the current entity that is being modified.static final StringExpected to hold the currentEntityViewCommand.static final StringExpected to hold the currentEntityViewContext.static final StringExpected 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 currentEntityViewContextandEntityViewCommand. These might also be directly available asVIEW_CONTEXTandVIEW_COMMANDrespectively.- See Also:
-
VIEW_COMMAND
Expected to hold the currentEntityViewCommand.- See Also:
-
VIEW_CONTEXT
Expected to hold the currentEntityViewContext.- See Also:
-