Class PanelTabFBO

    • Constructor Detail

      • PanelTabFBO

        public PanelTabFBO()
    • Method Detail

      • referenceData

        public Map referenceData​(javax.servlet.http.HttpServletRequest request,
                                 Object command,
                                 org.springframework.validation.Errors errors)
                          throws Exception
        Does nothing but has te be implemented according to the component interface. Override this method to add data to the model.
        Specified by:
        referenceData in interface DelegatedController
        Overrides:
        referenceData in class FormBindableBase
        Parameters:
        request - current HTTP request
        command - form object with request parameters bound onto it
        errors - validation errors holder
        Returns:
        a Map with reference data entries, or null if none
        Throws:
        Exception - in case of invalid state or arguments
        See Also:
        ModelAndView
      • getNode

        public final javax.jcr.Node getNode()
        get the JCR allContainerNode for this panelviewcommand.
        Returns:
        JCR allContainerNode for this panelviewcommand
      • getWebContainerNode

        public final javax.jcr.Node getWebContainerNode()
        get the JCR webContainerNode for this panelviewcommand.
        Returns:
        JCR webContainerNode for this panelviewcommand.
      • setPanel

        protected final void setPanel​(PanelBase panel)
        set the parent panel (performed by panel).
        Parameters:
        panel - parent panel
      • getPanel

        public final PanelBase getPanel()
        return the parent panel.
        Returns:
        the parent panel
      • setPanelAction

        public void setPanelAction​(String panelAction)
        set the panelAction, bound by spring.
        Parameters:
        panelAction - panelAction
      • getPanelAction

        public String getPanelAction()
        return the panel action.
        Returns:
        the panel action default = ""
      • setPanelGotoTabId

        public void setPanelGotoTabId​(String panelGotoTabId)
        the id of the tab (or subtab) shown after this submut (redirect to this tab) default filled by clicking on a tab, NEXT or PREVIOUS button. can be overwritten if the panel requires this.
      • getPanelGotoTabId

        public String getPanelGotoTabId()
        the id of the tab (or subtab) shown after this submut (redirect to this tab) default filled by clicking on a tab, NEXT or PREVIOUS button. can be overwritten if the panel requires this.
        Returns:
        the panel action default = ""
      • getEditViews

        public WmEditView[] getEditViews()
      • getNestedPath

        public String getNestedPath()
        Description copied from interface: FormBackingObject
        The nested path to be used by Spring to bind the form backing object relative to the base object. For example; for elements the nested path will be FBOMap[element.uuid] which is relative to the page version or media item version. For custom metadata in a media item it will be empty.
        Specified by:
        getNestedPath in interface FormBackingObject
        Returns:
        Nested path to this form backing object used for Spring binding
      • getFBOMap

        public Map<String,​Object> getFBOMap()
        Return the extensions as Hash map. This is used for spring binding. For example: binds the extension by id. is incorrect since the (amount and order of) extensions that are returned by this method may be changed between the get and submit.
        Returns:
        Hashmap of all extensions where they is the extensions id (as String) and the value the extensions.
      • addToFBOMap

        public void addToFBOMap​(String key,
                                FormBackingObject fbo)
        Adds an formbacking object mapping to the FBO map. This is used for spring binding.
        Parameters:
        element - fbo to add to the FBO map of this element