eu.emi.dsr.core
Class ServiceColManager

java.lang.Object
  extended by eu.emi.dsr.core.ServiceColManager

public class ServiceColManager
extends Object

Author:
a.memon

Constructor Summary
ServiceColManager()
           
 
Method Summary
 org.codehaus.jettison.json.JSONArray getDistinctTypes()
           
 org.codehaus.jettison.json.JSONObject getServiceReferences()
           
 org.codehaus.jettison.json.JSONArray getServicesByType(String serviceType)
           
 org.codehaus.jettison.json.JSONObject pagedQuery(Map<String,Object> m)
           
 org.codehaus.jettison.json.JSONArray query(org.codehaus.jettison.json.JSONObject queryDoc)
           
 org.codehaus.jettison.json.JSONArray query(Map<String,Object> m)
           
 eu.eu_emi.emiregistry.QueryResult queryGlue2(org.codehaus.jettison.json.JSONObject queryDoc)
           
 eu.eu_emi.emiregistry.QueryResult queryGlue2(Map<String,Object> m)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ServiceColManager

public ServiceColManager()
Throws:
DatabaseUnavilableException
Method Detail

getServiceReferences

public org.codehaus.jettison.json.JSONObject getServiceReferences()
                                                           throws org.codehaus.jettison.json.JSONException
Throws:
org.codehaus.jettison.json.JSONException

getServicesByType

public org.codehaus.jettison.json.JSONArray getServicesByType(String serviceType)
                                                       throws org.codehaus.jettison.json.JSONException,
                                                              QueryException,
                                                              PersistentStoreFailureException
Throws:
org.codehaus.jettison.json.JSONException
QueryException
PersistentStoreFailureException

getDistinctTypes

public org.codehaus.jettison.json.JSONArray getDistinctTypes()
                                                      throws org.codehaus.jettison.json.JSONException,
                                                             QueryException,
                                                             PersistentStoreFailureException
Throws:
org.codehaus.jettison.json.JSONException
QueryException
PersistentStoreFailureException

query

public org.codehaus.jettison.json.JSONArray query(Map<String,Object> m)
                                           throws QueryException,
                                                  PersistentStoreFailureException,
                                                  com.mongodb.MongoException,
                                                  org.codehaus.jettison.json.JSONException
Parameters:
m -
Returns:
JSONArray
Throws:
PersistentStoreFailureException
QueryException
org.codehaus.jettison.json.JSONException
com.mongodb.MongoException

query

public org.codehaus.jettison.json.JSONArray query(org.codehaus.jettison.json.JSONObject queryDoc)
                                           throws QueryException,
                                                  PersistentStoreFailureException,
                                                  com.mongodb.MongoException,
                                                  org.codehaus.jettison.json.JSONException
Parameters:
m -
Returns:
JSONArray
Throws:
PersistentStoreFailureException
QueryException
org.codehaus.jettison.json.JSONException
com.mongodb.MongoException

queryGlue2

public eu.eu_emi.emiregistry.QueryResult queryGlue2(Map<String,Object> m)
                                             throws QueryException,
                                                    PersistentStoreFailureException,
                                                    org.codehaus.jettison.json.JSONException,
                                                    DatatypeConfigurationException,
                                                    ParseException,
                                                    JSONToGlue2MappingException
Parameters:
m -
Returns:
Throws:
PersistentStoreFailureException
QueryException
ParseException
DatatypeConfigurationException
org.codehaus.jettison.json.JSONException
JSONToGlue2MappingException

queryGlue2

public eu.eu_emi.emiregistry.QueryResult queryGlue2(org.codehaus.jettison.json.JSONObject queryDoc)
                                             throws QueryException,
                                                    PersistentStoreFailureException,
                                                    org.codehaus.jettison.json.JSONException,
                                                    DatatypeConfigurationException,
                                                    ParseException,
                                                    JSONToGlue2MappingException
Throws:
QueryException
PersistentStoreFailureException
org.codehaus.jettison.json.JSONException
DatatypeConfigurationException
ParseException
JSONToGlue2MappingException

pagedQuery

public org.codehaus.jettison.json.JSONObject pagedQuery(Map<String,Object> m)
                                                 throws org.codehaus.jettison.json.JSONException
Throws:
org.codehaus.jettison.json.JSONException


Copyright © 2012. All Rights Reserved.