|
OPROARTS API | |||||||
| PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES | |||||||
See:
Description
| Class Summary | |
|---|---|
| AttachedParameter | This is a super class of all classes that defines parameters about attached file of document. |
| MailParameter | This class defines the mail parameters which is used in OPROARTSParameter.setMail(MailParameter). |
| OPROARTSHandler | This is the main class of OPROARTS Application Program Interface. |
| OPROARTSParameter | This class defines various parameters to use OPROARTSHandler. |
| OPROARTSResponseInfo | This class provides the information returned from OPROARTS server, after requesting document generation etc. |
| StreamAttachedParameter | This class defines parameters about attached file of document. |
| TemplateParameter | This class defines the parameter about Template. |
| TextAttachedParameter | This class defines parameters about attached file of document. |
| Exception Summary | |
|---|---|
| OPROARTSAPIConnectionException | Signals that an error occurs during connecting or communicating to OPROARTS server. |
| OPROARTSAPIConnectTimeoutException | Signals that a timeout expires before the connection to OPROARTS server can be established. |
| OPROARTSAPIException | Signals that an error occurs in API-side during operating OPROARTS server. |
| OPROARTSAPIReadTimeoutException | Signals that a timeout expires before there is data available for read from OPROARTS server. |
| OPROARTSAPISavingException | Signals that an error occurs during saving document by API. |
| OPROARTSConcurrentRequestException | Signals that another processing is running in OPROARTS server during operating OPROARTS server. |
| OPROARTSException | Signals that an error occurs in OPROARTS server during operating OPROARTS server. |
| OPROARTSIllegalRequestException | Signals that the problem of the content of the parameter is found in OPROARTS server during operating OPROARTS server. |
| OPROARTSRequestTooLargeException | Signals that data size excess error occurs in OPROARTS server during operating OPROARTS server. |
| OPROARTSRestrictedException | Signals that the number of pages that can be used is exceeded in OPROARTS server during operating OPROARTS server. |
| OPROARTSUnAuthorizedException | Signals that an authorization error occurs in OPROARTS server during operating OPROARTS server. |
OPROARTS Application Program Interface is API for which the reporting SaaS "OPROARTS" presented by OPRO Japan can be used.
This API has aimed to request easily using HTTPS which is a standard interface of OPROARTS, from the application.
Since communication with OPROARTS server uses HTTPS protocol, the environment which can communicate correctly by HTTPS between the OPROARTS server and the application that uses OPROARTS API is necessary.
When specification of proxy is needed, please use OPROARTSHandler(URL, Proxy) constructor or please set Java system properties etc.
OPROARTSHandler class is the main class of API. Application requests to OPROARTS server through this class.
In OPROARTSHandler, there are methods to save document and to send mail.
These methods use the parameter which is defined by OPROARTSParameter to request to OPROARTS server.
Application processes in the following order.
OPROARTSParameterOPROARTSHandler
Methods to request are the following.
OPROARTSHandler.saveDocumentOPROARTSHandler.saveDirectPrintDocumentOPROARTSHandler.sendMail
//specifies URL of OPROARTS server
OPROARTSHandler h = new OPROARTSHandler("https://www.oproarts.com/Facade");
//creates parameters to generate document.
OPROARTSParameter p = new OPROARTSParameter(cid, uid, password);
//specifies the template.
TemplateParameter tp = op.addTemplate("sample1");
//requests generation of document and saving
String savedFilePath = h.saveDocument(p, directoryPath, fileName);
|
OPRO Japan Co.,Ltd. | |||||||
| PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES | |||||||