org.universAAL.context.space.serv
Class SCaller
java.lang.Object
org.universAAL.context.space.serv.SCaller
public class SCaller
- extends Object
Takes care of asking the CHE the equivalent request to the call received by
the profiling server.
- Author:
- alfiva
Method Summary |
protected void |
addAALService(Resource input)
|
void |
addAALServiceProf(Resource input)
|
protected void |
addAALSpace(Resource input)
|
protected void |
addAALSpaceProfile(Resource input)
|
void |
addDevice(Resource input)
|
protected void |
addDeviceToSpace(Resource input,
Resource what)
|
void |
addOnt(Resource input)
|
protected void |
addOntToSpace(Resource input,
Resource what)
|
protected void |
addOwnToServ(Resource input,
Resource what)
|
protected void |
addOwnToSpace(Resource input,
Resource what)
|
protected void |
addProfToProfilable(Resource input,
Resource what)
|
protected void |
addServiceToSpace(Resource input,
Resource what)
|
protected void |
changeAALService(Resource input)
|
void |
changeAALServiceProf(Resource input)
|
protected void |
changeAALSpace(Resource input)
|
protected void |
changeAALSpaceProfile(Resource input)
|
void |
changeDevice(Resource input)
|
void |
changeOnt(Resource input)
|
void |
close()
Relay for the actual SCaller. |
protected void |
genericAdd(Resource input,
String addquery)
|
protected void |
genericAddToSpace(Resource input,
Resource what,
String queryadd)
|
protected void |
genericChange(Resource input,
String changequery)
|
protected Resource |
genericGet(Resource input,
String getquery)
|
protected ArrayList |
genericGetAll(String queryall,
String queryallxtra)
|
protected ArrayList |
genericGetAllOf(Resource input,
String queryall,
String queryallxtra)
|
protected Resource |
genericGetOnePropOf(Resource input,
String queryaux,
String queryfinal)
|
protected void |
genericRemove(Resource input,
String removequery)
|
protected Resource |
getAALService(Resource input)
|
Resource |
getAALServiceProf(Resource input)
|
protected ArrayList |
getAALServices()
|
protected Resource |
getAALSpace(Resource input)
|
protected Resource |
getAALSpaceProfile(Resource input)
|
ArrayList |
getAALSpaces()
|
Resource |
getAppOfAALService(Resource input)
|
Resource |
getDevice(Resource input)
|
ArrayList |
getDevicesOfSpace(Resource input)
|
protected Resource |
getHROfAALService(Resource input)
|
Resource |
getHWOfAALService(Resource input)
|
Resource |
getOnt(Resource input)
|
ArrayList |
getOntsOfSpace(Resource input)
|
ArrayList |
getOwnsOfServ(Resource input)
|
ArrayList |
getOwnsOfSpace(Resource input)
|
Resource |
getProfOfServ(Resource input)
|
Resource |
getProfOfSpace(Resource input)
|
protected ArrayList |
getServicesOfSpace(Resource input)
|
protected void |
removeAALService(Resource input)
|
void |
removeAALServiceProf(Resource input)
|
protected void |
removeAALSpace(Resource input)
|
protected void |
removeAALSpaceProfile(Resource input)
|
void |
removeDevice(Resource input)
|
void |
removeOnt(Resource input)
|
static String[] |
splitPrefixes(String serialized)
Splits a Turtle serialized string into prefixes and content, so it can be
used inside SPARQL queries. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SCaller
protected SCaller(ModuleContext context)
- Default constructor.
- Parameters:
context
- uAAL Module context.
close
public void close()
- Relay for the actual SCaller.
getAALSpace
protected Resource getAALSpace(Resource input)
addAALSpace
protected void addAALSpace(Resource input)
changeAALSpace
protected void changeAALSpace(Resource input)
removeAALSpace
protected void removeAALSpace(Resource input)
getAALSpaceProfile
protected Resource getAALSpaceProfile(Resource input)
addAALSpaceProfile
protected void addAALSpaceProfile(Resource input)
changeAALSpaceProfile
protected void changeAALSpaceProfile(Resource input)
removeAALSpaceProfile
protected void removeAALSpaceProfile(Resource input)
getAALService
protected Resource getAALService(Resource input)
addAALService
protected void addAALService(Resource input)
changeAALService
protected void changeAALService(Resource input)
removeAALService
protected void removeAALService(Resource input)
getAALServiceProf
public Resource getAALServiceProf(Resource input)
addAALServiceProf
public void addAALServiceProf(Resource input)
changeAALServiceProf
public void changeAALServiceProf(Resource input)
removeAALServiceProf
public void removeAALServiceProf(Resource input)
getDevice
public Resource getDevice(Resource input)
addDevice
public void addDevice(Resource input)
changeDevice
public void changeDevice(Resource input)
removeDevice
public void removeDevice(Resource input)
getOnt
public Resource getOnt(Resource input)
addOnt
public void addOnt(Resource input)
changeOnt
public void changeOnt(Resource input)
removeOnt
public void removeOnt(Resource input)
getAALServices
protected ArrayList getAALServices()
getAALSpaces
public ArrayList getAALSpaces()
getHROfAALService
protected Resource getHROfAALService(Resource input)
getHWOfAALService
public Resource getHWOfAALService(Resource input)
getAppOfAALService
public Resource getAppOfAALService(Resource input)
getServicesOfSpace
protected ArrayList getServicesOfSpace(Resource input)
getDevicesOfSpace
public ArrayList getDevicesOfSpace(Resource input)
getOntsOfSpace
public ArrayList getOntsOfSpace(Resource input)
getOwnsOfSpace
public ArrayList getOwnsOfSpace(Resource input)
getOwnsOfServ
public ArrayList getOwnsOfServ(Resource input)
getProfOfServ
public Resource getProfOfServ(Resource input)
getProfOfSpace
public Resource getProfOfSpace(Resource input)
addServiceToSpace
protected void addServiceToSpace(Resource input,
Resource what)
addDeviceToSpace
protected void addDeviceToSpace(Resource input,
Resource what)
addOntToSpace
protected void addOntToSpace(Resource input,
Resource what)
addOwnToSpace
protected void addOwnToSpace(Resource input,
Resource what)
addOwnToServ
protected void addOwnToServ(Resource input,
Resource what)
addProfToProfilable
protected void addProfToProfilable(Resource input,
Resource what)
genericGet
protected Resource genericGet(Resource input,
String getquery)
genericAdd
protected void genericAdd(Resource input,
String addquery)
genericChange
protected void genericChange(Resource input,
String changequery)
genericRemove
protected void genericRemove(Resource input,
String removequery)
genericGetAll
protected ArrayList genericGetAll(String queryall,
String queryallxtra)
genericGetOnePropOf
protected Resource genericGetOnePropOf(Resource input,
String queryaux,
String queryfinal)
genericGetAllOf
protected ArrayList genericGetAllOf(Resource input,
String queryall,
String queryallxtra)
genericAddToSpace
protected void genericAddToSpace(Resource input,
Resource what,
String queryadd)
splitPrefixes
public static String[] splitPrefixes(String serialized)
- Splits a Turtle serialized string into prefixes and content, so it can be
used inside SPARQL queries.
- Parameters:
serialized
- The turtle string
- Returns:
- An array of length 2. The first item [0] is the string with the
prefixes, and the second [1] is the string with the triples
content
Copyright © 2014 universAAL Consortium. All Rights Reserved.