Class ServiceViewBeanBase

  • 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:
    ServicesAddViewBean, ServicesEditViewBean, ServicesNoAttributeViewBean

    public abstract class ServiceViewBeanBase
    extends AMPrimaryMastHeadViewBean
    • Constructor Detail

      • ServiceViewBeanBase

        public ServiceViewBeanBase​(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

      • initialize

        public 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
      • 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()
      • getPageTitle

        protected abstract String getPageTitle()
      • createThreeButtonPageTitleModel

        protected void createThreeButtonPageTitleModel()
      • createPropertyModel

        protected void createPropertyModel()
      • 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.
      • handleDynLinkRequest

        public void handleDynLinkRequest​(com.iplanet.jato.view.event.RequestInvocationEvent event)
        Handles link type attribute schema request.
        Parameters:
        event - Request invocation event.
      • getAttributeValues

        protected Map getAttributeValues()
                                  throws com.iplanet.jato.model.ModelControlException,
                                         AMConsoleException
        Throws:
        com.iplanet.jato.model.ModelControlException
        AMConsoleException
      • forwardToServicesViewBean

        protected void forwardToServicesViewBean()
      • isCreateViewBean

        protected abstract boolean isCreateViewBean()