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