Class AgentsViewBean

  • 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, HasEntitiesTabs, com.sun.web.ui.view.tabs.CCNodeEventHandlerInterface

    public class AgentsViewBean
    extends AMPrimaryMastHeadViewBean
    implements HasEntitiesTabs
    Main page of agent configuration.
    • Constructor Detail

      • AgentsViewBean

        public AgentsViewBean()
        Creates an instance of this view bean.
    • Method Detail

      • beginTabCommonDisplay

        public boolean beginTabCommonDisplay​(com.iplanet.jato.view.event.ChildDisplayEvent event)
        Returns true if tab set of more than one tab.
        Parameters:
        event - Child Display Event.
        Returns:
        true if tab set of more than one tab.
      • beginDisplay

        public void beginDisplay​(com.iplanet.jato.view.event.DisplayEvent event)
                          throws com.iplanet.jato.model.ModelControlException
        Sets the agent title and populates the agent and agent group action table.
        Specified by:
        beginDisplay in interface com.iplanet.jato.view.ContainerView
        Overrides:
        beginDisplay in class AMPrimaryMastHeadViewBean
        Parameters:
        event - Display Event.
        Throws:
        com.iplanet.jato.model.ModelControlException - if cannot access to framework model.
      • 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
        Overrides:
        nodeClicked in class AMPrimaryMastHeadViewBean
        Parameters:
        event - Request Invocation Event.
        nodeID - Selected Node ID.
      • handleButton1Request

        public void handleButton1Request​(com.iplanet.jato.view.event.RequestInvocationEvent event)
        Handles 'Back to' button request. In this case, it takes you back to the realm view.
        Parameters:
        event - Request Invocation Event.
      • getModelInternal

        protected AMModel getModelInternal()
        Description copied from class: AMViewBeanBase
        Returns model for this view bean. Dervived class need to implement this method.
        Specified by:
        getModelInternal in class AMViewBeanBase
        Returns:
        model for this view bean.
      • handleBtnGroupSearchRequest

        public void handleBtnGroupSearchRequest​(com.iplanet.jato.view.event.RequestInvocationEvent event)
        Handles search request.
        Parameters:
        event - Request Invocation Event.
      • handleBtnSearchRequest

        public void handleBtnSearchRequest​(com.iplanet.jato.view.event.RequestInvocationEvent event)
        Handles search request.
        Parameters:
        event - Request Invocation Event.
      • handleTblButtonGroupAddRequest

        public void handleTblButtonGroupAddRequest​(com.iplanet.jato.view.event.RequestInvocationEvent event)
        Forwards request to group creation view bean.
        Parameters:
        event - Request Invocation Event.
      • handleTblButtonAddRequest

        public void handleTblButtonAddRequest​(com.iplanet.jato.view.event.RequestInvocationEvent event)
        Forwards request to creation view bean.
        Parameters:
        event - Request Invocation Event.
      • handleTblDataActionHrefRequest

        public void handleTblDataActionHrefRequest​(com.iplanet.jato.view.event.RequestInvocationEvent event)
        Forwards request to edit agent view bean.
        Parameters:
        event - Request Invocation Event.
      • handleTblDataActionGroupHrefRequest

        public void handleTblDataActionGroupHrefRequest​(com.iplanet.jato.view.event.RequestInvocationEvent event)
        Forwards request to edit agent group view bean.
        Parameters:
        event - Request Invocation Event.
      • handleTblButtonDeleteRequest

        public void handleTblButtonDeleteRequest​(com.iplanet.jato.view.event.RequestInvocationEvent event)
                                          throws com.iplanet.jato.model.ModelControlException
        Deletes agents.
        Parameters:
        event - Request Invocation Event.
        Throws:
        com.iplanet.jato.model.ModelControlException - if table model cannot be restored.
      • handleTblButtonGroupDeleteRequest

        public void handleTblButtonGroupDeleteRequest​(com.iplanet.jato.view.event.RequestInvocationEvent event)
                                               throws com.iplanet.jato.model.ModelControlException
        Deletes agent groups.
        Parameters:
        event - Request Invocation Event.
        Throws:
        com.iplanet.jato.model.ModelControlException - if table model cannot be restored.
      • beginTblSearchGroupDisplay

        public boolean beginTblSearchGroupDisplay​(com.iplanet.jato.view.event.ChildDisplayEvent event)
        Returns true if agent type is not 2.2 agent.
        Parameters:
        event - Child display event.
        Returns:
        true if agent type is not 2.2 agent.
      • beginBtnGroupSearchDisplay

        public boolean beginBtnGroupSearchDisplay​(com.iplanet.jato.view.event.ChildDisplayEvent event)
        Returns true if agent type is not 2.2 agent.
        Parameters:
        event - Child display event.
        Returns:
        true if agent type is not 2.2 agent.
      • beginTfGroupFilterDisplay

        public boolean beginTfGroupFilterDisplay​(com.iplanet.jato.view.event.ChildDisplayEvent event)
        Returns true if agent type is not 2.2 agent.
        Parameters:
        event - Child display event.
        Returns:
        true if agent type is not 2.2 agent.
      • handleParentagepathHrefRequest

        public void handleParentagepathHrefRequest​(com.iplanet.jato.view.event.RequestInvocationEvent event)
        Handles parentage path request.
        Parameters:
        event - Request Invocation Event.