|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IDocumentService
Describes the main service, which generates and sends documents.
| Method Summary | |
|---|---|
java.util.Collection<java.lang.String> |
getPrintersNameList()
|
Result |
process(Job _job)
Processes a job synchronously. |
void |
retryFailed()
Get all failed document in database and resubmit it to the DocumentManager |
void |
submit(Job _job)
Submits a job for asynchronous processing. |
void |
submit(Job[] _jobs)
Submits a list of jobs for asynchronous processing. |
| Method Detail |
|---|
Result process(Job _job)
throws UnavailableException,
java.lang.IllegalArgumentException,
ServerException
_job - the job. As the document is returned directly to the client,
the transports property must be null.
UnavailableException - if the synchronous service is not activated on the server, or
if the server is shutting down and doesn't accept any more
requests.
java.lang.IllegalArgumentException - if the job's transports property is not null.
ServerException - if an internal error occurs on the server side.
void submit(Job _job)
throws UnavailableException,
RejectedException,
java.lang.IllegalArgumentException,
ServerException
_job - the job. As the document is sent asynchronously, the
transport property must contain at least one
element.
UnavailableException - if the synchronous service is not activated on the server, or
if the server is shutting down and doesn't accept any more
requests.
RejectedException - if the server can't process the request at the current time.
The client might submit the request again later.
java.lang.IllegalArgumentException - if the job's transports property is empty.
ServerException - if an internal error occurs on the server side.
void retryFailed()
throws ServerException
ServerException
void submit(Job[] _jobs)
throws UnavailableException,
RejectedException,
java.lang.IllegalArgumentException,
ServerException
_jobs - the job. As the document is sent asynchronously, the
transport property of each Job
must contain at least one element.
UnavailableException - if the synchronous service is not activated on the server, or
if the server is shutting down and doesn't accept any more
requests.
RejectedException - if the server can't process the request at the current time.
The client might submit the request again later.
java.lang.IllegalArgumentException - if one of the job's transports property is
empty.
ServerException - if an internal error occurs on the server side.java.util.Collection<java.lang.String> getPrintersNameList()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||