Package | Description |
---|---|
info.magnolia.ui | |
info.magnolia.ui.framework.app | |
info.magnolia.ui.framework.ioc |
Modifier and Type | Method and Description |
---|---|
default UiContextReference |
UIComponent.getCurrentViewReference() |
Modifier and Type | Method and Description |
---|---|
UiContextReference |
BaseSubApp.getCurrentViewReference() |
Modifier and Type | Class and Description |
---|---|
static class |
UiContextReference.AppContextReference
App specific UI context reference.
|
static class |
UiContextReference.DatasourceComponentContextReference
Datasource-specific component reference implementation.
|
static class |
UiContextReference.SubAppContextReference
Sub-app specific UI context reference.
|
static class |
UiContextReference.UiContextReferenceImpl
Base
UiContextReference implementation. |
static class |
UiContextReference.ViewContextReference
View-specific UI context reference implementation.
|
Modifier and Type | Method and Description |
---|---|
static UiContextReference |
UiContextReference.genericAppContextReference() |
static UiContextReference |
UiContextReference.genericSubAppContextReference() |
static UiContextReference |
UiContextReference.genericViewContextReference() |
UiContextReference |
BeanStoreLifecycleEvent.getRelatedContextKey() |
UiContextReference |
CurrentUiContextReference.getUiContextReference() |
UiContextReference |
UiComponentProvider.getUiContextReference() |
static UiContextReference |
UiContextReference.ofApp(AppContext appContext)
Creates a UI context reference bound to a concrete instance of an app.
|
static UiContextReference |
UiContextReference.ofCurrentUi() |
static UiContextReference |
UiContextReference.ofDatasourceComponent(String datasourceId) |
static UiContextReference |
UiContextReference.ofM5Admincentral() |
static UiContextReference |
UiContextReference.ofSubApp(SubAppContext subAppContext)
Creates a UI context reference bound to a concrete instance of a sub-app.
|
static UiContextReference |
UiContextReference.ofUi(com.vaadin.ui.UI ui) |
static UiContextReference |
UiContextReference.ofView(String viewId,
UiContextReference parentKey) |
Modifier and Type | Method and Description |
---|---|
default Optional<UiContextReference> |
UiContextReference.getDirectParentReference() |
Optional<UiContextReference> |
UiContextReference.AppContextReference.getDirectParentReference() |
Optional<UiContextReference> |
UiContextReference.SubAppContextReference.getDirectParentReference() |
Optional<UiContextReference> |
UiContextReference.ViewContextReference.getDirectParentReference() |
default List<UiContextReference> |
UiContextReference.getParentReferences()
Get all the ('broader') references that can be resolved from
the current one.
|
List<UiContextReference> |
UiContextReference.AppContextReference.getParentReferences() |
List<UiContextReference> |
UiContextReference.SubAppContextReference.getParentReferences() |
List<UiContextReference> |
UiContextReference.ViewContextReference.getParentReferences() |
protected Stream<UiContextReference> |
UiComponentProvider.getReachableUiContextReferences() |
Optional<UiContextReference> |
SessionStore.lookupRelatedUiContextReference(Object instance) |
Modifier and Type | Method and Description |
---|---|
static UiComponentProvider.Builder |
UiComponentProvider.builder(String name,
UiContextReference parentReference) |
BeanStore |
SessionStore.createBeanStore(UiContextReference uiContextReference) |
BeanStore |
SessionStore.createBeanStore(UiContextReference key,
Map<com.google.inject.Key,Object> initialInstances) |
BeanStore |
SessionStore.getBeanStore(UiContextReference uiContextReference)
Finds a bean store which corresponds to a scope key.
|
static <T> Stream<T> |
SessionStore.lookUpInstancesOf(UiContextReference uiContextReference,
Class<T> clazz) |
static UiContextReference |
UiContextReference.ofView(String viewId,
UiContextReference parentKey) |
void |
SessionStore.releaseBeanStore(UiContextReference uiContextReference)
Clears a bean store which corresponds to a ui context and removes it.
|
void |
CurrentUiContextReference.setUiContextReference(UiContextReference uiContextReference) |
UiComponentProvider.Builder |
UiComponentProvider.Builder.withUiContextReference(UiContextReference uiContextReference) |
Constructor and Description |
---|
BeforeDestroy(UiContextReference relatedContextKey,
BeanStore store) |
Create(UiContextReference relatedContextKey,
BeanStore store) |
Destroy(UiContextReference relatedContextKey,
BeanStore store) |
UiComponentProvider(UiContextReference viewContextReference) |
UiComponentProvider(UiContextReference viewContextReference,
info.magnolia.objectfactory.guice.GuiceComponentProvider parentComponentProvider) |
UiContextBoundComponentProvider(UiContextReference uiContextReference)
Deprecated.
|
UiContextBoundComponentProvider(UiContextReference uiContextReference,
info.magnolia.objectfactory.guice.GuiceComponentProvider parentComponentProvider)
Deprecated.
|
UiContextBoundComponentProvider(UiContextReference uiContextReference,
info.magnolia.objectfactory.guice.GuiceComponentProvider parentComponentProvider,
CurrentUiContextReference currentUiContextReference)
Deprecated.
|
Copyright © 2020 Magnolia International Ltd.. All rights reserved.