Class PolicyOpViewBeanBase

  • 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:
    PolicyNormalViewBeanBase, PolicyReferralViewBeanBase

    public abstract class PolicyOpViewBeanBase
    extends ProfileViewBeanBase
    • Constructor Detail

      • PolicyOpViewBeanBase

        public PolicyOpViewBeanBase​(String name,
                                    String defaultDisplayURL)
        Creates a policy operation base view bean.
        Parameters:
        name - Name of view
    • Method Detail

      • createPropertyModel

        protected void createPropertyModel​(String realmName)
      • createRuleTableModels

        protected void createRuleTableModels()
      • createReferralTableModels

        protected void createReferralTableModels()
      • createSubjectTableModels

        protected void createSubjectTableModels()
      • createResponseProviderTableModels

        protected void createResponseProviderTableModels()
      • createConditionTableModels

        protected void createConditionTableModels()
      • 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
      • forwardToPolicyViewBean

        protected void forwardToPolicyViewBean()
      • handleTblRulesButtonAddRequest

        public void handleTblRulesButtonAddRequest​(com.iplanet.jato.view.event.RequestInvocationEvent event)
                                            throws com.iplanet.jato.model.ModelControlException
        Handles add new rule request.
        Parameters:
        event - Request Invocation Event.
        Throws:
        com.iplanet.jato.model.ModelControlException
      • handleTblRulesButtonDeleteRequest

        public void handleTblRulesButtonDeleteRequest​(com.iplanet.jato.view.event.RequestInvocationEvent event)
                                               throws com.iplanet.jato.model.ModelControlException
        Handles delete rule request.
        Parameters:
        event - Request Invocation Event.
        Throws:
        com.iplanet.jato.model.ModelControlException
      • handleTblRulesEditLinkRequest

        public void handleTblRulesEditLinkRequest​(com.iplanet.jato.view.event.RequestInvocationEvent event)
                                           throws com.iplanet.jato.model.ModelControlException
        Handles edit rule request.
        Parameters:
        event - Request Invocation Event.
        Throws:
        com.iplanet.jato.model.ModelControlException
      • reconstructPolicy

        protected boolean reconstructPolicy()
                                     throws com.iplanet.jato.model.ModelControlException,
                                            AMConsoleException
        Throws:
        com.iplanet.jato.model.ModelControlException
        AMConsoleException
      • handleTblReferralsButtonAddRequest

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

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

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

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

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

        public void handleTblSubjectsButtonDeleteRequest​(com.iplanet.jato.view.event.RequestInvocationEvent event)
                                                  throws com.iplanet.jato.model.ModelControlException
        Handles delete subject request.
        Parameters:
        event - Request Invocation Event.
        Throws:
        com.iplanet.jato.model.ModelControlException
      • handleTblResponseProvidersButtonAddRequest

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

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

        public void handleTblResponseProvidersButtonDeleteRequest​(com.iplanet.jato.view.event.RequestInvocationEvent event)
                                                           throws com.iplanet.jato.model.ModelControlException
        Handles delete response attribute request.
        Parameters:
        event - Request Invocation Event.
        Throws:
        com.iplanet.jato.model.ModelControlException
      • handleTblConditionsButtonAddRequest

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

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

        public void handleTblConditionsButtonDeleteRequest​(com.iplanet.jato.view.event.RequestInvocationEvent event)
                                                    throws com.iplanet.jato.model.ModelControlException
        Handles delete condition request.
        Parameters:
        event - Request Invocation Event.
        Throws:
        com.iplanet.jato.model.ModelControlException
      • handleButton3Request

        public void handleButton3Request​(com.iplanet.jato.view.event.RequestInvocationEvent event)
        Handles cancel request.
        Parameters:
        event - Request invocation event
      • getBackButtonLabel

        protected String getBackButtonLabel()
        Description copied from class: ProfileViewBeanBase
        Creates the label used to take the user back to the previous page they were viewing. The label is defined in the property file as "Back to {0}" which lets us control the format of the label in different locales. The name of the current object is substituted.
        Overrides:
        getBackButtonLabel in class ProfileViewBeanBase
      • createTableModels

        protected abstract void createTableModels()
      • createPageTitleModel

        protected abstract void createPageTitleModel()
      • getPropertyXMLFileName

        protected abstract String getPropertyXMLFileName​(boolean readonly)
      • populateTables

        protected abstract void populateTables()
      • isProfilePage

        protected abstract boolean isProfilePage()