Class SCPropertiesBase

  • 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

    public abstract class SCPropertiesBase
    extends AMPrimaryMastHeadViewBean
    This class can be used as the default base for classes which use a property sheet for their display. The extending class needs to only define the jsp, the name of the property sheet xml file, the name of the tab currently being displayed, and return the model.
    • Constructor Detail

      • SCPropertiesBase

        public SCPropertiesBase​(String name,
                                String displayURL)
        Creates a authentication domains view bean.
    • 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
      • setAttributeValuesToPropertyModel

        protected void setAttributeValuesToPropertyModel​(AMPropertySheet ps,
                                                         SCModel model)
      • createPropertyModel

        protected void createPropertyModel()
      • getPropertySheet

        protected abstract String getPropertySheet()
      • handleButton2Request

        public void handleButton2Request​(com.iplanet.jato.view.event.RequestInvocationEvent event)
        Handles reset request.
        Parameters:
        event - Request invocation event
      • handleButton1Request

        public void handleButton1Request​(com.iplanet.jato.view.event.RequestInvocationEvent event)
                                  throws com.iplanet.jato.model.ModelControlException
        Handles save button 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.