public interface ViewConfiguration extends Consumer<ViewWindowConfigurator>, Serializable
View configuration representation.
This class is intended for internal framework use only.
| Modifier and Type | Interface and Description |
|---|---|
static class |
ViewConfiguration.ViewConfigurationException
Exception related to
View configuration errors. |
static interface |
ViewConfiguration.ViewConfigurationProvider
Provider of
ViewConfigurations. |
static interface |
ViewConfiguration.ViewParameterDefinition
View parameter definition.
|
| Modifier and Type | Method and Description |
|---|---|
Optional<com.holonplatform.auth.annotations.Authenticate> |
getAuthentication()
Get the optional view
Authenticate annotation. |
String |
getCaption()
Get optional view caption
|
String |
getCaptionMessageCode()
Get optional view caption translation message code
|
Collection<ViewContextField> |
getContextInjectionFields()
View class fields which declare
ViewContext data injection |
List<Method> |
getOnLeaveMethods()
Get view
OnLeave methods |
List<Method> |
getOnShowMethods()
Get view
OnShow methods |
Collection<ViewConfiguration.ViewParameterDefinition> |
getParameters()
Get View declared parameters
|
String |
getParentViewName()
If
isSubView(), get parent View name |
List<Method> |
getViewWindowConfigurationMethods()
Get view
ViewWindowConfiguration methods. |
boolean |
isFireOnRefresh(Method onShowMethod)
Check whether given
OnShow method must be called also at browser page refresh |
boolean |
isForceInWindow()
Gets whether this view must be displayed in a Window
|
boolean |
isSubView()
Gets whether the view class is a sub view
|
boolean |
isSubViewContainer()
Gets whether the view class is a
SubViewContainer |
boolean |
isVolatile()
Gets whether this view is volatile (not to be tracked in navigation history)
|
boolean isVolatile()
true if this view is volatileVolatileViewboolean isForceInWindow()
true if this view must be displayed in a WindowWindowViewboolean isSubView()
true if the view class is a sub viewboolean isSubViewContainer()
SubViewContainertrue if the view class is a SubViewContainerString getParentViewName()
isSubView(), get parent View namenull if it is not a sub viewString getCaption()
null if not definedCaptionString getCaptionMessageCode()
null if not definedCaptionCollection<ViewConfiguration.ViewParameterDefinition> getParameters()
List<Method> getOnShowMethods()
OnShow methodsboolean isFireOnRefresh(Method onShowMethod)
OnShow method must be called also at browser page refreshonShowMethod - Method to checktrue if method must be called also at browser page refreshList<Method> getOnLeaveMethods()
OnLeave methodsList<Method> getViewWindowConfigurationMethods()
ViewWindowConfiguration methods.Collection<ViewContextField> getContextInjectionFields()
ViewContext data injectionOptional<com.holonplatform.auth.annotations.Authenticate> getAuthentication()
Authenticate annotation.Authenticate annotationCopyright © 2019 The Holon Platform. All rights reserved.