Public Member Functions
roboearth.wp5.conn.REInterface Interface Reference
Inheritance diagram for roboearth.wp5.conn.REInterface:
Inheritance graph
[legend]

List of all members.

Public Member Functions

boolean deleteActionRecipe (String uid)
boolean deleteEnvironment (String uid)
boolean deleteEnvironmentBinaryFile (String uid, String filename)
boolean deleteObject (String uid)
boolean deleteObjectBinaryFile (String uid, String filename)
String queryActionRecipeDB (String seRQLquery)
String queryEnvironmentDB (String seRQLquery)
String queryObjectDB (String seRQLquery)
ArrayList< byte[]> request2dMap (String envUid, OWLOntology srdl, String baseScannerLink, String simpleMapNameWithoutExt)
String requestActionRecipe (String uid)
String requestEnvironment (String uid, ArrayList< String > outFilenames, ArrayList< String > outFileURLs)
File requestEnvironmentBinaryFile (String envUID, String filename, String targetPath)
byte[] requestEnvironmentBinaryFile (String envUID, String filename)
String requestObject (String uid, ArrayList< String > outFilenames, ArrayList< String > outFileURLs)
File requestObjectBinaryFile (String objectUID, String filename, String targetPath)
byte[] requestObjectBinaryFile (String objectUID, String filename)
ArrayList< byte[]> requestProjected2dMap (String envUid, double minZ, double maxZ, String simpleMapNameWithoutExt)
String requestRobot (String uid)
String[] searchActionRecipes (String searchID, ArrayList< String > outUIDs)
String[] searchEnvironments (String searchID, ArrayList< String > outUIDs, ArrayList< ArrayList< String >> outFilenames, ArrayList< ArrayList< String >> outFileURLs)
String[] searchObjects (String searchID, ArrayList< String > outUIDs, ArrayList< ArrayList< String >> outFilenames, ArrayList< ArrayList< String >> outFileURLs)
boolean submitActionRecipe (OWLOntology actionRecipe, String cls, String id, String description)
boolean submitActionRecipe (String actionRecipe, String cls, String id, String description)
boolean submitEnvironment (OWLOntology env, String cls, String id, String description)
boolean submitEnvironment (OWLOntology env, String cls, String id, String description, ArrayList< File > binaryFiles)
boolean submitEnvironment (OWLOntology env, String cls, String id, String description, ArrayList< byte[]> binaryData, ArrayList< String > filenames)
boolean submitEnvironment (String env, String cls, String id, String description)
boolean submitEnvironment (String env, String cls, String id, String description, ArrayList< File > binaryFiles)
boolean submitEnvironment (String env, String cls, String id, String description, ArrayList< byte[]> binaryData, ArrayList< String > filenames)
boolean submitEnvironmentBinaryFile (String uid, File file)
boolean submitEnvironmentBinaryFile (String uid, byte[] data, String filename)
boolean submitObject (OWLOntology objectOwl, String cls, String id, String description)
boolean submitObject (String objectOwl, String cls, String id, String description)
boolean submitObject (OWLOntology objectOwl, String cls, String id, String description, ArrayList< File > binaryFiles)
boolean submitObject (String objectOwl, String cls, String id, String description, ArrayList< File > binaryFiles)
boolean submitObject (OWLOntology objectOwl, String cls, String id, String description, ArrayList< byte[]> binaryData, ArrayList< String > filenames)
boolean submitObject (String objectOwl, String cls, String id, String description, ArrayList< byte[]> binaryData, ArrayList< String > filenames)
boolean submitObjectBinaryFile (String uid, File file)
boolean submitObjectBinaryFile (String uid, byte[] data, String filename)
boolean updateActionRecipe (String uid, OWLOntology actionRecipe, String description)
boolean updateActionRecipe (String uid, String actionRecipe, String description)
boolean updateEnvironment (String uid, OWLOntology env, String description)
boolean updateEnvironment (String uid, String env, String description)
boolean updateEnvironmentBinaryFile (String uid, File file)
boolean updateEnvironmentBinaryFile (String uid, byte[] data, String filename)
boolean updateObject (String uid, OWLOntology objectOwl, String description)
boolean updateObject (String uid, String objectOwl, String description)
boolean updateObjectBinaryFile (String uid, File file)
boolean updateObjectBinaryFile (String uid, byte[] data, String filename)

Detailed Description

Definition at line 58 of file REInterface.java.


Member Function Documentation

Deletes an action recipe from the RoboEarth DB.

Parameters:
uidthe action recipe's unique identifier
Returns:
true - if the recipe was successfully deleted
false - otherwise

Implemented in roboearth.wp5.conn.REConnectionHadoop, and roboearth.wp5.conn.REConnectionMySQL.

Deletes an environment from the RoboEarth DB.

Parameters:
uidthe environment's unique identifier
Returns:
true - if the environment was successfully deleted
false - otherwise

Implemented in roboearth.wp5.conn.REConnectionHadoop, and roboearth.wp5.conn.REConnectionMySQL.

boolean roboearth.wp5.conn.REInterface.deleteEnvironmentBinaryFile ( String  uid,
String  filename 
)

Deletes a binary file which is related to the specified environment description.

Parameters:
uidthe environment's unique identifier
filenamethe unique filename (among all files related to the specified environment)
Returns:
true - if the file was successfully deleted
false - otherwise

Implemented in roboearth.wp5.conn.REConnectionHadoop, and roboearth.wp5.conn.REConnectionMySQL.

Deletes an object description from the RoboEarth DB. All linked binary files get deleted, too.

Parameters:
uidthe object's unique identifier
Returns:
true - if the object description was successfully deleted
false - otherwise

Implemented in roboearth.wp5.conn.REConnectionHadoop, and roboearth.wp5.conn.REConnectionMySQL.

boolean roboearth.wp5.conn.REInterface.deleteObjectBinaryFile ( String  uid,
String  filename 
)

Deletes a binary file which is related to the specified object description.

Parameters:
uidthe object's unique identifier
filenamethe unique filename (among all files related to the specified object)
Returns:
true - if the file was successfully deleted
false - otherwise

Implemented in roboearth.wp5.conn.REConnectionHadoop, and roboearth.wp5.conn.REConnectionMySQL.

Sends the given SeRQL query to the RoboEarth DB and retrieves the result of the server-side reasoning on action recipes.

Parameters:
seRQLquerya SeRQL query
Returns:
result as a String

Implemented in roboearth.wp5.conn.REConnectionHadoop, and roboearth.wp5.conn.REConnectionMySQL.

Sends the given SeRQL query to the RoboEarth DB and retrieves the result of the server-side reasoning on environments.

Parameters:
seRQLquerya SeRQL query
Returns:
result as a String

Implemented in roboearth.wp5.conn.REConnectionHadoop, and roboearth.wp5.conn.REConnectionMySQL.

String roboearth.wp5.conn.REInterface.queryObjectDB ( String  seRQLquery)

Sends the given SeRQL query to the RoboEarth DB and retrieves the result of the server-side reasoning on objects.

Parameters:
seRQLquerya SeRQL query
Returns:
result as a String

Implemented in roboearth.wp5.conn.REConnectionHadoop, and roboearth.wp5.conn.REConnectionMySQL.

ArrayList<byte[]> roboearth.wp5.conn.REInterface.request2dMap ( String  envUid,
OWLOntology  srdl,
String  baseScannerLink,
String  simpleMapNameWithoutExt 
)

Requests an action recipe.

Parameters:
uidthe action recipe's unique identifier
Returns:
String object containing OWL description of an action recipe

Implemented in roboearth.wp5.conn.REConnectionHadoop, and roboearth.wp5.conn.REConnectionMySQL.

String roboearth.wp5.conn.REInterface.requestEnvironment ( String  uid,
ArrayList< String >  outFilenames,
ArrayList< String >  outFileURLs 
)

Requests a description of an environment. The names and URLs of binary files related to the given uid will be put into the given lists. Any element that might be in the lists before the method call will be removed first. Both list parameters may be null. In this case only the OWL encoded description is requested.

Parameters:
uidthe environment's identifier
outFilenamesthis list will be used to return the names of associated files
outFileURLsthis list will be used to return the URLs of associated files
Returns:
String object containing OWL description of environmental data

Implemented in roboearth.wp5.conn.REConnectionMySQL, and roboearth.wp5.conn.REConnectionHadoop.

File roboearth.wp5.conn.REInterface.requestEnvironmentBinaryFile ( String  envUID,
String  filename,
String  targetPath 
)

Requests an environment related binary file.

Parameters:
envUIDthe environment's ID the file is related to
filenamethe unique filename (among all files related to the specified environment)
targetPaththe path where the file shall be stored
Returns:
the requested file or null, if the file couldn't be found

Implemented in roboearth.wp5.conn.REConnectionHadoop, and roboearth.wp5.conn.REConnectionMySQL.

byte [] roboearth.wp5.conn.REInterface.requestEnvironmentBinaryFile ( String  envUID,
String  filename 
)

Requests an environment related binary file.

Parameters:
envUIDthe environment's ID the file is related to
filenamethe unique filename (among all files related to the specified environment)
Returns:
the content of the requested file in a byte array

Implemented in roboearth.wp5.conn.REConnectionHadoop, and roboearth.wp5.conn.REConnectionMySQL.

String roboearth.wp5.conn.REInterface.requestObject ( String  uid,
ArrayList< String >  outFilenames,
ArrayList< String >  outFileURLs 
)

Requests information about an object. The names and URLs of binary files related to the given uid will be put into the given lists. Any element that might be in the lists before the method call will be removed first. Both list parameters may be null. In this case only the OWL encoded description is requested.

Parameters:
uidthe object's unique identifier
outFilenamesthis list will be used to return the names of associated files
outFileURLsthis list will be used to return the URLs of associated files
Returns:
String object containing OWL description of the object

Implemented in roboearth.wp5.conn.REConnectionMySQL, and roboearth.wp5.conn.REConnectionHadoop.

File roboearth.wp5.conn.REInterface.requestObjectBinaryFile ( String  objectUID,
String  filename,
String  targetPath 
)

Requests an object related binary file.

Parameters:
objectUIDthe object's ID the file is related to
filenamethe unique filename (among all files related to the specified object)
targetPaththe path where the file shall be stored
Returns:
the requested file or null, if the file couldn't be found

Implemented in roboearth.wp5.conn.REConnectionHadoop, and roboearth.wp5.conn.REConnectionMySQL.

byte [] roboearth.wp5.conn.REInterface.requestObjectBinaryFile ( String  objectUID,
String  filename 
)

Requests an object related binary file.

Parameters:
objectUIDthe object's ID the file is related to
filenamethe unique filename (among all files related to the specified object)
Returns:
the content of the requested file in a byte array

Implemented in roboearth.wp5.conn.REConnectionHadoop, and roboearth.wp5.conn.REConnectionMySQL.

ArrayList<byte[]> roboearth.wp5.conn.REInterface.requestProjected2dMap ( String  envUid,
double  minZ,
double  maxZ,
String  simpleMapNameWithoutExt 
)

Requests a robot description.

Parameters:
uidthe robot's unique identifier
Returns:
String object containing SRDL description of a robot

Implemented in roboearth.wp5.conn.REConnectionMySQL, and roboearth.wp5.conn.REConnectionHadoop.

String [] roboearth.wp5.conn.REInterface.searchActionRecipes ( String  searchID,
ArrayList< String >  outUIDs 
)

Searches for action recipes whose uid starts with the given search string.

Parameters:
searchIDany prefix of an uid
Returns:
an array of String objects containing OWL descriptions of the action recipes found

Implemented in roboearth.wp5.conn.REConnectionHadoop, and roboearth.wp5.conn.REConnectionMySQL.

String [] roboearth.wp5.conn.REInterface.searchEnvironments ( String  searchID,
ArrayList< String >  outUIDs,
ArrayList< ArrayList< String >>  outFilenames,
ArrayList< ArrayList< String >>  outFileURLs 
)

Searches for environments whose uid starts with the given search string.

Parameters:
searchIDany prefix of an uid
outFilenamesthis list of lists will be used to return for every uid found the names of associated files. The first dimension's index corresponds to the index of the related owl description in the array that is returned by this method.
outFileURLsthis list of lists will be used to return for every uid found the URLs of associated files. The first dimension's index corresponds to the index of the related owl description in the array that is returned by this method.
Returns:
an array of String objects containing OWL descriptions of the environments found

Implemented in roboearth.wp5.conn.REConnectionHadoop, and roboearth.wp5.conn.REConnectionMySQL.

String [] roboearth.wp5.conn.REInterface.searchObjects ( String  searchID,
ArrayList< String >  outUIDs,
ArrayList< ArrayList< String >>  outFilenames,
ArrayList< ArrayList< String >>  outFileURLs 
)

Searches for object descriptions whose uid starts with the given search string.

Parameters:
searchIDany prefix of an uid
outUIDsthis list will be used to return the UIDs of all found objects
outFilenamesthis list of lists will be used to return for every uid found the names of associated files. The first dimension's index corresponds to the index of the related owl description in the array that is returned by this method.
outFileURLsthis list of lists will be used to return for every uid found the URLs of associated files. The first dimension's index corresponds to the index of the related owl description in the array that is returned by this method.
Returns:
an array of String objects containing OWL descriptions of the objects found

Implemented in roboearth.wp5.conn.REConnectionHadoop, and roboearth.wp5.conn.REConnectionMySQL.

boolean roboearth.wp5.conn.REInterface.submitActionRecipe ( OWLOntology  actionRecipe,
String  cls,
String  id,
String  description 
)

Submits an action recipe to the RoboEarth DB.

Parameters:
actionRecipeOWLOntology object containing the action recipe
clsthe class the action recipe belongs to
idthe action recipe's identifier
descriptiona natural language description of the recipe's functionality
Returns:
true - if submission was successfully completed
false - otherwise
Deprecated:
OWLOntology can change the OWL content, use the version with String parameter instead

Implemented in roboearth.wp5.conn.REConnectionHadoop, and roboearth.wp5.conn.REConnectionMySQL.

boolean roboearth.wp5.conn.REInterface.submitActionRecipe ( String  actionRecipe,
String  cls,
String  id,
String  description 
)

Submits an action recipe to the RoboEarth DB.

Parameters:
actionRecipeString containing the action recipe
clsthe class the action recipe belongs to
idthe action recipe's identifier
descriptiona natural language description of the recipe's functionality
Returns:
true - if submission was successfully completed
false - otherwise

Implemented in roboearth.wp5.conn.REConnectionHadoop, and roboearth.wp5.conn.REConnectionMySQL.

boolean roboearth.wp5.conn.REInterface.submitEnvironment ( OWLOntology  env,
String  cls,
String  id,
String  description 
)

Submits a description of an environment to the RoboEarth DB.

Parameters:
envOWLOntology object containing the environment's description
clsthe class the environment belongs to
idthe environment's identifier
descriptiona natural language description of the environment
Returns:
true - if submission was successfully completed
false - otherwise
Deprecated:
OWLOntology can change the OWL content, use the version with String parameter instead

Implemented in roboearth.wp5.conn.REConnectionHadoop, and roboearth.wp5.conn.REConnectionMySQL.

boolean roboearth.wp5.conn.REInterface.submitEnvironment ( OWLOntology  env,
String  cls,
String  id,
String  description,
ArrayList< File binaryFiles 
)
boolean roboearth.wp5.conn.REInterface.submitEnvironment ( OWLOntology  env,
String  cls,
String  id,
String  description,
ArrayList< byte[]>  binaryData,
ArrayList< String >  filenames 
)
boolean roboearth.wp5.conn.REInterface.submitEnvironment ( String  env,
String  cls,
String  id,
String  description 
)

Submits a description of an environment to the RoboEarth DB.

Parameters:
envString containing the environment's description
clsthe class the environment belongs to
idthe environment's identifier
descriptiona natural language description of the environment
Returns:
true - if submission was successfully completed
false - otherwise

Implemented in roboearth.wp5.conn.REConnectionHadoop, and roboearth.wp5.conn.REConnectionMySQL.

boolean roboearth.wp5.conn.REInterface.submitEnvironment ( String  env,
String  cls,
String  id,
String  description,
ArrayList< File binaryFiles 
)
boolean roboearth.wp5.conn.REInterface.submitEnvironment ( String  env,
String  cls,
String  id,
String  description,
ArrayList< byte[]>  binaryData,
ArrayList< String >  filenames 
)
boolean roboearth.wp5.conn.REInterface.submitEnvironmentBinaryFile ( String  uid,
byte[]  data,
String  filename 
)
boolean roboearth.wp5.conn.REInterface.submitObject ( OWLOntology  objectOwl,
String  cls,
String  id,
String  description 
)

Submits an object's description to the RoboEarth DB.

Parameters:
object_owlOWLOntology object containing the object's description
clsthe class the object belongs to
idthe object's identifier
descriptiona natural language description of the object
Returns:
true - if submission was successfully completed
false - otherwise
Deprecated:
OWLOntology can change the OWL content, use the version with String parameter instead

Implemented in roboearth.wp5.conn.REConnectionHadoop, and roboearth.wp5.conn.REConnectionMySQL.

boolean roboearth.wp5.conn.REInterface.submitObject ( String  objectOwl,
String  cls,
String  id,
String  description 
)

Submits an object's description to the RoboEarth DB.

Parameters:
object_owlString containing the object's description
clsthe class the object belongs to
idthe object's identifier
descriptiona natural language description of the object
Returns:
true - if submission was successfully completed
false - otherwise

Implemented in roboearth.wp5.conn.REConnectionHadoop, and roboearth.wp5.conn.REConnectionMySQL.

boolean roboearth.wp5.conn.REInterface.submitObject ( OWLOntology  objectOwl,
String  cls,
String  id,
String  description,
ArrayList< File binaryFiles 
)

Submits an object's description to the RoboEarth DB. The given binary files, related to the object description, will be stored in the RoboEarthDB as well.

Parameters:
objectOwlOWLOntology object containing the object's description
clsthe class the object belongs to
idthe object's identifier
descriptiona natural language description of the object
binaryFilesobject related binary files
Returns:
true - if submission was successfully completed
false - otherwise
Deprecated:
OWLOntology can change the OWL content, use the version with String parameter instead

Implemented in roboearth.wp5.conn.REConnectionHadoop, and roboearth.wp5.conn.REConnectionMySQL.

boolean roboearth.wp5.conn.REInterface.submitObject ( String  objectOwl,
String  cls,
String  id,
String  description,
ArrayList< File binaryFiles 
)

Submits an object's description to the RoboEarth DB. The given binary files, related to the object description, will be stored in the RoboEarthDB as well.

Parameters:
objectOwlString containing the object's description
clsthe class the object belongs to
idthe object's identifier
descriptiona natural language description of the object
binaryFilesobject related binary files
Returns:
true - if submission was successfully completed
false - otherwise

Implemented in roboearth.wp5.conn.REConnectionHadoop, and roboearth.wp5.conn.REConnectionMySQL.

boolean roboearth.wp5.conn.REInterface.submitObject ( OWLOntology  objectOwl,
String  cls,
String  id,
String  description,
ArrayList< byte[]>  binaryData,
ArrayList< String >  filenames 
)

Submits an object's description to the RoboEarth DB. The given binary data, related to the object description, will be stored in the RoboEarthDB as well.

Parameters:
objectOwlOWLOntology object containing the object's description
clsthe class the object belongs to
idthe object's identifier
descriptiona natural language description of the object
binaryDatathe content of the files in byte arrays
filenamesthe unique filenames (among all files related to the specified object)
Returns:
true - if submission was successfully completed
false - otherwise
Deprecated:
OWLOntology can change the OWL content, use the version with String parameter instead

Implemented in roboearth.wp5.conn.REConnectionHadoop, and roboearth.wp5.conn.REConnectionMySQL.

boolean roboearth.wp5.conn.REInterface.submitObject ( String  objectOwl,
String  cls,
String  id,
String  description,
ArrayList< byte[]>  binaryData,
ArrayList< String >  filenames 
)

Submits an object's description to the RoboEarth DB. The given binary data, related to the object description, will be stored in the RoboEarthDB as well.

Parameters:
objectOwlString containing the object's description
clsthe class the object belongs to
idthe object's identifier
descriptiona natural language description of the object
binaryDatathe content of the files in byte arrays
filenamesthe unique filenames (among all files related to the specified object)
Returns:
true - if submission was successfully completed
false - otherwise

Implemented in roboearth.wp5.conn.REConnectionHadoop, and roboearth.wp5.conn.REConnectionMySQL.

boolean roboearth.wp5.conn.REInterface.submitObjectBinaryFile ( String  uid,
File  file 
)

Submits a binary file (related to the resource specified by the given object UID) to the RoboEarth DB. The filename must be unique among all files related to the same object uid.

Parameters:
uidthe unique identifier of the resource the given binary file is linked with
filefile to submit
Returns:
true if binary file was submitted successfully, false otherwise

Implemented in roboearth.wp5.conn.REConnectionMySQL.

boolean roboearth.wp5.conn.REInterface.submitObjectBinaryFile ( String  uid,
byte[]  data,
String  filename 
)

Submits a binary file (related to the resource specified by the given object UID) to the RoboEarth DB. The filename must be unique among all files related to the same object uid.

Parameters:
uidthe unique identifier of the resource the given binary file is linked with
datathe content of the file in a byte array
filenamethe unique filename (among all files related to the specified object)
Returns:
true if binary file was submitted successfully, false otherwise

Implemented in roboearth.wp5.conn.REConnectionMySQL.

boolean roboearth.wp5.conn.REInterface.updateActionRecipe ( String  uid,
OWLOntology  actionRecipe,
String  description 
)

Updates the action recipe specified by the parameter uid with the given OWL and natural language descriptions.

Parameters:
uidthe action recipe's unique identifier
actionRecipeOWLOntology object containing the action recipe
descriptiona natural language description of the recipe's functionality
Returns:
true - if the recipe was successfully updated
false - otherwise
Deprecated:
OWLOntology can change the OWL content, use the version with String parameter instead

Implemented in roboearth.wp5.conn.REConnectionHadoop, and roboearth.wp5.conn.REConnectionMySQL.

boolean roboearth.wp5.conn.REInterface.updateActionRecipe ( String  uid,
String  actionRecipe,
String  description 
)

Updates the action recipe specified by the parameter uid with the given OWL and natural language descriptions.

Parameters:
uidthe action recipe's unique identifier
actionRecipeString containing the action recipe
descriptiona natural language description of the recipe's functionality
Returns:
true - if the recipe was successfully updated
false - otherwise

Implemented in roboearth.wp5.conn.REConnectionHadoop, and roboearth.wp5.conn.REConnectionMySQL.

boolean roboearth.wp5.conn.REInterface.updateEnvironment ( String  uid,
OWLOntology  env,
String  description 
)

Updates the environment specified by the parameter uid with the given OWL and natural language descriptions.

Parameters:
uidthe environment's unique identifier
envOWLOntology object containing the environment's description
descriptiona natural language description of the environment
Returns:
true - if the environment was successfully updated
false - otherwise
Deprecated:
OWLOntology can change the OWL content, use the version with String parameter instead

Implemented in roboearth.wp5.conn.REConnectionHadoop, and roboearth.wp5.conn.REConnectionMySQL.

boolean roboearth.wp5.conn.REInterface.updateEnvironment ( String  uid,
String  env,
String  description 
)

Updates the environment specified by the parameter uid with the given OWL and natural language descriptions.

Parameters:
uidthe environment's unique identifier
envString containing the environment's description
descriptiona natural language description of the environment
Returns:
true - if the environment was successfully updated
false - otherwise

Implemented in roboearth.wp5.conn.REConnectionHadoop, and roboearth.wp5.conn.REConnectionMySQL.

Updates (replaces) the specified environment related binary file with the given file.

Parameters:
uidthe environment's unique identifier
Returns:
true - if the file was successfully updated
false - otherwise

Implemented in roboearth.wp5.conn.REConnectionHadoop, and roboearth.wp5.conn.REConnectionMySQL.

boolean roboearth.wp5.conn.REInterface.updateEnvironmentBinaryFile ( String  uid,
byte[]  data,
String  filename 
)

Updates (replaces) the specified environment related binary file with the content of the given byte array.

Parameters:
uidthe environment's unique identifier
datathe content of the file in a byte array
filenamethe unique filename (among all files related to the specified environment)
Returns:
true - if the file was successfully updated
false - otherwise

Implemented in roboearth.wp5.conn.REConnectionHadoop, and roboearth.wp5.conn.REConnectionMySQL.

boolean roboearth.wp5.conn.REInterface.updateObject ( String  uid,
OWLOntology  objectOwl,
String  description 
)

Updates the object specified by the parameter uid with the given OWL and natural language descriptions.

Parameters:
uidthe object's unique identifier
objectOwlOWLOntology object containing the object's description
descriptiona natural language description of the object
Returns:
true - if the object was successfully updated
false - otherwise
Deprecated:
OWLOntology can change the OWL content, use the version with String parameter instead

Implemented in roboearth.wp5.conn.REConnectionHadoop, and roboearth.wp5.conn.REConnectionMySQL.

boolean roboearth.wp5.conn.REInterface.updateObject ( String  uid,
String  objectOwl,
String  description 
)

Updates the object specified by the parameter uid with the given OWL and natural language descriptions.

Parameters:
uidthe object's unique identifier
objectOwlString containing the object's description
descriptiona natural language description of the object
Returns:
true - if the object was successfully updated
false - otherwise

Implemented in roboearth.wp5.conn.REConnectionHadoop, and roboearth.wp5.conn.REConnectionMySQL.

boolean roboearth.wp5.conn.REInterface.updateObjectBinaryFile ( String  uid,
File  file 
)

Updates (replaces) the specified object related binary file with the given file.

Parameters:
uidthe object's unique identifier
Returns:
true - if the file was successfully updated
false - otherwise

Implemented in roboearth.wp5.conn.REConnectionHadoop, and roboearth.wp5.conn.REConnectionMySQL.

boolean roboearth.wp5.conn.REInterface.updateObjectBinaryFile ( String  uid,
byte[]  data,
String  filename 
)

Updates (replaces) the specified object related binary file with the content of the given byte array.

Parameters:
uidthe object's unique identifier
datathe content of the file in a byte array
filenamethe unique filename (among all files related to the specified object)
Returns:
true - if the file was successfully updated
false - otherwise

Implemented in roboearth.wp5.conn.REConnectionHadoop, and roboearth.wp5.conn.REConnectionMySQL.


The documentation for this interface was generated from the following file:


re_comm_core
Author(s): Alexander Perzylo
autogenerated on Sun Jan 5 2014 11:29:34