org.gcube.messaging.common.consumerlibrary.query
Class NotificationQuery

java.lang.Object
  extended by org.gcube.messaging.common.consumerlibrary.query.Query<ConsumerCL>
      extended by org.gcube.messaging.common.consumerlibrary.query.NotificationQuery
All Implemented Interfaces:
Serializable

public class NotificationQuery
extends Query<ConsumerCL>

Author:
Andrea Manzi(CERN)
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.gcube.messaging.common.consumerlibrary.query.Query
call, dateFormat, groupClause, limitClause, orderClause, query, results
 
Constructor Summary
NotificationQuery()
           
 
Method Summary
 HashMap<String,ArrayList<String>> getNotificationList()
          Get the available notification types
 String getStatistics(String testType, String GHNName, String startDate, String endDate, String groupBy)
           
protected  String performQuery()
          The method implemented by subclasses, that performed the query
 
Methods inherited from class org.gcube.messaging.common.consumerlibrary.query.Query
getCall, getDimensions, getGroupClause, getLimitClause, getOrderClause, getQuery, getResults, getResultsAsArray, printQueryResults, query, setCall, setGroupClause, setLimitClause, setLimitClause, setOrderClause, setQuery, setResults, toJSON
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NotificationQuery

public NotificationQuery()
Method Detail

performQuery

protected String performQuery()
                       throws Exception
Description copied from class: Query
The method implemented by subclasses, that performed the query

Specified by:
performQuery in class Query<ConsumerCL>
Returns:
the query result as a string
Throws:
Exception

getNotificationList

public HashMap<String,ArrayList<String>> getNotificationList()
                                                      throws Exception
Get the available notification types

Returns:
Throws:
Exception

getStatistics

public String getStatistics(String testType,
                            String GHNName,
                            String startDate,
                            String endDate,
                            String groupBy)
                     throws Exception
Throws:
Exception


Copyright © 2013. All Rights Reserved.