public interface IWorkpage
extends java.io.Serializable
| Modifier and Type | Method and Description |
|---|---|
void |
addLifecycleListener(IWorkpageLifecycleListener listener) |
void |
addWorkpageProcessingEventListener(IWorkpageProcessingEventListener listener) |
void |
assignIdToModelessPopup(ModelessPopup popup,
java.lang.String id) |
boolean |
close()
This method is called from the workpage container when the user
requests the closing of the page.
|
boolean |
closeAndContinue(java.lang.Runnable continueOperation)
This method is called from the workpage container - do not call
this method directly!
|
void |
closeForced()
This method forces the workpage to close - there is no chance
to escape...
|
void |
closeSemiModalPopup(IPageBean callingPageBean,
IPageBean popupPageBean)
Close popup that was opened via
#openSemiModalPopup(IPageBean, String, int, int, org.eclnt.jsfserver.defaultscreens.ModelessPopup.IModelessPopupListener). |
ModalPopup |
createModalPopupInWorkpageContext()
Deprecated.
|
ModelessPopup |
createModelessPopupInWorkpageContext()
Deprecated.
|
java.lang.String |
getComment()
Comment - the comment is e.g. shown in tool tips.
|
IWorkpageDispatcher |
getDispatcher()
Each workpage is associated with a dispatcher that manages
the managed beans for this workpage.
|
boolean |
getExcludeFromSavePerspective()
The workplace perspective management allows to store currently opened
workplace arrangements as perspectives.
|
java.lang.String |
getIconURL()
The icon of the workpage that is shown in the task overview.
|
java.lang.String |
getId()
Each workpage specifies an id.
|
java.lang.String |
getJspPage()
This is the start page of the workpage.
|
java.util.Set<IWorkpageLifecycleListener> |
getLifecycleListeners() |
ModelessPopup |
getModelesspopup(java.lang.String assignedId) |
ModelessPopup |
getModelessPopupOfWorkpage()
A workpage may be opened as modeless popup.
|
java.lang.String |
getParam(java.lang.String paramName) |
java.util.Map<java.lang.String,java.lang.String> |
getParamMap() |
java.lang.String |
getSelectorTitle()
The text that is shown inside the selector for the workpage.
|
java.lang.String |
getStartSubWorkpageContainerId() |
java.lang.String |
getTitle()
The title of the workpage.
|
java.lang.String |
getUniqueTechnicalId()
Each workpage provides a technical id that is unique across all work
pages.
|
IWorkpageContainer |
getWorkpageContainer()
Returns the container this workpage is living in.
|
IWorkpageStartInfo |
getWorkpageStartInfo() |
boolean |
isBlocked()
Managed at runtime by workplace management: if a page opens up semi modal popup dialogs
then the page need to be blocked.
|
boolean |
isCloseSupported()
Indicates if the workpage can be closed via a close icon.
|
boolean |
isDecorated()
Indicates if the workplace embeds the workpage into a frame
with titlebar etc.
|
boolean |
isPopupSupported()
Indicates if the workpage can be isolated from the workpage container
into a modal popup.
|
ModelessPopup |
openSemiModalPopup(IPageBean callingPageBean,
IPageBean popupPageBean,
java.lang.String title,
int width,
int height,
ModelessPopup.IModelessPopupListener popupListener)
Open semi-modal popup.
|
void |
processWorkpageProcessingEvent(WorkpageProcessingEvent event)
Process workpage processing event coming from other workpage.
|
boolean |
reactOnBeforeHide()
This method is called before the workpage gets hidden e.g. due to
user selection in the workpage selector.
|
void |
reactOnDisplay()
This method is called whenever the workpage container is pushing this
page to be displayed.
|
void |
reactOnHide()
This method is called whenever a workpage that is currently shown
within in the content area is replaced by another one.
|
void |
reactOnReselectedInContentArea()
This method is called if the workpage is currently shown in its workpage
container - and if the user re-selects the workpage.
|
void |
reactOnShownInContentArea()
The page is (re)shown in the content area of the workplace.
|
void |
reactOnShownInPopup()
The page is (re)shown in a modeless popup.
|
void |
removeLifecycleListener(IWorkpageLifecycleListener listener) |
void |
removeWorkpageProcessingEventListener(IWorkpageProcessingEventListener listener) |
void |
setIconURL(java.lang.String value)
Update the icon during runtime.
|
void |
setId(java.lang.String value)
The id can be changed during runtime.
|
void |
setModelessPopupOfWorkpage(ModelessPopup popup)
Function that allows WorkpageContainer to set ModelessPopup instance.
|
void |
setParam(java.lang.String paramName,
java.lang.String paramValue) |
void |
setSelectorTitle(java.lang.String selectorTitle)
Update selector title during runtime.
|
void |
setTitle(java.lang.String title)
Update title during runtime.
|
void |
setWorkpageStartInfo(IWorkpageStartInfo workpageStartInfo) |
void |
throwWorkpageProcessingEvent(WorkpageProcessingEvent event)
Throws an event and triggers the delegation of the event to
all other workpage instances.
|
IWorkpageDispatcher getDispatcher()
java.lang.String getJspPage()
java.lang.String getTitle()
java.lang.String getSelectorTitle()
getTitle() is shown.void setTitle(java.lang.String title)
void setSelectorTitle(java.lang.String selectorTitle)
java.lang.String getIconURL()
void setIconURL(java.lang.String value)
java.lang.String getId()
void setId(java.lang.String value)
boolean isDecorated()
boolean isPopupSupported()
boolean isCloseSupported()
boolean close()
boolean closeAndContinue(java.lang.Runnable continueOperation)
void closeForced()
IWorkpageContainer getWorkpageContainer()
void reactOnDisplay()
void reactOnHide()
boolean reactOnBeforeHide()
void reactOnReselectedInContentArea()
void setWorkpageStartInfo(IWorkpageStartInfo workpageStartInfo)
IWorkpageStartInfo getWorkpageStartInfo()
void setParam(java.lang.String paramName,
java.lang.String paramValue)
java.lang.String getParam(java.lang.String paramName)
java.util.Map<java.lang.String,java.lang.String> getParamMap()
void addLifecycleListener(IWorkpageLifecycleListener listener)
void removeLifecycleListener(IWorkpageLifecycleListener listener)
java.util.Set<IWorkpageLifecycleListener> getLifecycleListeners()
void reactOnShownInContentArea()
void reactOnShownInPopup()
void throwWorkpageProcessingEvent(WorkpageProcessingEvent event)
void addWorkpageProcessingEventListener(IWorkpageProcessingEventListener listener)
void removeWorkpageProcessingEventListener(IWorkpageProcessingEventListener listener)
void processWorkpageProcessingEvent(WorkpageProcessingEvent event)
@Deprecated ModalPopup createModalPopupInWorkpageContext()
@Deprecated ModelessPopup createModelessPopupInWorkpageContext()
void assignIdToModelessPopup(ModelessPopup popup, java.lang.String id)
ModelessPopup getModelesspopup(java.lang.String assignedId)
ModelessPopup getModelessPopupOfWorkpage()
void setModelessPopupOfWorkpage(ModelessPopup popup)
java.lang.String getStartSubWorkpageContainerId()
java.lang.String getUniqueTechnicalId()
boolean getExcludeFromSavePerspective()
java.lang.String getComment()
boolean isBlocked()
ModelessPopup openSemiModalPopup(IPageBean callingPageBean, IPageBean popupPageBean, java.lang.String title, int width, int height, ModelessPopup.IModelessPopupListener popupListener)
pageBean - title - width - height - popupListener - Copyright © CaptainCasa Gmbh. All Rights Reserved.