Class EntityPropertiesBase

  • 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:
    IDFFViewBeanBase, SAMLv2Base, WSFedGeneralBase

    public abstract class EntityPropertiesBase
    extends AMPrimaryMastHeadViewBean
    This is the base for all of the entity propery views. It will build the tab menu based on the configurations (roles) supported by the selected entity type. Extender must implement the following methods: protected abstract String getProfileName(); protected abstract void createPropertyModel(String name); The value returned from getProfileName() must be the beginning of the name of the class viewbean being invoked. For example, for a SAMLv2 protocol entity, getProfileName() will return "SAMLv2" which will then be converted to SAMLv2GeneralViewBean, SAMLv2General.jsp, etc...
    • Constructor Detail

      • EntityPropertiesBase

        public EntityPropertiesBase​(String name)
    • Method Detail

      • 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
      • setPageTitle

        protected void setPageTitle​(String title)
      • createPageTitleModel

        protected void createPageTitleModel()
      • getEntityModel

        protected AMModel getEntityModel()
      • nodeClicked

        public void nodeClicked​(com.iplanet.jato.view.event.RequestInvocationEvent event,
                                int nodeID)
        Event Handlers for the following events: tab selection, save button, reset button, back button.
        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)
                                  throws com.iplanet.jato.model.ModelControlException
        Throws:
        com.iplanet.jato.model.ModelControlException
      • handleButton2Request

        public void handleButton2Request​(com.iplanet.jato.view.event.RequestInvocationEvent event)
      • handleButton3Request

        public void handleButton3Request​(com.iplanet.jato.view.event.RequestInvocationEvent event)
      • retrieveCommonProperties

        public void retrieveCommonProperties()
        This will pull the following properties from the page session: entity name name of the realm where the entity exists location (either hosted or remote)
      • isHosted

        public boolean isHosted()
      • getProfileName

        protected abstract String getProfileName()
      • createPropertyModel

        protected abstract void createPropertyModel()