protected void actionClose() throws IOException, JspException, ServletException {

        try {
            if (Boolean.valueOf(getParamDirectedit()).booleanValue()) {
                // editor is in direct edit mode
                if (CmsStringUtil.isNotEmpty(getParamBacklink())) {
                    // set link to the specified back link target
                    setParamCloseLink(getJsp().link(getParamBacklink()));
                } else {
                    // set link to the edited resource
                    setParamCloseLink(getJsp().link(getParamResource()));
                }
                // save initialized instance of this class in request attribute for included sub-elements
                getJsp().getRequest().setAttribute(SESSION_WORKPLACE_CLASS, this);
                // load the common JSP close dialog
                getJsp().include(FILE_DIALOG_CLOSE);
            } else {
                if (CmsStringUtil.isNotEmpty(getParamBacklink())) {
                    // set link to the specified back link target
                    setParamCloseLink(getJsp().link(getParamBacklink()));
                    // save initialized instance of this class in request attribute for included sub-elements
                    getJsp().getRequest().setAttribute(SESSION_WORKPLACE_CLASS, this);
                    // load the common JSP close dialog
                    getJsp().include(FILE_DIALOG_CLOSE);
                } else {
                    // forward to the workplace explorer view
                    sendForward(CmsVaadinUtils.getWorkplaceLink(), new HashMap<String, String[]>());
                }
            }
        } finally {
            clearEditorSessionInfo();
        }
    }
protected void actionClose ( ) throws IOException , JspException , ServletException { try { if ( Boolean . valueOf ( getParamDirectedit ( ) ) . booleanValue ( ) ) { if ( CmsStringUtil . isNotEmpty ( getParamBacklink ( ) ) ) { setParamCloseLink ( getJsp ( ) . link ( getParamBacklink ( ) ) ) ; } else { setParamCloseLink ( getJsp ( ) . link ( getParamResource ( ) ) ) ; } getJsp ( ) . getRequest ( ) . setAttribute ( SESSION_WORKPLACE_CLASS , this ) ; getJsp ( ) . include ( FILE_DIALOG_CLOSE ) ; } else { if ( CmsStringUtil . isNotEmpty ( getParamBacklink ( ) ) ) { setParamCloseLink ( getJsp ( ) . link ( getParamBacklink ( ) ) ) ; getJsp ( ) . getRequest ( ) . setAttribute ( SESSION_WORKPLACE_CLASS , this ) ; getJsp ( ) . include ( FILE_DIALOG_CLOSE ) ; } else { sendForward ( CmsVaadinUtils . getWorkplaceLink ( ) , new HashMap < String , String [ ] > ( ) ) ; } } } finally { clearEditorSessionInfo ( ) ; } }
Closes the editor and forwards to the workplace or the resource depending on the editor mode.<p>

@throws IOException if forwarding fails
@throws ServletException if forwarding fails
@throws JspException if including a JSP fails