@Singleton
public class AdminService
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
com.fasterxml.jackson.databind.JsonNode |
getAdminStatus() |
java.util.List<java.util.Map<java.lang.String,java.lang.Object>> |
getLatestStudyRuns(int limit) |
java.util.List<java.util.Map<java.lang.String,java.lang.String>> |
getLatestUsers(int limit)
Gets the last seen time of users that were active latest, except the signed in one.
|
com.google.common.collect.ImmutableMap<java.lang.String,java.lang.Object> |
getResultDataSize(Study study,
int studyResultCount) |
com.google.common.collect.ImmutableMap<java.lang.String,java.lang.Object> |
getResultFileSize(Study study,
int studyResultCount) |
java.util.List<java.util.Map<java.lang.String,java.lang.Object>> |
getStudiesData(java.util.Collection<Study> studyList,
boolean studyAssetsSizeFlag,
boolean resultDataSizeFlag,
boolean resultFileSizeFlag) |
java.util.Map<java.lang.String,java.lang.Object> |
getStudyAssetDirSize(Study study) |
public java.util.List<java.util.Map<java.lang.String,java.lang.Object>> getStudiesData(java.util.Collection<Study> studyList, boolean studyAssetsSizeFlag, boolean resultDataSizeFlag, boolean resultFileSizeFlag)
public java.util.Map<java.lang.String,java.lang.Object> getStudyAssetDirSize(Study study)
public com.google.common.collect.ImmutableMap<java.lang.String,java.lang.Object> getResultDataSize(Study study, int studyResultCount)
public com.google.common.collect.ImmutableMap<java.lang.String,java.lang.Object> getResultFileSize(Study study, int studyResultCount)
public java.util.List<java.util.Map<java.lang.String,java.lang.String>> getLatestUsers(int limit)
public java.util.List<java.util.Map<java.lang.String,java.lang.Object>> getLatestStudyRuns(int limit)
public com.fasterxml.jackson.databind.JsonNode getAdminStatus()