fr.opensagres.xdocreport.remoting.javaclient
Class XDocReportServiceJaxRsClient

java.lang.Object
  extended by fr.opensagres.xdocreport.remoting.javaclient.XDocReportServiceJaxRsClient
All Implemented Interfaces:
XDocReportService

public class XDocReportServiceJaxRsClient
extends Object
implements XDocReportService


Field Summary
static XDocReportServiceJaxRsClient INSTANCE
           
 
Constructor Summary
XDocReportServiceJaxRsClient()
           
 
Method Summary
 byte[] download(String reportID, String processState)
           
 List<ReportId> listReports()
           
static void main(String[] args)
           
 byte[] processReport(ReportAndDataRepresentation reportAndDataRepresentation)
           
 void setServiceEndpointUrl(String serviceEndpointUrl)
           
 void unRegister(String reportId)
           
 void upload(ReportRepresentation report)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

INSTANCE

public static final XDocReportServiceJaxRsClient INSTANCE
Constructor Detail

XDocReportServiceJaxRsClient

public XDocReportServiceJaxRsClient()
Method Detail

setServiceEndpointUrl

public void setServiceEndpointUrl(String serviceEndpointUrl)

main

public static void main(String[] args)

listReports

public List<ReportId> listReports()
Specified by:
listReports in interface XDocReportService

download

public byte[] download(String reportID,
                       String processState)
Specified by:
download in interface XDocReportService

upload

public void upload(ReportRepresentation report)
Specified by:
upload in interface XDocReportService

processReport

public byte[] processReport(ReportAndDataRepresentation reportAndDataRepresentation)
Specified by:
processReport in interface XDocReportService

unRegister

public void unRegister(String reportId)
Specified by:
unRegister in interface XDocReportService


Copyright © 2013. All rights reserved.