@Override
    public void executeListSingleActions() throws IOException, ServletException {

        String moduleName = getParamModule();
        String exportpointName = getSelectedItem().getId();

        Map params = new HashMap();
        params.put(PARAM_MODULE, moduleName);
        params.put(PARAM_EXPORTPOINT, exportpointName);

        if (getParamListAction().equals(LIST_ACTION_DELETE)) {
            // delete a dependency
            CmsModule module = (CmsModule)OpenCms.getModuleManager().getModule(moduleName).clone();
            deleteExportpoint(module, exportpointName);
        } else if (getParamListAction().equals(LIST_ACTION_EDIT) || getParamListAction().equals(LIST_DEFACTION_EDIT)) {
            // edit an export pointfrom the list
            params.put(PARAM_ACTION, DIALOG_INITIAL);
            getToolManager().jspForwardTool(this, "/modules/edit/exportpoints/edit", params);
        }
        // refresh the list
        Map objects = (Map)getSettings().getListObject();
        if (objects != null) {
            objects.remove(CmsModulesList.class.getName());
        }
        listSave();
    }
@ Override public void executeListSingleActions ( ) throws IOException , ServletException { String moduleName = getParamModule ( ) ; String exportpointName = getSelectedItem ( ) . getId ( ) ; Map params = new HashMap ( ) ; params . put ( PARAM_MODULE , moduleName ) ; params . put ( PARAM_EXPORTPOINT , exportpointName ) ; if ( getParamListAction ( ) . equals ( LIST_ACTION_DELETE ) ) { CmsModule module = ( CmsModule ) OpenCms . getModuleManager ( ) . getModule ( moduleName ) . clone ( ) ; deleteExportpoint ( module , exportpointName ) ; } else if ( getParamListAction ( ) . equals ( LIST_ACTION_EDIT ) || getParamListAction ( ) . equals ( LIST_DEFACTION_EDIT ) ) { params . put ( PARAM_ACTION , DIALOG_INITIAL ) ; getToolManager ( ) . jspForwardTool ( this , "/modules/edit/exportpoints/edit" , params ) ; } Map objects = ( Map ) getSettings ( ) . getListObject ( ) ; if ( objects != null ) { objects . remove ( CmsModulesList . class . getName ( ) ) ; } listSave ( ) ; }
@see org.opencms.workplace.list.A_CmsListDialog#executeListSingleActions()