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

        String roleName = getSelectedItem().get(LIST_COLUMN_GROUP_NAME).toString();
        Map<String, String[]> params = new HashMap<String, String[]>();
        params.put(A_CmsOrgUnitDialog.PARAM_OUFQN, new String[] {getParamOufqn()});
        params.put(PARAM_ROLE, new String[] {roleName});
        params.put(CmsDialog.PARAM_ACTION, new String[] {CmsDialog.DIALOG_INITIAL});
        if (getParamListAction().equals(LIST_ACTION_ICON)) {
            try {
                if (OpenCms.getRoleManager().hasRole(getCms(), CmsRole.valueOf(getCms().readGroup(roleName)))) {
                    // forward to the edit user screen
                    getToolManager().jspForwardTool(this, getCurrentToolPath() + "/overview/edit", params);
                } else {
                    getToolManager().jspForwardTool(this, getCurrentToolPath() + "/overview", params);
                }
            } catch (CmsException e) {
                // noop
            }
        } else if (getParamListAction().equals(LIST_DEFACTION_OVERVIEW)) {
            // forward to the overview screen
            getToolManager().jspForwardTool(this, getCurrentToolPath() + "/overview", params);
        } else {
            throwListUnsupportedActionException();
        }
        listSave();
    }
@ Override public void executeListSingleActions ( ) throws IOException , ServletException , CmsRuntimeException { String roleName = getSelectedItem ( ) . get ( LIST_COLUMN_GROUP_NAME ) . toString ( ) ; Map < String , String [ ] > params = new HashMap < String , String [ ] > ( ) ; params . put ( A_CmsOrgUnitDialog . PARAM_OUFQN , new String [ ] { getParamOufqn ( ) } ) ; params . put ( PARAM_ROLE , new String [ ] { roleName } ) ; params . put ( CmsDialog . PARAM_ACTION , new String [ ] { CmsDialog . DIALOG_INITIAL } ) ; if ( getParamListAction ( ) . equals ( LIST_ACTION_ICON ) ) { try { if ( OpenCms . getRoleManager ( ) . hasRole ( getCms ( ) , CmsRole . valueOf ( getCms ( ) . readGroup ( roleName ) ) ) ) { getToolManager ( ) . jspForwardTool ( this , getCurrentToolPath ( ) + "/overview/edit" , params ) ; } else { getToolManager ( ) . jspForwardTool ( this , getCurrentToolPath ( ) + "/overview" , params ) ; } } catch ( CmsException e ) { } } else if ( getParamListAction ( ) . equals ( LIST_DEFACTION_OVERVIEW ) ) { getToolManager ( ) . jspForwardTool ( this , getCurrentToolPath ( ) + "/overview" , params ) ; } else { throwListUnsupportedActionException ( ) ; } listSave ( ) ; }
@see org.opencms.workplace.list.A_CmsListDialog#executeListSingleActions()