Class AMServiceProfileViewBeanBase

    • Field Detail

      • ptModel

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

        protected boolean initialized
      • submitCycle

        protected boolean submitCycle
      • serviceName

        protected String serviceName
    • Constructor Detail

      • AMServiceProfileViewBeanBase

        public AMServiceProfileViewBeanBase​(String name,
                                            String url,
                                            String serviceName)
        Creates a service profile view bean.
        Parameters:
        name - Name of view bean.
        url - Default display URL.
        serviceName - Name of service.
    • Method Detail

      • setRequestContext

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

        protected void initialize​(String serviceName)
      • setSubmitCycle

        public void setSubmitCycle​(boolean cycle)
      • isSubmitCycle

        protected boolean isSubmitCycle()
      • 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 AMPrimaryMastHeadViewBean
        Throws:
        com.iplanet.jato.model.ModelControlException
      • beginPropertyDisplay

        public boolean beginPropertyDisplay​(com.iplanet.jato.view.event.ChildDisplayEvent 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.
      • createPageTitleModel

        protected void createPageTitleModel()
      • createTwoButtonPageTitleModel

        protected void createTwoButtonPageTitleModel()
      • createThreeButtonPageTitleModel

        protected void createThreeButtonPageTitleModel()
      • getBackButtonLabel

        protected String getBackButtonLabel()
      • createPropertyModel

        protected void createPropertyModel()
      • handleButton1Request

        public void handleButton1Request​(com.iplanet.jato.view.event.RequestInvocationEvent event)
                                  throws com.iplanet.jato.model.ModelControlException
        Handles save request.
        Parameters:
        event - Request invocation event.
        Throws:
        com.iplanet.jato.model.ModelControlException
      • handleButton2Request

        public void handleButton2Request​(com.iplanet.jato.view.event.RequestInvocationEvent event)
                                  throws com.iplanet.jato.model.ModelControlException
        Handles reset request.
        Parameters:
        event - Request invocation event
        Throws:
        com.iplanet.jato.model.ModelControlException
      • onBeforeSaveProfile

        protected boolean onBeforeSaveProfile​(Map attrValues)
        Dervived class can overwrite this method to alter attribute values before are the saved.
        Returns:
        true to proceed with saving attribute values.
      • onBeforeResetProfile

        protected void onBeforeResetProfile()
        Dervived class can overwrite this method to perform some necessary tasks before reseting profile.
      • getAttributeValues

        protected Map getAttributeValues()