public String doWork() throws Exception { String ret = SUCCESS; IConference conf = this.userSession.getConference(); IConferenceParticipant user = this.userSession.getUser(); try { conf.enableLobby(); } catch (Exception e) { e.printStackTrace(); ret = ERROR; } return ret; }
public String doWork() throws Exception { String ret = SUCCESS; IConference conf = this.userSession.getConference(); this.info = conf.getConferenceInfo(); // this.info.setJoinURL(ConferenceConsoleConstants.getJoinURL(this.info.getKey())); this.info.setJoinURL(conf.getJoinUrl()); Locale clientLocale = this.userSession.getSessionLocale(); if (clientLocale != null) { DateFormat dateFormat = DateFormat.getDateInstance(DateFormat.FULL, clientLocale); this.localeDate = dateFormat.format(this.info.getStartDate()); } else { this.localeDate = this.info.getStartDate().toString(); } return ret; }