Class SelectRealmViewBean

  • 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

    public class SelectRealmViewBean
    extends AMViewBeanBase
    This appears in a popup window, user can search for realms; select one of of the realm; and the realm will be populated to the REALM attribute value in the opener window.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static String DEFAULT_DISPLAY_URL
      Default Display URL.
      • Fields inherited from class com.iplanet.jato.view.ViewBeanBase

        DEFAULT_COMMAND_CHILD_NVP_NAME, DISPLAY_EVENT_COMPLETED_REQUEST_ATTRIBUTE_NAME, OPTION_USE_PAGE_SESSION_FOR_DEFAULT_COMMAND_CHILD
      • Fields inherited from class com.iplanet.jato.view.RequestHandlingViewBase

        HANDLE_REQUEST_METHOD_PREFIX, HANDLE_REQUEST_METHOD_SUFFIX
      • Fields inherited from class com.iplanet.jato.view.ContainerViewBase

        BEGIN_DISPLAY_EVENT_METHOD_PREFIX, BEGIN_DISPLAY_EVENT_METHOD_SUFFIX, END_DISPLAY_EVENT_METHOD_PREFIX, END_DISPLAY_EVENT_METHOD_SUFFIX, eventMethodRegistry, OPTION_ENABLE_QUALIFIELD_CHILD_NAME_LOOKUPS, OPTION_USE_LEGACY_DISPLAY_EVENT_SIGNATURES
      • Fields inherited from interface com.iplanet.jato.view.View

        QUALIFIED_VIEW_NAME_SEPARATOR
      • Fields inherited from interface com.iplanet.jato.view.ViewBean

        PAGE_SESSION_ATTRIBUTE_NVP_NAME, VIEW_BEAN_NAME_SUFFIX
      • Fields inherited from interface com.iplanet.jato.view.WebActionHandler

        DELETE_CONTEXT, EXECUTE_CONTEXT, INSERT_CONTEXT, MODEL_TYPE_DELETE, MODEL_TYPE_EXECUTE, MODEL_TYPE_INSERT, MODEL_TYPE_RETRIEVE, MODEL_TYPE_UPDATE, RETRIEVE_CONTEXT, UPDATE_CONTEXT
      • Fields inherited from interface com.iplanet.jato.view.WebActions

        ACTION_CLEAR, ACTION_DELETE, ACTION_EXECUTE, ACTION_FIRST, ACTION_INSERT, ACTION_LAST, ACTION_NEXT, ACTION_PREV, ACTION_PREVIOUS, ACTION_REFRESH, ACTION_SELECT, ACTION_UPDATE
    • Constructor Summary

      Constructors 
      Constructor Description
      SelectRealmViewBean()
      Creates an instance of the view bean.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void beginDisplay​(com.iplanet.jato.view.event.DisplayEvent event)  
      protected com.iplanet.jato.view.View createChild​(String name)
      Creates user interface components used by this view bean.
      protected AMModel getModelInternal()
      Returns model for this view bean.
      void handleBtnRealmRequest​(com.iplanet.jato.view.event.RequestInvocationEvent event)
      Refreshes the view so that search for services can be done.
      void handleBtnSearchRequest​(com.iplanet.jato.view.event.RequestInvocationEvent event)
      Refreshes the view so that search of realm with a new filter can happens.
      protected void registerChildren()
      Registers user interface components used by this view bean.
      • Methods inherited from class com.iplanet.jato.view.ViewBeanBase

        clearPageSessionAttributes, forward, forwardTo, getDefaultCommandDescriptor, getDefaultDisplayURL, getDisplayURL, getLogicalName, getModuleURL, getPageSessionAttribute, getPageSessionAttributeString, getRequestInvocationName, getRequestInvocationName, handleDeserializePageAttributesException, include, include, include, invokeRequestHandler, invokeRequestHandlerInternal, mapRequestParameters, removePageSessionAttribute, securityCheck, setDefaultCommandDescriptor, setDefaultDisplayURL, setPageSessionAttribute
      • Methods inherited from class com.iplanet.jato.view.RequestHandlingViewBase

        acceptRequest, afterAllModelsExecute, afterAllWebActionModelsExecute, afterHandleRequestCommandExecution, afterModelExecutes, afterWebActionModelExecutes, appMessage, beforeHandleRequestCommandExecution, beforeModelExecutes, beforeWebActionModelExecutes, createDefaultExecutionContext, executeAutoDeletingModel, executeAutoDeletingModels, executeAutoExecutingModel, executeAutoExecutingModels, executeAutoInsertingModel, executeAutoInsertingModels, executeAutoRetrievingModel, executeAutoRetrievingModels, executeAutoRetrievingModels, executeAutoUpdatingModel, executeAutoUpdatingModels, getAutoDeletingModels, getAutoExecutingModels, getAutoInsertingModels, getAutoRetrieveExecutionContext, getAutoRetrievingModels, getAutoUpdatingModels, getFirstActionExecutionContext, getLastActionExecutionContext, getModel, getNextActionExecutionContext, getPreviousActionExecutionContext, getRefreshActionExecutionContext, getRequestCompletionListenerChildNames, getRequestContext, getRequestParticipantChildNames, getSession, getViewBean, getWebActionModelOffset, getWebActionModels, getWebActionRowOffsetSessionKey, handleRequest, handleWebAction, isAutoRetrieveEnabled, onHandleRequestCommandExecutionError, onModelError, onNoModelDataAvailable, onWebActionExecutionError, requestComplete, setAutoDeletingModels, setAutoExecutingModels, setAutoInsertingModels, setAutoRetrieveEnabled, setAutoRetrieveExecutionContext, setAutoRetrievingModels, setAutoUpdatingModels, setWebActionModelOffset
      • Methods inherited from class com.iplanet.jato.view.ContainerViewBase

        beginChildDisplay, beginComponentDisplay, beginDisplay, childExists, createChildReserved, endChildDisplay, endChildDisplay, endComponentDisplay, endDisplay, endDisplay, ensureChild, getChild, getChildNames, getChildNames, getChildType, getCommandChildNames, getDefaultModel, getDisplayField, getDisplayFieldBooleanValue, getDisplayFieldDoubleValue, getDisplayFieldIntValue, getDisplayFieldStringValue, getDisplayFieldValue, getNumChildren, getQualifiedCommandChildNames, onValidationException, registerChild, registerDisplayEventHandlers, removeAllChildren, removeChild, removeQualifiedNameIndices, resetChildren, setDefaultModel, setDisplayFieldValue, setDisplayFieldValue, setDisplayFieldValue, setDisplayFieldValue, unregisterChild
      • Methods inherited from class com.iplanet.jato.view.ViewBase

        getName, getParent, getParentViewBean, getQualifiedName, getQualifiedViewNameSeparator, getRootView, getRootView, getSimpleQualifiedName, isVisible, setName, setParent, setQualifiedViewNameSeparator, setVisible
      • Methods inherited from interface com.iplanet.jato.view.ContainerView

        endChildDisplay, endDisplay, getChild, getChildNames, getChildType, getDefaultModel, getDisplayField, getDisplayFieldValue, getNumChildren, resetChildren, setDisplayFieldValue
      • Methods inherited from interface com.iplanet.jato.RequestHandler

        acceptRequest, getRequestContext, handleRequest
      • Methods inherited from interface com.iplanet.jato.view.View

        getName, getParent, getQualifiedName, setName, setParent
      • Methods inherited from interface com.iplanet.jato.view.ViewBean

        getModel, getSession, getViewBean
      • Methods inherited from interface com.iplanet.jato.view.WebActionHandler

        getWebActionModels, handleWebAction, isAutoRetrieveEnabled, setAutoRetrieveEnabled
    • Constructor Detail

      • SelectRealmViewBean

        public SelectRealmViewBean()
        Creates an instance of the view bean.
    • Method Detail

      • createChild

        protected com.iplanet.jato.view.View createChild​(String name)
        Description copied from class: AMViewBeanBase
        Creates user interface components used by this view bean.
        Overrides:
        createChild in class AMViewBeanBase
        Parameters:
        name - of component
        Returns:
        child component
      • 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.
      • 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 AMViewBeanBase
        Throws:
        com.iplanet.jato.model.ModelControlException
      • handleBtnSearchRequest

        public void handleBtnSearchRequest​(com.iplanet.jato.view.event.RequestInvocationEvent event)
        Refreshes the view so that search of realm with a new filter can happens.
        Parameters:
        event - Request Invocation Event.
      • handleBtnRealmRequest

        public void handleBtnRealmRequest​(com.iplanet.jato.view.event.RequestInvocationEvent event)
        Refreshes the view so that search for services can be done.
        Parameters:
        event - Request Invocation Event.