psdi.webclient.system.runtime

Class AppDescriptor

    • Field Detail

      • presentation

        protected org.w3c.dom.Element presentation
      • clonePresentation

        protected org.w3c.dom.Element clonePresentation
      • systemNav

        protected org.w3c.dom.Element systemNav
      • gotoOnlyNav

        protected org.w3c.dom.Element gotoOnlyNav
      • pageIndex

        protected java.util.HashMap pageIndex
      • PAGE_CONTROLS

        protected static final java.lang.String[] PAGE_CONTROLS
    • Constructor Detail

      • AppDescriptor

        protected AppDescriptor()
      • AppDescriptor

        public AppDescriptor(java.lang.String appName,
                             org.w3c.dom.Element el)
      • AppDescriptor

        public AppDescriptor(java.lang.String appName)
    • Method Detail

      • setPresentationElement

        public void setPresentationElement(org.w3c.dom.Element el)
        create a new application descriptor and fill in required member variables
      • initialize

        public void initialize(java.lang.String appName,
                               WebClientSession wcs)
      • loadDialogEntity

        public void loadDialogEntity(org.w3c.dom.Element el,
                                     java.lang.String appName,
                                     WebClientSession wcs)
      • initializeControls

        public void initializeControls(org.w3c.dom.Element element)
        initialize control descriptors for controls in the presentation. will in turn initialize any template component descriptors that a control contains in it's component-list
      • getMainPage

        public org.w3c.dom.Element getMainPage()
        helper method to return the first page in the xml presentation (should only be one anyway)
      • getPageIndex

        public java.util.HashMap getPageIndex()
      • getRecHover

        public org.w3c.dom.Element getRecHover(java.lang.String recHoverId,
                                               WebClientSession wcs)
      • getDialog

        public org.w3c.dom.Element getDialog(java.lang.String dialogId,
                                             WebClientSession wcs)
      • bindAttribute

        public void bindAttribute(java.lang.String dataSrc,
                                  java.lang.String componentId)
      • getDataSrcBindList

        public java.util.List getDataSrcBindList(java.lang.String dataSrc)
      • getPresentationElement

        public org.w3c.dom.Element getPresentationElement()
        get the presentation element
      • getMainPageOnDemand

        public org.w3c.dom.Element getMainPageOnDemand()
      • getTabElement

        public org.w3c.dom.Element getTabElement(java.lang.String name)
      • getDefaultTab

        public java.lang.String getDefaultTab()
      • getAppType

        public java.lang.String getAppType()
      • getEntityRelationshipModel

        public EntityRelationshipModel getEntityRelationshipModel()
        Returns the EntityRelationshipModel for the application is if has been created.