|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objecteu.emi.dsr.core.ServiceAdminManager
public class ServiceAdminManager
Class to perform Service Provider related functions
| Constructor Summary | |
|---|---|
ServiceAdminManager()
|
|
| Method Summary | |
|---|---|
org.codehaus.jettison.json.JSONObject |
addService(org.codehaus.jettison.json.JSONObject jo)
|
boolean |
checkMessageGenerationTime(String messageTime,
String serviceurl)
|
boolean |
checkOwner(String owner,
String serviceurl)
|
List<ServiceObject> |
findAll()
|
org.codehaus.jettison.json.JSONObject |
findServiceByUrl(String url)
Finding a service by its url |
void |
removeAll()
|
void |
removeExpiredEntries()
Remove expired entries |
void |
removeService(String url,
String messageTime)
Removing the service by url |
org.codehaus.jettison.json.JSONObject |
updateService(org.codehaus.jettison.json.JSONObject jo)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ServiceAdminManager()
DatabaseUnavilableException| Method Detail |
|---|
public org.codehaus.jettison.json.JSONObject addService(org.codehaus.jettison.json.JSONObject jo)
throws InvalidServiceDescriptionException,
org.codehaus.jettison.json.JSONException,
ExistingResourceException
jo -
org.codehaus.jettison.json.JSONException
InvalidServiceDescriptionException
ExistingResourceException
public void removeService(String url,
String messageTime)
throws MultipleResourceException,
NonExistingResourceException,
PersistentStoreFailureException,
org.codehaus.jettison.json.JSONException
url - messageTime -
PersistentStoreFailureException
NonExistingResourceException
MultipleResourceException
org.codehaus.jettison.json.JSONException
public org.codehaus.jettison.json.JSONObject updateService(org.codehaus.jettison.json.JSONObject jo)
throws UnknownServiceException,
InvalidServiceDescriptionException,
org.codehaus.jettison.json.JSONException,
javax.ws.rs.WebApplicationException
jo -
org.codehaus.jettison.json.JSONException
InvalidServiceDescriptionException
NonExistingResourceException
MultipleResourceException
UnknownServiceException
javax.ws.rs.WebApplicationException
public org.codehaus.jettison.json.JSONObject findServiceByUrl(String url)
throws NonExistingResourceException,
PersistentStoreFailureException
string -
NonExistingResourceException
MultipleResourceException
PersistentStoreFailureException
public void removeExpiredEntries()
throws org.codehaus.jettison.json.JSONException,
QueryException,
PersistentStoreFailureException
org.codehaus.jettison.json.JSONException
PersistentStoreFailureException
QueryExceptionpublic void removeAll()
public List<ServiceObject> findAll()
throws org.codehaus.jettison.json.JSONException
org.codehaus.jettison.json.JSONException
public boolean checkOwner(String owner,
String serviceurl)
throws QueryException,
PersistentStoreFailureException,
org.codehaus.jettison.json.JSONException
owner - serviceurl -
PersistentStoreFailureException
QueryException
org.codehaus.jettison.json.JSONException
public boolean checkMessageGenerationTime(String messageTime,
String serviceurl)
throws QueryException,
PersistentStoreFailureException
messageGenerationTime - serviceurl -
PersistentStoreFailureException
QueryException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||