void submit() {

        int action = -1;

        if (isModeAll()) {
            action = CmsFlexCache.CLEAR_ONLINE_ALL;
        } else {
            action = CmsFlexCache.CLEAR_ONLINE_ENTRIES;
        }

        OpenCms.fireCmsEvent(
            new CmsEvent(
                I_CmsEventListener.EVENT_FLEX_CACHE_CLEAR,
                Collections.<String, Object> singletonMap(CmsFlexCache.CACHE_ACTION, new Integer(action))));
    }
void submit ( ) { int action = - 1 ; if ( isModeAll ( ) ) { action = CmsFlexCache . CLEAR_ONLINE_ALL ; } else { action = CmsFlexCache . CLEAR_ONLINE_ENTRIES ; } OpenCms . fireCmsEvent ( new CmsEvent ( I_CmsEventListener . EVENT_FLEX_CACHE_CLEAR , Collections . < String , Object > singletonMap ( CmsFlexCache . CACHE_ACTION , new Integer ( action ) ) ) ) ; }
Reads out Checkboxes and chosen mode.<p>