Package org.eclnt.workplace
Class WorkpageStartInfo
java.lang.Object
org.eclnt.util.valuemgmt.BeanWithParent
org.eclnt.workplace.WorkpageStartInfo
- All Implemented Interfaces:
Serializable,Cloneable,IWorkpageStartInfo
public class WorkpageStartInfo
extends BeanWithParent
implements IWorkpageStartInfo, Serializable, Cloneable
In the workplace management there are a couple of places where information
is kept which later on is used to start a workpage. Example: the tree of
functions, the favorites square and the favorites area. This class
is the collection of data that is associated with a startable function.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionApplication reference - this field is not used by CaptainCasa processing.Application reference - this field is not used by CaptainCasa processing.Application reference - this field is not used by CaptainCasa processing.When starting the workpage then the following client name is assigned to the ROWINCLUDE-component that internally holds the workpage.booleanIndicator that controls if a page can be directly closed from the workplace.getCode()A short code for this item.Comment that is associated with this instance.Image that serves as additional comment to the image.booleanDefines if the workpage instance is stored as part of a perspective or not.The name of the class implementingIWorkpageStartInfo.getId()The id of the page.getImage()The image that is associated.The name of the page to be started.booleanIndicator that controls if a page is directly started as isolated modeless popup dialog.booleanName of the page pean, that is the one to be opened.Map of String parameters that are passed into the initialization of the page.booleanIndicator that controls if a page can be isolated into a modeless popup dialog within the workplace.Background painting that is applied to the selector.Special title that is shown in the selector, if different to the normal "text" attribute.intId of the wokrpage container in which the page should be started.getText()The text that is associated with the page.Special title that is shown in the title bar, if different to the normal "text" attribute.booleanbooleanbooleanvoidremoveParam(String paramName) voidsetAppReference1(String appReference1) voidsetAppReference2(String appReference2) voidsetAppReference3(String appReference3) voidsetClientName(String clientName) voidsetCloseSupported(boolean closeSupported) voidvoidsetComment(String comment) voidsetCommentImage(String commentImage) voidsetDecorated(boolean decorated) Indicator if a title bar is positioned above the page.voidsetExcludeFromSavePerspective(boolean excludeFromSavePerspective) voidsetFunctionClassName(String functionClassName) voidvoidvoidsetJspPage(String value) voidsetOpenAsPopupByDefault(boolean value) voidsetOpenMultipleInstances(boolean openMultipleInstances) Indicator if this page is opened multiple times within the workplace.voidsetPageBeanName(String pageBeanName) voidvoidsetParamMap(Map<String, String> value) voidsetPopupSupported(boolean value) voidsetSelectorBgpaint(String selectorBgpaint) voidsetSelectorTitle(String value) Explicit different text that is passed into the selector, when the workpage is started. - If null then the title passed via setText(..) is taken.voidsetSortIndex(int sortIndex) voidsetStartSubWorkpageContainerId(String startSubWorkpageContainerId) voidvoidsetWindowTitle(String value) Explicit different text that is passed into the workpage's title, when the workpage is started. - if null then the title passed via setText(..) is taken.Methods inherited from class org.eclnt.util.valuemgmt.BeanWithParent
afterUnmarshal, findParent, passParent
-
Constructor Details
-
WorkpageStartInfo
public WorkpageStartInfo()
-
-
Method Details
-
createClone
-
getJspPage
The name of the page to be started. The page needs to be defined as absolute address within the web content of the application (i.e. starting with "/"),- Specified by:
getJspPagein interfaceIWorkpageStartInfo
-
setJspPage
- Specified by:
setJspPagein interfaceIWorkpageStartInfo
-
getFunctionClassName
The name of the class implementingIWorkpageStartInfo. A new instance of the class will be created and called when the user invokes the workpage item.- Specified by:
getFunctionClassNamein interfaceIWorkpageStartInfo
-
setFunctionClassName
- Specified by:
setFunctionClassNamein interfaceIWorkpageStartInfo
-
getPageBeanName
Name of the page pean, that is the one to be opened. The page beans is - when opening the page - created within the dispatcher. The name that you define here is the name that is used inside the dispatcher - not the name of the class! Example: if the page bean is "reached" via the expression "#{d.AbcUI}", then the name you define is "AbcUI".- Specified by:
getPageBeanNamein interfaceIWorkpageStartInfo
-
setPageBeanName
- Specified by:
setPageBeanNamein interfaceIWorkpageStartInfo
-
getImage
The image that is associated. The image is shown within the workpage selector.- Specified by:
getImagein interfaceIWorkpageStartInfo
-
setImage
- Specified by:
setImagein interfaceIWorkpageStartInfo
-
getText
The text that is associated with the page. This is the default text for the selector title and window title - if not other explicit texts are defined by the attributes "windowTitle" and "selectorTitle".- Specified by:
getTextin interfaceIWorkpageStartInfo
-
setText
- Specified by:
setTextin interfaceIWorkpageStartInfo
-
setDecorated
public void setDecorated(boolean decorated) Indicator if a title bar is positioned above the page. By default is "true".- Specified by:
setDecoratedin interfaceIWorkpageStartInfo
-
isDecorated
public boolean isDecorated()- Specified by:
isDecoratedin interfaceIWorkpageStartInfo
-
setOpenMultipleInstances
public void setOpenMultipleInstances(boolean openMultipleInstances) Indicator if this page is opened multiple times within the workplace. By default is "false".- Specified by:
setOpenMultipleInstancesin interfaceIWorkpageStartInfo
-
getOpenMultipleInstances
public boolean getOpenMultipleInstances()- Specified by:
getOpenMultipleInstancesin interfaceIWorkpageStartInfo
-
getId
The id of the page. The is is used for recognizing if a page is already available within a workplace. By default (if not specifying an id) the attribute "jspPage" is used as id.- Specified by:
getIdin interfaceIWorkpageStartInfo
-
setId
- Specified by:
setIdin interfaceIWorkpageStartInfo
-
getPopupSuppoted
public boolean getPopupSuppoted()Indicator that controls if a page can be isolated into a modeless popup dialog within the workplace.- Specified by:
getPopupSuppotedin interfaceIWorkpageStartInfo
-
isPopupSupported
public boolean isPopupSupported() -
setPopupSupported
public void setPopupSupported(boolean value) - Specified by:
setPopupSupportedin interfaceIWorkpageStartInfo
-
getSelectorTitle
Special title that is shown in the selector, if different to the normal "text" attribute.- Specified by:
getSelectorTitlein interfaceIWorkpageStartInfo
-
setSelectorTitle
Description copied from interface:IWorkpageStartInfoExplicit different text that is passed into the selector, when the workpage is started. - If null then the title passed via setText(..) is taken.- Specified by:
setSelectorTitlein interfaceIWorkpageStartInfo
-
getWindowTitle
Special title that is shown in the title bar, if different to the normal "text" attribute.- Specified by:
getWindowTitlein interfaceIWorkpageStartInfo
-
setWindowTitle
Description copied from interface:IWorkpageStartInfoExplicit different text that is passed into the workpage's title, when the workpage is started. - if null then the title passed via setText(..) is taken.- Specified by:
setWindowTitlein interfaceIWorkpageStartInfo
-
getCloseSupported
public boolean getCloseSupported()Indicator that controls if a page can be directly closed from the workplace. Default is "true".- Specified by:
getCloseSupportedin interfaceIWorkpageStartInfo
-
isCloseSupported
public boolean isCloseSupported() -
setCloseSupported
public void setCloseSupported(boolean closeSupported) - Specified by:
setCloseSupportedin interfaceIWorkpageStartInfo
-
setParam
- Specified by:
setParamin interfaceIWorkpageStartInfo
-
getParam
- Specified by:
getParamin interfaceIWorkpageStartInfo
-
removeParam
- Specified by:
removeParamin interfaceIWorkpageStartInfo
-
getParamMap
Map of String parameters that are passed into the initialization of the page.- Specified by:
getParamMapin interfaceIWorkpageStartInfo
-
setParamMap
-
getOpenAsPopupByDefault
public boolean getOpenAsPopupByDefault()Indicator that controls if a page is directly started as isolated modeless popup dialog.- Specified by:
getOpenAsPopupByDefaultin interfaceIWorkpageStartInfo
-
setOpenAsPopupByDefault
public void setOpenAsPopupByDefault(boolean value) - Specified by:
setOpenAsPopupByDefaultin interfaceIWorkpageStartInfo
-
getStartSubWorkpageContainerId
Id of the wokrpage container in which the page should be started.- Specified by:
getStartSubWorkpageContainerIdin interfaceIWorkpageStartInfo
-
setStartSubWorkpageContainerId
- Specified by:
setStartSubWorkpageContainerIdin interfaceIWorkpageStartInfo
-
getExcludeFromSavePerspective
public boolean getExcludeFromSavePerspective()Defines if the workpage instance is stored as part of a perspective or not. SeeIWorkpage.getExcludeFromSavePerspective().- Specified by:
getExcludeFromSavePerspectivein interfaceIWorkpageStartInfo
-
setExcludeFromSavePerspective
public void setExcludeFromSavePerspective(boolean excludeFromSavePerspective) - Specified by:
setExcludeFromSavePerspectivein interfaceIWorkpageStartInfo
-
getComment
Comment that is associated with this instance. The comment e.g. is shown as tooltip.- Specified by:
getCommentin interfaceIWorkpageStartInfo
-
setComment
- Specified by:
setCommentin interfaceIWorkpageStartInfo
-
getCommentImage
Image that serves as additional comment to the image. The comment is currently not directly used in the workplace but may be used in subsequent component like the launchpad (CCLaunchPad).- Specified by:
getCommentImagein interfaceIWorkpageStartInfo
-
setCommentImage
- Specified by:
setCommentImagein interfaceIWorkpageStartInfo
-
getCode
A short code for this item. The user can call the function from the search screen by just using this code.- Specified by:
getCodein interfaceIWorkpageStartInfo
-
setCode
- Specified by:
setCodein interfaceIWorkpageStartInfo
-
getAppReference1
Application reference - this field is not used by CaptainCasa processing. It is up to your application to use it.- Specified by:
getAppReference1in interfaceIWorkpageStartInfo
-
setAppReference1
- Specified by:
setAppReference1in interfaceIWorkpageStartInfo
-
getAppReference2
Application reference - this field is not used by CaptainCasa processing. It is up to your application to use it.- Specified by:
getAppReference2in interfaceIWorkpageStartInfo
-
setAppReference2
- Specified by:
setAppReference2in interfaceIWorkpageStartInfo
-
getAppReference3
Application reference - this field is not used by CaptainCasa processing. It is up to your application to use it.- Specified by:
getAppReference3in interfaceIWorkpageStartInfo
-
setAppReference3
- Specified by:
setAppReference3in interfaceIWorkpageStartInfo
-
getSelectorBgpaint
Background painting that is applied to the selector.- Specified by:
getSelectorBgpaintin interfaceIWorkpageStartInfo
-
setSelectorBgpaint
- Specified by:
setSelectorBgpaintin interfaceIWorkpageStartInfo
-
getClientName
When starting the workpage then the following client name is assigned to the ROWINCLUDE-component that internally holds the workpage. The client name is the stable id that is used to identify components e.g. by test tools. By addigningthe client name here, the client name of the workpage is pre-prended to all client names of the components that are contained in the workpage.- Specified by:
getClientNamein interfaceIWorkpageStartInfo
-
setClientName
-
getSortIndex
public int getSortIndex()- Specified by:
getSortIndexin interfaceIWorkpageStartInfo
-
setSortIndex
public void setSortIndex(int sortIndex)
-