|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.gcube.messaging.common.consumerlibrary.query.Query<ConsumerCL>
org.gcube.messaging.common.consumerlibrary.query.AccountingQuery
org.gcube.messaging.common.consumerlibrary.query.PortalAccountingQuery
public class PortalAccountingQuery
| Field Summary |
|---|
| Fields inherited from class org.gcube.messaging.common.consumerlibrary.query.Query |
|---|
call, dateFormat, groupClause, limitClause, orderClause, query, results |
| Constructor Summary | |
|---|---|
PortalAccountingQuery()
|
|
| Method Summary | ||
|---|---|---|
|
countByType(Class<TYPE> type,
String... scope)
countByType |
|
Long |
countByType(String type,
String... scope)
countByType |
|
String |
countByTypeAndUserWithGrouping(String type,
String groupBy,
String[] dates,
String... user)
countByTypeAndUserWithScopeGrouping |
|
|
countByUser(Class<TYPE> type,
String user,
String... scope)
countByUser |
|
Long |
countByUser(String type,
String user,
String... scope)
countByUser |
|
HashMap<String,String> |
getAddresseesGCUBEUsers(String id)
getAddressesGCUBEUsers |
|
HashMap<String,String> |
getCollections(String id)
getCollections |
|
String[] |
getContent(String id)
getContent |
|
HashMap<String,String> |
getGHNDetails(String id)
getGHNDetails |
|
|
getResultsAsMessage(Class<TYPE> type)
get the results as ArrayList |
|
HashMap<String,String> |
getTerms(String id)
getTerms |
|
HashMap<String,String> |
getWebAppDetails(String id)
getWebAppDetails |
|
|
queryByType(Class<TYPE> type)
queryByType |
|
String |
queryByType(String type,
String[] date)
queryByType |
|
|
queryByUser(Class<TYPE> type,
String user,
String... scope)
queryByUser |
|
String |
queryByUser(String type,
String user,
String[] date,
String... scope)
queryByUser |
|
| Methods inherited from class org.gcube.messaging.common.consumerlibrary.query.AccountingQuery |
|---|
performQuery |
| 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 |
|---|
public PortalAccountingQuery()
| Method Detail |
|---|
public <TYPE extends org.gcube.messaging.common.messages.records.BaseRecord> String queryByType(Class<TYPE> type)
throws Exception
TYPE - the TYPE of Record to retrievetype - the class of results
Exception - Exception
public String queryByType(String type,
String[] date)
throws Exception
type - the class of resultsdate -
Exception - Exception
public <TYPE extends org.gcube.messaging.common.messages.records.BaseRecord> String queryByUser(Class<TYPE> type,
String user,
String... scope)
throws Exception
TYPE - the TYPE of Record to retrievetype - the class of resultsuser - the user
Exception - Exception
public String queryByUser(String type,
String user,
String[] date,
String... scope)
throws Exception
type - the TYPE of Record to retrievetype - the class of resultsuser - the userdate -
Exception - Exception
public <TYPE extends org.gcube.messaging.common.messages.records.BaseRecord> Long countByType(Class<TYPE> type,
String... scope)
throws Exception
TYPE - the TYPE of Record to retrievetype - the class of resultsscope - the optional scope
Exception - Exception
public <TYPE extends org.gcube.messaging.common.messages.records.BaseRecord> Long countByUser(Class<TYPE> type,
String user,
String... scope)
throws Exception,
EmptyResultException
TYPE - the TYPE of Record to retrievetype - the class of resultsuser - the userscope - the optional scope
EmptyResultException - Exception
Exception - Exception
public Long countByType(String type,
String... scope)
throws Exception
type - the class of resultsscope - the optional scope
Exception - Exception
public Long countByUser(String type,
String user,
String... scope)
throws Exception,
EmptyResultException
type - the class of resultsuser - the userscope - the optional scope
EmptyResultException - Exception
Exception - Exception
public String countByTypeAndUserWithGrouping(String type,
String groupBy,
String[] dates,
String... user)
throws Exception,
EmptyResultException
type - the class of resultsgroupBy - groupByuser - the userscope - the optional scopedates - the optional scope
EmptyResultException - Exception
Exception - Exception
public HashMap<String,String> getCollections(String id)
throws EmptyResultException,
Exception
id - the message id
EmptyResultException - exception
Exception - exception
public HashMap<String,String> getTerms(String id)
throws EmptyResultException,
Exception
id - the message id
EmptyResultException - exception
Exception - exception
public HashMap<String,String> getWebAppDetails(String id)
throws EmptyResultException,
Exception
id - the message id
EmptyResultException - exception
Exception - exception
public HashMap<String,String> getGHNDetails(String id)
throws EmptyResultException,
Exception
id - the message id
EmptyResultException - exception
Exception - exception
public HashMap<String,String> getAddresseesGCUBEUsers(String id)
throws EmptyResultException,
Exception
id - the message id
EmptyResultException - exception
Exception - exception
public String[] getContent(String id)
throws EmptyResultException,
Exception
id - the message id
EmptyResultException - exception
Exception - exception
public <TYPE extends org.gcube.messaging.common.messages.records.BaseRecord> ArrayList<org.gcube.messaging.common.messages.PortalAccountingMessage<TYPE>> getResultsAsMessage(Class<TYPE> type)
throws Exception,
EmptyResultException
TYPE - type - the type
Exception - exception
EmptyResultException - exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||