Class DynamicRequestViewBean

  • All Implemented Interfaces:
    com.iplanet.jato.RequestCompletionListener, com.iplanet.jato.RequestHandler, com.iplanet.jato.RequestParticipant, com.iplanet.jato.view.ContainerView, com.iplanet.jato.view.View, com.iplanet.jato.view.ViewBean, com.iplanet.jato.view.WebActionHandler, com.iplanet.jato.view.WebActions, com.sun.web.ui.view.tabs.CCNodeEventHandlerInterface
    Direct Known Subclasses:
    AMServiceProfileViewBeanBase, SubConfigAddViewBean, SubConfigEditViewBean

    public abstract class DynamicRequestViewBean
    extends AMPrimaryMastHeadViewBean
    This view bean handles dynamic requests made from the client.
    Since:
    13.0.0
    • Field Detail

      • dynamicRequest

        protected boolean dynamicRequest
    • Constructor Detail

      • DynamicRequestViewBean

        public DynamicRequestViewBean​(String name)
        Creates an instance of DynamicRequestViewBean.
        Parameters:
        name - Name of page.
    • Method Detail

      • handleDynLinkRequest

        public void handleDynLinkRequest​(com.iplanet.jato.view.event.RequestInvocationEvent event)
        Extract the URL for the dynamic link and pass it to subclass to handle the link request.
        Parameters:
        event - Request invocation event.
      • handleCreateDynLinkRequest

        public void handleCreateDynLinkRequest​(com.iplanet.jato.view.event.RequestInvocationEvent event)
        Populate the requested URL with the realm and pass it to subclass to handle the link request.
        Parameters:
        event - Request invocation event.
      • handleEditDynLinkRequest

        public void handleEditDynLinkRequest​(com.iplanet.jato.view.event.RequestInvocationEvent event)
        Populate the requested URL with the realm and ID of the attribute to edit, then pass it to subclass to handle the link request.
        Parameters:
        event - Request invocation event.
      • handleRefreshDynLinkRequest

        public void handleRefreshDynLinkRequest​(com.iplanet.jato.view.event.RequestInvocationEvent event)
        Store the unsaved attributes and reload the page.
        Parameters:
        event - Request invocation event.
      • handleDynamicLinkRequest

        protected abstract void handleDynamicLinkRequest​(String url)
        Handle the appropriate dynamic link request.
        Parameters:
        url - The URL to link to.
      • getAttributeValueMap

        protected abstract Map<String,​Set<String>> getAttributeValueMap()
        Get the current (could be unsaved) attribute values for the view bean.
        Returns:
        the attribute values