|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.silanis.esl.sdk.service.ReportService
public class ReportService
Created by schoi on 3/25/15.
Constructor Summary | |
---|---|
ReportService(RestClient client,
String baseUrl)
|
Method Summary | |
---|---|
CompletionReport |
downloadCompletionReport(PackageStatus packageStatus,
Date from,
Date to)
Downloads the completion report from all senders |
CompletionReport |
downloadCompletionReport(PackageStatus packageStatus,
String senderId,
Date from,
Date to)
Downloads the completion report from a sender |
String |
downloadCompletionReportAsCSV(PackageStatus packageStatus,
Date from,
Date to)
Downloads the completion report from all senders in csv format. |
String |
downloadCompletionReportAsCSV(PackageStatus packageStatus,
String senderId,
Date from,
Date to)
Downloads the completion report from a sender in csv format. |
DelegationReport |
downloadDelegationReport()
Downloads the delegation report. |
DelegationReport |
downloadDelegationReport(Date from,
Date to)
Downloads the delegation report. |
DelegationReport |
downloadDelegationReport(String senderId,
Date from,
Date to)
Downloads the delegation report. |
String |
downloadDelegationReportAsCSV()
Downloads the delegation report in csv format. |
String |
downloadDelegationReportAsCSV(Date from,
Date to)
Downloads the delegation report in csv format. |
String |
downloadDelegationReportAsCSV(String senderId,
Date from,
Date to)
Downloads the delegation report in csv format. |
UsageReport |
downloadUsageReport(Date from,
Date to)
Downloads the usage report. |
String |
downloadUsageReportAsCSV(Date from,
Date to)
Downloads the usage report in csv format. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ReportService(RestClient client, String baseUrl)
Method Detail |
---|
public CompletionReport downloadCompletionReport(PackageStatus packageStatus, String senderId, Date from, Date to)
packageStatus
- Status of the packagessenderId
- Id of the senderfrom
- Starting dateto
- Ending date
public String downloadCompletionReportAsCSV(PackageStatus packageStatus, String senderId, Date from, Date to)
packageStatus
- Status of the packagessenderId
- Id of the senderfrom
- Starting dateto
- Ending date
public CompletionReport downloadCompletionReport(PackageStatus packageStatus, Date from, Date to)
packageStatus
- Status of the packagesfrom
- Starting dateto
- Ending date
public String downloadCompletionReportAsCSV(PackageStatus packageStatus, Date from, Date to)
packageStatus
- Status of the packagesfrom
- Starting dateto
- Ending date
public UsageReport downloadUsageReport(Date from, Date to)
from
- Starting dateto
- Ending date
public String downloadUsageReportAsCSV(Date from, Date to)
from
- Starting dateto
- Ending date
public DelegationReport downloadDelegationReport()
public DelegationReport downloadDelegationReport(Date from, Date to)
from
- Starting dateto
- Ending date
public DelegationReport downloadDelegationReport(String senderId, Date from, Date to)
senderId
- Id of the senderfrom
- Starting dateto
- Ending date
public String downloadDelegationReportAsCSV()
public String downloadDelegationReportAsCSV(Date from, Date to)
from
- Starting dateto
- Ending date
public String downloadDelegationReportAsCSV(String senderId, Date from, Date to)
senderId
- Id of the senderfrom
- Starting dateto
- Ending date
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |