public abstract class PageBean extends java.lang.Object implements IPageBean, IDynamicContentBindingObject
IPageBean.
WorkpageDispatchedPageBean
as base of your classes.| Constructor and Description |
|---|
PageBean() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
buildContentReplaceString(IPageBean pageBean)
Internal usage.
|
void |
closePopup(IPageBean pageBean)
Closes a dialog the was previously opened via
#openModalPopup(IPageBean, String, int, int, IModalPopupListener)
or #openModelessPopup(IPageBean, String, int, int, IModelessPopupListener). |
java.lang.String |
getActualRootExpression()
This method is called internally during page processing.
|
abstract java.lang.String |
getPageName()
Name of page that is managed by the bean.
|
java.util.Map<java.lang.String,IPageBean> |
getPopups() |
abstract java.lang.String |
getRootExpressionUsedInPage()
Inside the page definition the bean is addressed via a certain
root expression - e.g.
|
void |
initializePageBean(java.util.Map<java.lang.String,java.lang.String> initData)
|
boolean |
isInitialized()
|
void |
onBeforeRendering()
Called before processing the render phase with page bean.
|
ModalPopup |
openModalPopup(IPageBean pageBean,
java.lang.String title,
int width,
int height,
ModalPopup.IModalPopupListener popupListener)
Opens the passed pageBean-instance in a modal dialog.
|
ModelessPopup |
openModelessPopup(IPageBean pageBean,
java.lang.String title,
int width,
int height,
ModelessPopup.IModelessPopupListener popupListener)
Opens the passed pageBean-instance in a modal dialog.
|
java.lang.String |
pbx(java.lang.String partialExpression)
Builds a full expression ("page bean expression") out of some partial,
local expression.
|
java.lang.String |
readPageLayoutXML()
Reads the layout definition of this page bean.
|
void |
setActualRootExpression(java.lang.String rootExpression)
This method is called internally during page processing.
|
public abstract java.lang.String getPageName()
IPageBeangetPageName in interface IPageBeanpublic abstract java.lang.String getRootExpressionUsedInPage()
IPageBeangetRootExpressionUsedInPage in interface IPageBeanpublic void initializePageBean(java.util.Map<java.lang.String,java.lang.String> initData)
IPageBean.initializePageBean(Map).
Implementations must call their super-implementation, because the
initialized-flag needs to be set after initialization!initializePageBean in interface IPageBeanpublic boolean isInitialized()
isInitialized in interface IPageBeanpublic final java.lang.String getActualRootExpression()
getActualRootExpression in interface IPageBeanpublic final void setActualRootExpression(java.lang.String rootExpression)
setActualRootExpression in interface IPageBeanpublic java.util.Map<java.lang.String,IPageBean> getPopups()
public ModalPopup openModalPopup(IPageBean pageBean, java.lang.String title, int width, int height, ModalPopup.IModalPopupListener popupListener)
openModalPopup in interface IPageBeanwidth - If passes as 0 then the sizing is done automatically - following the
minium size of the bean content.- Pay attention: in case the pageBean
is wrapped e.g. in a SCROLLPANE then this size may be very small.height - If passes as 0 then the sizing is done automatically - following the
minium size of the bean content.- Pay attention: in case the pageBean
is wrapped e.g. in a SCROLLPANE then this size may be very small.popupListener - Implementation of interface that is called when the dialog is requested
to be closed by the user, e.g. by pressing the close-icon or by
pressing the Escape-key.public void closePopup(IPageBean pageBean)
#openModalPopup(IPageBean, String, int, int, IModalPopupListener)
or #openModelessPopup(IPageBean, String, int, int, IModelessPopupListener).closePopup in interface IPageBeanpublic ModelessPopup openModelessPopup(IPageBean pageBean, java.lang.String title, int width, int height, ModelessPopup.IModelessPopupListener popupListener)
#openModalPopup(IPageBean, String, int, int, IModalPopupListener).openModelessPopup in interface IPageBeanpublic java.lang.String pbx(java.lang.String partialExpression)
getRootExpressionUsedInPage() and concatenating the partial expression
into this root expression.
public java.lang.String readPageLayoutXML()
public void onBeforeRendering()
onBeforeRendering in interface IPageBeanpublic java.lang.String buildContentReplaceString(IPageBean pageBean)
Copyright © CaptainCasa Gmbh. All Rights Reserved.