|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.alfresco.bm.report.ReportServiceImpl
public class ReportServiceImpl
Service class that retrieves test run results from MongoDB and generates a csv output file from the result.
| Field Summary |
|---|
| Fields inherited from interface org.alfresco.bm.report.ReportService |
|---|
CRITERIA_SUCCESS |
| Constructor Summary | |
|---|---|
ReportServiceImpl(org.springframework.data.mongodb.core.MongoTemplate mongo,
String collection,
String mongoURI)
Constructor. |
|
| Method Summary | |
|---|---|
void |
export(String file,
int skip,
int limit)
Exports results in a csv format to a file. |
List<String> |
getEventNames()
Retrieves distinct collection of event names from the result collection in MongoDB. |
List<EventRecord> |
getResults(int skip,
int limit)
Retrieves results of a test run from MongoDB. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ReportServiceImpl(org.springframework.data.mongodb.core.MongoTemplate mongo,
String collection,
String mongoURI)
mongo - MongoTemplate spring mongo tempaltecollection - String Mongo Collection namemongoURI - String Mongo uri| Method Detail |
|---|
public void export(String file,
int skip,
int limit)
ReportService
export in interface ReportServiceskip - the number of results to skip (for paging)limit - the number of results to retrieve
public List<EventRecord> getResults(int skip,
int limit)
ReportService
getResults in interface ReportServiceskip - the number of results to skip (for paging)limit - the number of results to retrieve
public List<String> getEventNames()
ReportService
getEventNames in interface ReportService
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||