public interface IDispatcher
extends java.util.Map<java.lang.String,java.lang.Object>
| Modifier and Type | Method and Description |
|---|---|
boolean |
checkIfDispatchedBeanIsLoaded(java.lang.Class dispatchedBeanClass) |
boolean |
checkIfDispatchedBeanIsLoaded(java.lang.String dispatchedBeanName) |
ModalPopup |
createModalPopup()
Create a modal popup instance within the workpage context.
|
ModelessPopup |
createModelessPopup()
Create a modeless popup instance within the workpage context.
|
int |
createSubDispatcherIndex() |
IDispatcher |
createSubDispatcherInstance()
A dispatcher may have other dispatchers below.
|
void |
destroy()
Destroys the dispatcher and its contained objects.
|
java.util.List<IDispatcher> |
getChildDispatchers()
Returns a list of child dispatchers - if the dispatcher is hierarchized.
|
java.lang.String |
getContentReplace()
Returns the content replace statement that is passed to included
pages.
|
java.lang.Object |
getDispatchedBean(java.lang.Class dispachtedBeanClass)
Find managed bean for class.
|
java.lang.Object |
getDispatchedBean(java.lang.String dispatchedBeanName)
Find managed bean for name.
|
java.lang.String |
getExpressionBase()
Each dispatcher is the entry point to its managed beans.
|
java.lang.String |
getMyExpression(java.lang.Class cl)
Returns the expression for the object that is managed inside the
dispatcher.
|
java.lang.String |
getMyExpression(java.lang.Object o)
Returns the expression for the object that is managed inside the
dispatcher.
|
IDispatcher |
getOwner()
Passes back the dispatcher above.
|
IDispatcher |
getTopOwner()
Passes back the top owner of the dispatcher hierarchy.
|
void |
removeDispatchedBean(java.lang.Class dispatchedBeanClass)
Removes dispatched bean from dispatcher.
|
void |
removeDispatchedBean(java.lang.String dispatchedBeanName)
Removes dispatched bean from dispatcher.
|
void |
setOwner(IDispatcher owner) |
void |
unregisterSubDispatcherInstance(IDispatcher subDispatcher) |
java.lang.String |
updateExpression(java.lang.String expression)
Within the bean processing you may create components in a dynamic
way, e.g. using the feature "componentbinding".
|
java.lang.Object getDispatchedBean(java.lang.Class dispachtedBeanClass)
void removeDispatchedBean(java.lang.Class dispatchedBeanClass)
java.lang.Object getDispatchedBean(java.lang.String dispatchedBeanName)
dispatchedBeanName - Name of the beans - this is the name that is used for binding
the bean within the user interface, as well. E.g. if the
bean's binding is "#{d.AbcdeUI. ...} then you may access
the bean by passing "AbcdeUI".void removeDispatchedBean(java.lang.String dispatchedBeanName)
java.lang.String getExpressionBase()
IDispatcher createSubDispatcherInstance()
void destroy()
java.lang.String updateExpression(java.lang.String expression)
expression - The normal expression, e.g. "#{d.Car}".java.lang.String getContentReplace()
java.lang.String getMyExpression(java.lang.Object o)
java.lang.String getMyExpression(java.lang.Class cl)
IDispatcher getOwner()
IDispatcher getTopOwner()
ModalPopup createModalPopup()
ModelessPopup createModelessPopup()
void setOwner(IDispatcher owner)
void unregisterSubDispatcherInstance(IDispatcher subDispatcher)
int createSubDispatcherIndex()
java.util.List<IDispatcher> getChildDispatchers()
boolean checkIfDispatchedBeanIsLoaded(java.lang.Class dispatchedBeanClass)
boolean checkIfDispatchedBeanIsLoaded(java.lang.String dispatchedBeanName)
Copyright © CaptainCasa Gmbh. All Rights Reserved.