Class AgentProfileViewBean

  • 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:
    GenericAgentProfileViewBean, WebServiceEditViewBean

    public abstract class AgentProfileViewBean
    extends AMPrimaryMastHeadViewBean
    Base class for all agent profile view bean.
    • Field Detail

      • ptModel

        protected com.sun.web.ui.model.CCPageTitleModel ptModel
      • submitCycle

        protected boolean submitCycle
      • inheritedPropertyNames

        protected Set inheritedPropertyNames
      • isGroup

        protected boolean isGroup
      • rcSet

        protected boolean rcSet
    • Method Detail

      • createPropertyModel

        protected boolean createPropertyModel()
      • 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.
      • createPageTitleModel

        protected void createPageTitleModel()
      • getBackButtonLabel

        protected String getBackButtonLabel()
      • beginDisplay

        public void beginDisplay​(com.iplanet.jato.view.event.DisplayEvent event)
                          throws com.iplanet.jato.model.ModelControlException
        Sets the property sheet values and agent title.
        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.
      • setPropertySheetValues

        protected void setPropertySheetValues()
      • setAgentTitle

        protected void setAgentTitle()
      • getValueFromMap

        protected static String getValueFromMap​(Map attrValues,
                                                String name)
      • putStringInSet

        protected static Set putStringInSet​(String value)
      • handleButton1Request

        public void handleButton1Request​(com.iplanet.jato.view.event.RequestInvocationEvent event)
                                  throws com.iplanet.jato.model.ModelControlException
        Handles Save button click.
        Parameters:
        event - Request Invocation Event.
        Throws:
        com.iplanet.jato.model.ModelControlException - if cannot access to framework model.
      • beginBtnInheritDisplay

        public boolean beginBtnInheritDisplay​(com.iplanet.jato.view.event.ChildDisplayEvent event)
        Disables inheritance setting button if the agent does not belong a group.
        Parameters:
        event - Child Display Event.
        Returns:
        true if the agent belongs to a group.
      • beginBtnDumpDisplay

        public boolean beginBtnDumpDisplay​(com.iplanet.jato.view.event.ChildDisplayEvent event)
      • handleBtnInheritRequest

        public void handleBtnInheritRequest​(com.iplanet.jato.view.event.RequestInvocationEvent event)
                                     throws com.iplanet.jato.model.ModelControlException
        Handles inheritance setting button click.
        Parameters:
        event - Request Invocation Event.
        Throws:
        com.iplanet.jato.model.ModelControlException - if cannot access to framework model.
      • handleBtnDumpRequest

        public void handleBtnDumpRequest​(com.iplanet.jato.view.event.RequestInvocationEvent event)
                                  throws com.iplanet.jato.model.ModelControlException
        Throws:
        com.iplanet.jato.model.ModelControlException
      • handleButton2Request

        public void handleButton2Request​(com.iplanet.jato.view.event.RequestInvocationEvent event)
        Handles reset button click.
        Parameters:
        event - Request Invocation Event.
      • handleButton3Request

        public void handleButton3Request​(com.iplanet.jato.view.event.RequestInvocationEvent event)
        Handles back to main page button click.
        Parameters:
        event - Request Invocation Event.
      • is2dot2Agent

        protected boolean is2dot2Agent()
      • isAgentAuthenticator

        protected boolean isAgentAuthenticator()
      • checkAgentType

        protected boolean checkAgentType​(String type)
      • getAgentType

        protected String getAgentType()
      • isFirstTab

        protected abstract boolean isFirstTab()
      • getFormValues

        protected abstract Map getFormValues()
                                      throws AMConsoleException,
                                             com.iplanet.jato.model.ModelControlException
        Throws:
        AMConsoleException
        com.iplanet.jato.model.ModelControlException
      • getPropertyNames

        protected abstract HashSet getPropertyNames()