Class AMPrimaryMastHeadViewBean

    • Field Summary

      Fields 
      Modifier and Type Field Description
      static String HDR_COMMON  
      static String MH_COMMON  
      static String PG_SESSION_PAGE_TRAIL_ID  
      protected static String PG_SESSION_TAB_ID  
      protected static Set retainPageSessionsBtwTabs  
      static String TAB_COMMON  
      protected com.sun.web.ui.model.CCTabsModel tabModel  
      • Fields inherited from class com.iplanet.jato.view.ViewBeanBase

        DEFAULT_COMMAND_CHILD_NVP_NAME, DISPLAY_EVENT_COMPLETED_REQUEST_ATTRIBUTE_NAME, OPTION_USE_PAGE_SESSION_FOR_DEFAULT_COMMAND_CHILD
      • Fields inherited from class com.iplanet.jato.view.RequestHandlingViewBase

        HANDLE_REQUEST_METHOD_PREFIX, HANDLE_REQUEST_METHOD_SUFFIX
      • Fields inherited from class com.iplanet.jato.view.ContainerViewBase

        BEGIN_DISPLAY_EVENT_METHOD_PREFIX, BEGIN_DISPLAY_EVENT_METHOD_SUFFIX, END_DISPLAY_EVENT_METHOD_PREFIX, END_DISPLAY_EVENT_METHOD_SUFFIX, eventMethodRegistry, OPTION_ENABLE_QUALIFIELD_CHILD_NAME_LOOKUPS, OPTION_USE_LEGACY_DISPLAY_EVENT_SIGNATURES
      • Fields inherited from interface com.iplanet.jato.view.View

        QUALIFIED_VIEW_NAME_SEPARATOR
      • Fields inherited from interface com.iplanet.jato.view.ViewBean

        PAGE_SESSION_ATTRIBUTE_NVP_NAME, VIEW_BEAN_NAME_SUFFIX
      • Fields inherited from interface com.iplanet.jato.view.WebActionHandler

        DELETE_CONTEXT, EXECUTE_CONTEXT, INSERT_CONTEXT, MODEL_TYPE_DELETE, MODEL_TYPE_EXECUTE, MODEL_TYPE_INSERT, MODEL_TYPE_RETRIEVE, MODEL_TYPE_UPDATE, RETRIEVE_CONTEXT, UPDATE_CONTEXT
      • Fields inherited from interface com.iplanet.jato.view.WebActions

        ACTION_CLEAR, ACTION_DELETE, ACTION_EXECUTE, ACTION_FIRST, ACTION_INSERT, ACTION_LAST, ACTION_NEXT, ACTION_PREV, ACTION_PREVIOUS, ACTION_REFRESH, ACTION_SELECT, ACTION_UPDATE
    • Constructor Detail

      • AMPrimaryMastHeadViewBean

        public AMPrimaryMastHeadViewBean​(String name)
        Creates an instance of base view bean object.
        Parameters:
        name - Name of page.
    • Method Detail

      • setRequestContext

        public void setRequestContext​(com.iplanet.jato.RequestContext rc)
        Specified by:
        setRequestContext in interface com.iplanet.jato.RequestParticipant
        Overrides:
        setRequestContext in class AMViewBeanBase
      • forwardTo

        public void forwardTo​(com.iplanet.jato.RequestContext rc)
        Specified by:
        forwardTo in interface com.iplanet.jato.view.ViewBean
        Overrides:
        forwardTo in class AMViewBeanBase
      • handleRealmNameInTabSwitch

        protected boolean handleRealmNameInTabSwitch​(com.iplanet.jato.RequestContext rc)
      • registerChildren

        protected void registerChildren()
        Registers user interface components used by this view bean.
        Overrides:
        registerChildren in class AMViewBeanBase
      • createChild

        protected com.iplanet.jato.view.View createChild​(String name)
        Creates user interface components used by this view bean.
        Overrides:
        createChild in class AMViewBeanBase
        Parameters:
        name - of component
        Returns:
        child component
      • beginDisplay

        public void beginDisplay​(com.iplanet.jato.view.event.DisplayEvent event)
                          throws com.iplanet.jato.model.ModelControlException
        Specified by:
        beginDisplay in interface com.iplanet.jato.view.ContainerView
        Overrides:
        beginDisplay in class AMViewBeanBase
        Throws:
        com.iplanet.jato.model.ModelControlException
      • beginDisplay

        protected void beginDisplay​(com.iplanet.jato.view.event.DisplayEvent event,
                                    boolean setSelectedTabNode)
                             throws com.iplanet.jato.model.ModelControlException
        Throws:
        com.iplanet.jato.model.ModelControlException
      • setSelectedTabNode

        protected void setSelectedTabNode​(String realmName)
      • getDefaultTabId

        protected int getDefaultTabId​(String realmName,
                                      jakarta.servlet.http.HttpServletRequest req)
      • createTabModel

        protected void createTabModel()
        code to handle tab related functionality
      • nodeClicked

        public void nodeClicked​(com.iplanet.jato.view.event.RequestInvocationEvent event,
                                int nodeID)
        Handles tab selected event.
        Specified by:
        nodeClicked in interface com.sun.web.ui.view.tabs.CCNodeEventHandlerInterface
        Parameters:
        event - Request Invocation Event.
        nodeID - Selected Node ID.
      • passPgSessionMapEx

        public void passPgSessionMapEx​(com.iplanet.jato.view.ViewBean other)
        Pass session attribute map to other view bean.
        Parameters:
        other - view bean
      • getTabNodeAssociatedViewBean

        protected AMViewBeanBase getTabNodeAssociatedViewBean​(String tabSetName,
                                                              int nodeID)
                                                       throws AMConsoleException
        Returns view bean for a tab.
        Parameters:
        tabSetName - Name of tab set.
        nodeID - Node ID.
        Returns:
        view bean for a tab.
        Throws:
        AMConsoleException - if view bean cannot be found.
      • getTrackingTabIDName

        protected String getTrackingTabIDName()
      • isRootRealm

        protected boolean isRootRealm​(String realm,
                                      String startDN)
      • setPageTrail

        protected void setPageTrail​(String displayName,
                                    String viewBeanClassName)
      • addPageTrail

        protected void addPageTrail​(String displayName,
                                    String viewBeanClassName)
      • getBreadCrumbDisplayName

        protected String getBreadCrumbDisplayName()
      • startPageTrail

        protected boolean startPageTrail()
      • unlockPageTrail

        public void unlockPageTrail()
      • unlockPageTrailForSwapping

        public void unlockPageTrailForSwapping()
      • lockPageTrail

        public void lockPageTrail()
      • handleBreadCrumbHrefRequest

        public void handleBreadCrumbHrefRequest​(com.iplanet.jato.view.event.RequestInvocationEvent event)