public class WorkpageDefaultStarter extends java.lang.Object implements IWorkpageStarter, java.io.Serializable
IWorkpageStarter. You may sub-class
this implementation for adding own, specific start functions.| Constructor and Description |
|---|
WorkpageDefaultStarter() |
| Modifier and Type | Method and Description |
|---|---|
Workpage |
createWorkpage(IWorkpageDispatcher workpageDispatcher,
WorkpageStartInfo startInfo,
java.lang.String title) |
protected Workpage |
createWorkpageWithPageBean(IWorkpageDispatcher workpageDispatcher,
java.lang.String title,
WorkpageStartInfo startInfo) |
Workpage |
createWorkpageWithPageBean(IWorkpageDispatcher workpageDispatcher,
java.lang.String title,
WorkpageStartInfo startInfo,
ICreatePageBeanInstance beanCreator) |
protected void |
reactOnProblemDuringWorkpageStart(java.lang.Throwable t)
Called if an error occurs when starting a page bean.
|
protected IWorkpage |
startFunction(WorkpageStartInfo wpsi,
IWorkpageDispatcher dispatcher)
Called if workpage start info contains a reference to a method/class.
|
IWorkpage |
startWorkpage(IWorkpageDispatcher workpageDispatcher,
IWorkpageContainer workpageContainer,
WorkpageStartInfo startInfo)
Start workpage that is defined by the parameter startInfo.
|
IWorkpage |
startWorkpage(IWorkpageDispatcher workpageDispatcher,
IWorkpageContainer workpageContainer,
WorkpageStartInfo startInfo,
ICreatePageBeanInstance beanCreator)
Start workpage that is defined by the parameter startInfo together with a
call back to generate the main page bean that is used in the workpage.
|
protected void |
switchToAlreadyOpenedWorkpage(IWorkpageDispatcher workpageDispatcher,
IWorkpageContainer workpageContainer,
IWorkpage workpage)
This method is called when the page is already opened in the workplace.
|
public IWorkpage startWorkpage(IWorkpageDispatcher workpageDispatcher, IWorkpageContainer workpageContainer, WorkpageStartInfo startInfo)
startWorkpage in interface IWorkpageStarterpublic IWorkpage startWorkpage(IWorkpageDispatcher workpageDispatcher, IWorkpageContainer workpageContainer, WorkpageStartInfo startInfo, ICreatePageBeanInstance beanCreator)
public Workpage createWorkpage(IWorkpageDispatcher workpageDispatcher, WorkpageStartInfo startInfo, java.lang.String title)
public Workpage createWorkpageWithPageBean(IWorkpageDispatcher workpageDispatcher, java.lang.String title, WorkpageStartInfo startInfo, ICreatePageBeanInstance beanCreator)
protected Workpage createWorkpageWithPageBean(IWorkpageDispatcher workpageDispatcher, java.lang.String title, WorkpageStartInfo startInfo)
protected void switchToAlreadyOpenedWorkpage(IWorkpageDispatcher workpageDispatcher, IWorkpageContainer workpageContainer, IWorkpage workpage)
protected IWorkpage startFunction(WorkpageStartInfo wpsi, IWorkpageDispatcher dispatcher)
protected void reactOnProblemDuringWorkpageStart(java.lang.Throwable t)
Copyright © CaptainCasa Gmbh. All Rights Reserved.