00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030
00031
00032
00033
00034
00035
00036
00037
00038
00039
00040
00041
00042
00043
00044
00045
00046
00047
00048
00049
00050
00051 package roboearth.wp5.conn;
00052
00053 import java.io.File;
00054 import java.util.ArrayList;
00055
00056 import org.semanticweb.owlapi.model.OWLOntology;
00057
00058 public interface REInterface {
00059
00066 public String requestActionRecipe(String uid);
00067
00082 public String requestEnvironment(String uid, ArrayList<String> outFilenames,
00083 ArrayList<String> outFileURLs);
00084
00099 public String requestObject(String uid, ArrayList<String> outFilenames,
00100 ArrayList<String> outFileURLs);
00101
00108 public String requestRobot(String uid);
00109
00119 public File requestObjectBinaryFile(String objectUID, String filename, String targetPath);
00120
00129 public byte[] requestObjectBinaryFile(String objectUID, String filename);
00130
00140 public File requestEnvironmentBinaryFile(String envUID, String filename, String targetPath);
00141
00150 public byte[] requestEnvironmentBinaryFile(String envUID, String filename);
00151
00165 public boolean submitActionRecipe(OWLOntology actionRecipe,
00166 String cls, String id, String description);
00167
00179 public boolean submitActionRecipe(String actionRecipe,
00180 String cls, String id, String description);
00181
00194 public boolean submitEnvironment(OWLOntology env, String cls, String id,
00195 String description);
00196
00197 @Deprecated
00198 public boolean submitEnvironment(OWLOntology env, String cls, String id,
00199 String description, ArrayList<File> binaryFiles);
00200
00201 @Deprecated
00202 public boolean submitEnvironment(OWLOntology env, String cls, String id,
00203 String description, ArrayList<byte[]> binaryData,
00204 ArrayList<String> filenames);
00205
00216 public boolean submitEnvironment(String env, String cls, String id,
00217 String description);
00218
00219 public boolean submitEnvironment(String env, String cls, String id,
00220 String description, ArrayList<File> binaryFiles);
00221
00222 public boolean submitEnvironment(String env, String cls, String id,
00223 String description, ArrayList<byte[]> binaryData,
00224 ArrayList<String> filenames);
00225
00239 public boolean submitObject(OWLOntology objectOwl, String cls, String id,
00240 String description);
00241
00252 public boolean submitObject(String objectOwl, String cls, String id,
00253 String description);
00254
00271 public boolean submitObject(OWLOntology objectOwl, String cls, String id,
00272 String description, ArrayList<File> binaryFiles);
00273
00287 public boolean submitObject(String objectOwl, String cls, String id,
00288 String description, ArrayList<File> binaryFiles);
00289
00308 public boolean submitObject(OWLOntology objectOwl, String cls, String id,
00309 String description, ArrayList<byte[]> binaryData,
00310 ArrayList<String> filenames);
00311
00327 public boolean submitObject(String objectOwl, String cls, String id,
00328 String description, ArrayList<byte[]> binaryData,
00329 ArrayList<String> filenames);
00330
00342 public boolean submitObjectBinaryFile(String uid, File file);
00343
00357 public boolean submitObjectBinaryFile(String uid, byte[] data, String filename);
00358
00359 public boolean submitEnvironmentBinaryFile(String uid, File file);
00360
00361 public boolean submitEnvironmentBinaryFile(String uid, byte[] data, String filename);
00362
00370 public boolean deleteActionRecipe(String uid);
00371
00379 public boolean deleteEnvironment(String uid);
00380
00390 public boolean deleteObject(String uid);
00391
00402 public boolean deleteObjectBinaryFile(String uid, String filename);
00403
00414 public boolean deleteEnvironmentBinaryFile(String uid, String filename);
00415
00424 public String[] searchActionRecipes(String searchID, ArrayList<String> outUIDs);
00425
00442 public String[] searchEnvironments(String searchID, ArrayList<String> outUIDs,
00443 ArrayList<ArrayList<String>> outFilenames,
00444 ArrayList<ArrayList<String>> outFileURLs);
00445
00463 public String[] searchObjects(String searchID, ArrayList<String> outUIDs,
00464 ArrayList<ArrayList<String>> outFilenames,
00465 ArrayList<ArrayList<String>> outFileURLs);
00466
00474 public String queryActionRecipeDB(String seRQLquery);
00475
00483 public String queryEnvironmentDB(String seRQLquery);
00484
00492 public String queryObjectDB(String seRQLquery);
00493
00507 public boolean updateActionRecipe(String uid, OWLOntology actionRecipe, String description);
00508
00520 public boolean updateActionRecipe(String uid, String actionRecipe, String description);
00521
00534 public boolean updateEnvironment(String uid, OWLOntology env, String description);
00535
00546 public boolean updateEnvironment(String uid, String env, String description);
00547
00561 public boolean updateObject(String uid, OWLOntology objectOwl, String description);
00562
00573 public boolean updateObject(String uid, String objectOwl, String description);
00574
00583 public boolean updateObjectBinaryFile(String uid, File file);
00584
00596 public boolean updateObjectBinaryFile(String uid, byte[] data, String filename);
00597
00606 public boolean updateEnvironmentBinaryFile(String uid, File file);
00607
00619 public boolean updateEnvironmentBinaryFile(String uid, byte[] data, String filename);
00620
00621
00622 public ArrayList<byte[]> request2dMap(String envUid, OWLOntology srdl, String baseScannerLink, String simpleMapNameWithoutExt);
00623 public ArrayList<byte[]> requestProjected2dMap(String envUid, double minZ, double maxZ, String simpleMapNameWithoutExt);
00624
00625 }