- cleanup
This commit is contained in:
parent
f851cbc449
commit
e173bfe682
43
services/meeting-service/.classpath
Normal file → Executable file
43
services/meeting-service/.classpath
Normal file → Executable file
@ -1,20 +1,23 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<classpath>
|
||||
<classpathentry kind="output" path="bin"/>
|
||||
<classpathentry kind="src" path="src/main/java"/>
|
||||
<classpathentry kind="src" path="src/main/resources"/>
|
||||
<classpathentry kind="src" path="src/test/java"/>
|
||||
<classpathentry kind="src" path="src/test/resources"/>
|
||||
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER" exported="true"/>
|
||||
<classpathentry kind="con" path="org.scala-ide.sdt.launching.SCALA_CONTAINER" exported="true"/>
|
||||
<classpathentry sourcepath="/home/firstuser/.gradle/caches/artifacts-26/filestore/org.testng/testng/5.8/source/e20c52f8ef51c1cbd52348d40d22422da649578b/testng-5.8-sources.jar" kind="lib" path="/home/firstuser/.gradle/caches/artifacts-26/filestore/org.testng/testng/5.8/jar/e20c52f8ef51c1cbd52348d40d22422da649578b/testng-5.8.jar" exported="true"/>
|
||||
<classpathentry sourcepath="/home/firstuser/.gradle/caches/artifacts-26/filestore/org.easymock/easymock/2.4/source/a1703c7b69a0590e25dad65ff8d14d7e465b019d/easymock-2.4-sources.jar" kind="lib" path="/home/firstuser/.gradle/caches/artifacts-26/filestore/org.easymock/easymock/2.4/jar/a1703c7b69a0590e25dad65ff8d14d7e465b019d/easymock-2.4.jar" exported="true"/>
|
||||
<classpathentry sourcepath="/home/firstuser/.gradle/caches/artifacts-26/filestore/redis.clients/jedis/2.0.0/source/83fd129417dab44c09d85f8e125fe8007ee52bc7/jedis-2.0.0-sources.jar" kind="lib" path="/home/firstuser/.gradle/caches/artifacts-26/filestore/redis.clients/jedis/2.0.0/jar/83fd129417dab44c09d85f8e125fe8007ee52bc7/jedis-2.0.0.jar" exported="true"/>
|
||||
<classpathentry sourcepath="/home/firstuser/.gradle/caches/artifacts-26/filestore/ch.qos.logback/logback-core/1.0.9/source/41916886a1df068ad1dfea9bcc649a7b8ea4553e/logback-core-1.0.9-sources.jar" kind="lib" path="/home/firstuser/.gradle/caches/artifacts-26/filestore/ch.qos.logback/logback-core/1.0.9/jar/41916886a1df068ad1dfea9bcc649a7b8ea4553e/logback-core-1.0.9.jar" exported="true"/>
|
||||
<classpathentry sourcepath="/home/firstuser/.gradle/caches/artifacts-26/filestore/ch.qos.logback/logback-classic/1.0.9/source/258c3d8f956e7c8723f13fdea6b81e3d74201f68/logback-classic-1.0.9-sources.jar" kind="lib" path="/home/firstuser/.gradle/caches/artifacts-26/filestore/ch.qos.logback/logback-classic/1.0.9/jar/258c3d8f956e7c8723f13fdea6b81e3d74201f68/logback-classic-1.0.9.jar" exported="true"/>
|
||||
<classpathentry sourcepath="/home/firstuser/.gradle/caches/artifacts-26/filestore/org.slf4j/log4j-over-slf4j/1.7.2/source/f7fafe6e71876083e54196b90156cd8364c5da83/log4j-over-slf4j-1.7.2-sources.jar" kind="lib" path="/home/firstuser/.gradle/caches/artifacts-26/filestore/org.slf4j/log4j-over-slf4j/1.7.2/jar/f7fafe6e71876083e54196b90156cd8364c5da83/log4j-over-slf4j-1.7.2.jar" exported="true"/>
|
||||
<classpathentry sourcepath="/home/firstuser/.gradle/caches/artifacts-26/filestore/org.slf4j/jcl-over-slf4j/1.7.2/source/358c500a1262d77e87167cbd0fdfb3ae8eca4fca/jcl-over-slf4j-1.7.2-sources.jar" kind="lib" path="/home/firstuser/.gradle/caches/artifacts-26/filestore/org.slf4j/jcl-over-slf4j/1.7.2/jar/358c500a1262d77e87167cbd0fdfb3ae8eca4fca/jcl-over-slf4j-1.7.2.jar" exported="true"/>
|
||||
<classpathentry sourcepath="/home/firstuser/.gradle/caches/artifacts-26/filestore/org.slf4j/jul-to-slf4j/1.7.2/source/2ee8f3304632a2025d3c58aa3b63cd8842740f84/jul-to-slf4j-1.7.2-sources.jar" kind="lib" path="/home/firstuser/.gradle/caches/artifacts-26/filestore/org.slf4j/jul-to-slf4j/1.7.2/jar/2ee8f3304632a2025d3c58aa3b63cd8842740f84/jul-to-slf4j-1.7.2.jar" exported="true"/>
|
||||
<classpathentry sourcepath="/home/firstuser/.gradle/caches/artifacts-26/filestore/org.slf4j/slf4j-api/1.7.2/source/81d61b7f33ebeab314e07de0cc596f8e858d97/slf4j-api-1.7.2-sources.jar" kind="lib" path="/home/firstuser/.gradle/caches/artifacts-26/filestore/org.slf4j/slf4j-api/1.7.2/jar/81d61b7f33ebeab314e07de0cc596f8e858d97/slf4j-api-1.7.2.jar" exported="true"/>
|
||||
<classpathentry sourcepath="/home/firstuser/.gradle/caches/artifacts-26/filestore/commons-pool/commons-pool/1.5.6/source/16390e2d74df4ab08c06a85d42a74a951dc93ad7/commons-pool-1.5.6-sources.jar" kind="lib" path="/home/firstuser/.gradle/caches/artifacts-26/filestore/commons-pool/commons-pool/1.5.6/jar/16390e2d74df4ab08c06a85d42a74a951dc93ad7/commons-pool-1.5.6.jar" exported="true"/>
|
||||
</classpath>
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<classpath>
|
||||
<classpathentry kind="src" path="src/main/java"/>
|
||||
<classpathentry kind="src" path="src/main/resources"/>
|
||||
<classpathentry kind="src" path="src/test/java"/>
|
||||
<classpathentry kind="src" path="src/test/resources"/>
|
||||
<classpathentry exported="true" kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
|
||||
<classpathentry exported="true" kind="con" path="org.scala-ide.sdt.launching.SCALA_CONTAINER"/>
|
||||
<classpathentry kind="lib" path="lib/commons-lang-2.5.jar"/>
|
||||
<classpathentry kind="lib" path="lib/commons-pool-1.5.6.jar"/>
|
||||
<classpathentry kind="lib" path="lib/easymock-2.4.jar"/>
|
||||
<classpathentry kind="lib" path="lib/gson-1.7.1.jar"/>
|
||||
<classpathentry kind="lib" path="lib/jcl-over-slf4j-1.7.2.jar"/>
|
||||
<classpathentry kind="lib" path="lib/jedis-2.0.0.jar"/>
|
||||
<classpathentry kind="lib" path="lib/jul-to-slf4j-1.7.2.jar"/>
|
||||
<classpathentry kind="lib" path="lib/log4j-over-slf4j-1.7.2.jar"/>
|
||||
<classpathentry kind="lib" path="lib/logback-classic-1.0.9.jar"/>
|
||||
<classpathentry kind="lib" path="lib/logback-core-1.0.9.jar"/>
|
||||
<classpathentry kind="lib" path="lib/scala-library-2.9.2.jar"/>
|
||||
<classpathentry kind="lib" path="lib/slf4j-api-1.7.2.jar"/>
|
||||
<classpathentry kind="lib" path="lib/testng-5.8.jar"/>
|
||||
<classpathentry kind="output" path="bin"/>
|
||||
</classpath>
|
||||
|
@ -1,74 +0,0 @@
|
||||
/**
|
||||
* BigBlueButton open source conferencing system - http://www.bigbluebutton.org/
|
||||
*
|
||||
* Copyright (c) 2012 BigBlueButton Inc. and by respective authors (see below).
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify it under the
|
||||
* terms of the GNU Lesser General Public License as published by the Free Software
|
||||
* Foundation; either version 3.0 of the License, or (at your option) any later
|
||||
* version.
|
||||
*
|
||||
* BigBlueButton is distributed in the hope that it will be useful, but WITHOUT ANY
|
||||
* WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
|
||||
* PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Lesser General Public License along
|
||||
* with BigBlueButton; if not, see <http://www.gnu.org/licenses/>.
|
||||
*
|
||||
*/
|
||||
|
||||
package org.bigbluebutton.api;
|
||||
|
||||
import java.util.ArrayList;
|
||||
|
||||
public class ApiErrors {
|
||||
private ArrayList<String[]> errors = new ArrayList<String[]>();
|
||||
|
||||
public void missingParamError(String param) {
|
||||
errors.add(new String[] {"MissingParam", "You did not pass a " + param + " parameter."});
|
||||
}
|
||||
|
||||
public void checksumError() {
|
||||
errors.add( new String[] {"checksumError", "You did not pass the checksum security check"});
|
||||
}
|
||||
|
||||
public void nonUniqueMeetingIdError() {
|
||||
errors.add(new String[] {"NotUniqueMeetingID", "A meeting already exists with that meeting ID. Please use a different meeting ID."});
|
||||
}
|
||||
|
||||
public void invalidMeetingIdError() {
|
||||
errors.add(new String[] {"invalidMeetingId", "The meeting ID that you supplied did not match any existing meetings"});
|
||||
}
|
||||
|
||||
public void meetingForciblyEndedError() {
|
||||
errors.add(new String[] {"meetingForciblyEnded", "You can not re-join a meeting that has already been forcibly ended."});
|
||||
}
|
||||
|
||||
public void invalidPasswordError() {
|
||||
errors.add(new String[] {"invalidPassword", "The password you submitted is not valid."});
|
||||
}
|
||||
|
||||
public void mismatchCreateTimeParam() {
|
||||
errors.add(new String[] {"mismatchCreateTime", "The createTime parameter submitted mismatches with the current meeting."});
|
||||
}
|
||||
|
||||
public void recordingNotFound() {
|
||||
errors.add(new String[] {"recordingNotFound", "We could not find a recording with that recordID."});
|
||||
}
|
||||
|
||||
public void noConfigFoundForToken(String token) {
|
||||
errors.add(new String[] {"configNotFound", "We could not find a config for token [" + token + "]."});
|
||||
}
|
||||
|
||||
public void noConfigFound() {
|
||||
errors.add(new String[] {"noConfigFound", "We could not find a config for this request."});
|
||||
}
|
||||
|
||||
public boolean hasErrors() {
|
||||
return errors.size() > 0;
|
||||
}
|
||||
|
||||
public ArrayList<String[]> getErrors() {
|
||||
return errors;
|
||||
}
|
||||
}
|
@ -0,0 +1,65 @@
|
||||
/**
|
||||
* BigBlueButton open source conferencing system - http://www.bigbluebutton.org/
|
||||
*
|
||||
* Copyright (c) 2012 BigBlueButton Inc. and by respective authors (see below).
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify it under the
|
||||
* terms of the GNU Lesser General Public License as published by the Free Software
|
||||
* Foundation; either version 3.0 of the License, or (at your option) any later
|
||||
* version.
|
||||
*
|
||||
* BigBlueButton is distributed in the hope that it will be useful, but WITHOUT ANY
|
||||
* WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
|
||||
* PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Lesser General Public License along
|
||||
* with BigBlueButton; if not, see <http://www.gnu.org/licenses/>.
|
||||
*
|
||||
*/
|
||||
|
||||
package org.bigbluebutton.meeting.api;
|
||||
|
||||
public interface IMeetingService {
|
||||
|
||||
void addUser();
|
||||
|
||||
User getUser(String token);
|
||||
|
||||
User removeUser(String token);
|
||||
|
||||
void removeExpiredMeetings();
|
||||
|
||||
void destroyMeeting(String meetingID);
|
||||
|
||||
Collection<Meeting> getMeetings();
|
||||
|
||||
String addSubscription(String meetingId, String event, String callbackURL);
|
||||
|
||||
boolean removeSubscription(String meetingId, String subscriptionId);
|
||||
|
||||
List<Map<String,String>> listSubscriptions(String meetingId);
|
||||
|
||||
Meeting getMeeting(String meetingId);
|
||||
|
||||
HashMap<String,Recording> getRecordings(ArrayList<String> idList);
|
||||
|
||||
HashMap<String,Recording> reorderRecordings(ArrayList<Recording> olds);
|
||||
|
||||
boolean existsAnyRecording(ArrayList<String> idList);
|
||||
|
||||
void setPublishRecording(ArrayList<String> idList,boolean publish);
|
||||
|
||||
void setRemoveMeetingWhenEnded(boolean s);
|
||||
|
||||
void deleteRecordings(ArrayList<String> idList);
|
||||
|
||||
void processRecording(String meetingId);
|
||||
|
||||
void createdPolls(String meetingId, String title, String question, String questionType, ArrayList<String> answers);
|
||||
|
||||
void endMeeting(String meetingId);
|
||||
|
||||
void addUserCustomData(String meetingId, String userID, Map<String,String> userCustomData);
|
||||
|
||||
|
||||
}
|
Loading…
Reference in New Issue
Block a user