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

        Map<String, String[]> params = new HashMap<String, String[]>();
        params.put(A_CmsMessageDialog.PARAM_SESSIONIDS, new String[] {getParamSelItems()});
        // set action parameter to initial dialog call
        params.put(CmsDialog.PARAM_ACTION, new String[] {CmsDialog.DIALOG_INITIAL});

        if (getParamListAction().equals(LIST_MACTION_MESSAGE)) {
            // execute the send message multiaction
            // forward to the edit message screen
            getToolManager().jspForwardTool(this, "/workplace/broadcast/message", params);
        } else if (getParamListAction().equals(LIST_MACTION_EMAIL)) {
            // execute the send email multiaction
            // forward to the edit email screen
            getToolManager().jspForwardTool(this, "/workplace/broadcast/email", params);
        } else if (getParamListAction().equals(LIST_MACTION_KILL_SESSION)) {
            List<String> selectedItems = CmsStringUtil.splitAsList(getParamSelItems(), "|");
            for (String selectedItem : selectedItems) {
                try {
                    OpenCms.getSessionManager().killSession(getCms(), new CmsUUID(selectedItem));
                } catch (CmsException e) {
                    throw new CmsRuntimeException(e.getMessageContainer(), e);
                }
            }
        } else {
            throwListUnsupportedActionException();
        }
    }
@ Override public void executeListMultiActions ( ) throws IOException , ServletException { Map < String , String [ ] > params = new HashMap < String , String [ ] > ( ) ; params . put ( A_CmsMessageDialog . PARAM_SESSIONIDS , new String [ ] { getParamSelItems ( ) } ) ; params . put ( CmsDialog . PARAM_ACTION , new String [ ] { CmsDialog . DIALOG_INITIAL } ) ; if ( getParamListAction ( ) . equals ( LIST_MACTION_MESSAGE ) ) { getToolManager ( ) . jspForwardTool ( this , "/workplace/broadcast/message" , params ) ; } else if ( getParamListAction ( ) . equals ( LIST_MACTION_EMAIL ) ) { getToolManager ( ) . jspForwardTool ( this , "/workplace/broadcast/email" , params ) ; } else if ( getParamListAction ( ) . equals ( LIST_MACTION_KILL_SESSION ) ) { List < String > selectedItems = CmsStringUtil . splitAsList ( getParamSelItems ( ) , "|" ) ; for ( String selectedItem : selectedItems ) { try { OpenCms . getSessionManager ( ) . killSession ( getCms ( ) , new CmsUUID ( selectedItem ) ) ; } catch ( CmsException e ) { throw new CmsRuntimeException ( e . getMessageContainer ( ) , e ) ; } } } else { throwListUnsupportedActionException ( ) ; } }
@see org.opencms.workplace.list.A_CmsListDialog#executeListMultiActions()