public class SCaller extends Object
Modifier and Type | Class and Description |
---|---|
class |
SCaller.CHEDeniedException |
class |
SCaller.CHEErrorException |
class |
SCaller.CHEException |
class |
SCaller.CHENotFoundException |
class |
SCaller.CHETimeOutException |
Modifier | Constructor and Description |
---|---|
protected |
SCaller(ModuleContext context)
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
protected void |
addProfile(Resource input) |
protected void |
addProfileToUser(Resource user,
Resource profile) |
protected void |
addSubProfile(Resource input) |
protected void |
addSubProfileToProf(Resource profile,
Resource subprofile) |
protected void |
addSubProfileToUser(Resource user,
Resource subprofile) |
protected void |
addUser(Resource input) |
protected void |
changeProfile(Resource input) |
protected void |
changeSubProfile(Resource input) |
protected void |
changeUser(Resource input) |
void |
close()
Relay for the actual SCaller.
|
protected Resource |
getProfile(Resource input) |
protected Resource |
getProfileOfUser(Resource user) |
protected Resource |
getSubProfile(Resource input) |
protected ArrayList |
getSubProfilesOfProfile(Resource profile) |
protected ArrayList |
getSubProfilesOfUser(Resource user) |
protected Resource |
getUser(Resource input) |
protected ArrayList |
getUsers() |
protected void |
removeProfile(Resource input) |
protected void |
removeSubProfile(Resource input) |
protected void |
removeUser(Resource input) |
static String[] |
splitPrefixes(String serialized)
Splits a Turtle serialized string into prefixes and content, so it can be
used inside SPARQL queries.
|
protected SCaller(ModuleContext context)
mcontext
- universAAL Module context.public void close()
protected Resource getUser(Resource input) throws SCaller.CHENotFoundException, SCaller.CHETimeOutException, SCaller.CHEErrorException, SCaller.CHEDeniedException
protected void addUser(Resource input) throws SCaller.CHENotFoundException, SCaller.CHETimeOutException, SCaller.CHEErrorException, SCaller.CHEDeniedException
protected void changeUser(Resource input) throws SCaller.CHENotFoundException, SCaller.CHETimeOutException, SCaller.CHEErrorException, SCaller.CHEDeniedException
protected void removeUser(Resource input) throws SCaller.CHENotFoundException, SCaller.CHETimeOutException, SCaller.CHEErrorException, SCaller.CHEDeniedException
protected Resource getProfile(Resource input) throws SCaller.CHENotFoundException, SCaller.CHETimeOutException, SCaller.CHEErrorException, SCaller.CHEDeniedException
protected void addProfile(Resource input) throws SCaller.CHENotFoundException, SCaller.CHETimeOutException, SCaller.CHEErrorException, SCaller.CHEDeniedException
protected void changeProfile(Resource input) throws SCaller.CHENotFoundException, SCaller.CHETimeOutException, SCaller.CHEErrorException, SCaller.CHEDeniedException
protected void removeProfile(Resource input) throws SCaller.CHENotFoundException, SCaller.CHETimeOutException, SCaller.CHEErrorException, SCaller.CHEDeniedException
protected Resource getSubProfile(Resource input) throws SCaller.CHENotFoundException, SCaller.CHETimeOutException, SCaller.CHEErrorException, SCaller.CHEDeniedException
protected void addSubProfile(Resource input) throws SCaller.CHENotFoundException, SCaller.CHETimeOutException, SCaller.CHEErrorException, SCaller.CHEDeniedException
protected void changeSubProfile(Resource input) throws SCaller.CHENotFoundException, SCaller.CHETimeOutException, SCaller.CHEErrorException, SCaller.CHEDeniedException
protected void removeSubProfile(Resource input) throws SCaller.CHENotFoundException, SCaller.CHETimeOutException, SCaller.CHEErrorException, SCaller.CHEDeniedException
protected ArrayList getUsers() throws SCaller.CHENotFoundException, SCaller.CHETimeOutException, SCaller.CHEErrorException, SCaller.CHEDeniedException
protected Resource getProfileOfUser(Resource user) throws SCaller.CHENotFoundException, SCaller.CHETimeOutException, SCaller.CHEErrorException, SCaller.CHEDeniedException
protected ArrayList getSubProfilesOfUser(Resource user) throws SCaller.CHENotFoundException, SCaller.CHETimeOutException, SCaller.CHEErrorException, SCaller.CHEDeniedException
protected ArrayList getSubProfilesOfProfile(Resource profile) throws SCaller.CHENotFoundException, SCaller.CHETimeOutException, SCaller.CHEErrorException, SCaller.CHEDeniedException
protected void addProfileToUser(Resource user, Resource profile) throws SCaller.CHENotFoundException, SCaller.CHETimeOutException, SCaller.CHEErrorException, SCaller.CHEDeniedException
protected void addSubProfileToUser(Resource user, Resource subprofile) throws SCaller.CHENotFoundException, SCaller.CHETimeOutException, SCaller.CHEErrorException, SCaller.CHEDeniedException
protected void addSubProfileToProf(Resource profile, Resource subprofile) throws SCaller.CHENotFoundException, SCaller.CHETimeOutException, SCaller.CHEErrorException, SCaller.CHEDeniedException
public static String[] splitPrefixes(String serialized)
serialized
- The turtle stringCopyright © 2018 universAAL Consortium. All rights reserved.