public interface ModifyService
Modifier and Type | Method and Description |
---|---|
String |
createRequest(es.juntadeandalucia.cice.pfirma.ws.bean.Request request)
Creates a new request from data received in object
Request . |
String |
createRequestByReference(es.juntadeandalucia.cice.pfirma.ws.bean.RequestByReference request)
Creates a new request from data received in object
RequestByReference . |
void |
deleteRequest(Holder<String> requestId)
Delete a request.
|
void |
deleteSigners(String requestId,
es.juntadeandalucia.cice.pfirma.ws.bean.SignerList signerList)
Delete signers from a specific request.
|
String |
insertDocument(String requestId,
es.juntadeandalucia.cice.pfirma.ws.bean.Document document)
Inserts a document into a request.
|
void |
insertSigners(String requestId,
int signLine,
es.juntadeandalucia.cice.pfirma.ws.bean.SignerList signerList)
Insert signers into a specific sign line of a request.
|
void |
sendRequest(Holder<String> requestId)
Sends the request with received id.
|
String |
updateRequest(es.juntadeandalucia.cice.pfirma.ws.bean.Request request)
Update request data.
|
@ResponseWrapper(localName="sendRequestResponse", targetNamespace="urn:juntadeandalucia:cice:pfirma:modify:request:v2.0", className="es.juntadeandalucia.cice.pfirma.ws.modify.request.SendRequestResponse") @RequestWrapper(localName="sendRequest", targetNamespace="urn:juntadeandalucia:cice:pfirma:modify:request:v2.0", className="es.juntadeandalucia.cice.pfirma.ws.modify.request.SendRequest") void sendRequest(Holder<String> requestId) throws PfirmaException
requestId
- Identifier of the request created previously.PfirmaException
- If an error occurs during process. Possible errors are that
request is not found or that request is already sent. If
request does not contain at least a sign line with a signer
or a document exception is thrown.@ResponseWrapper(localName="insertDocumentResponse", targetNamespace="urn:juntadeandalucia:cice:pfirma:modify:request:v2.0", className="es.juntadeandalucia.cice.pfirma.ws.modify.request.InsertDocumentResponse") @RequestWrapper(localName="insertDocument", targetNamespace="urn:juntadeandalucia:cice:pfirma:modify:request:v2.0", className="es.juntadeandalucia.cice.pfirma.ws.modify.request.InsertDocument") String insertDocument(String requestId, es.juntadeandalucia.cice.pfirma.ws.bean.Document document) throws PfirmaException
requestId
- Identifier of the request created previously.document
- Document
object with document data. It must have a
valid uri (if document will be uploaded by reference) or
binary content.PfirmaException
- If an error occurs during process. Possible errors are that
request is not found or that request is sent. Another error
can be caused by any problem with custody system.@ResponseWrapper(localName="updateRequestResponse", targetNamespace="urn:juntadeandalucia:cice:pfirma:modify:request:v2.0", className="es.juntadeandalucia.cice.pfirma.ws.modify.request.UpdateRequestResponse") @RequestWrapper(localName="updateRequest", targetNamespace="urn:juntadeandalucia:cice:pfirma:modify:request:v2.0", className="es.juntadeandalucia.cice.pfirma.ws.modify.request.UpdateRequest") String updateRequest(es.juntadeandalucia.cice.pfirma.ws.bean.Request request) throws PfirmaException
request
- Request
object with request data.PfirmaException
- If an error occurs during process. Possible errors are that
request is not found or that request is sent. Another error
can be that remitters or signers received are not found.@ResponseWrapper(localName="createRequestResponse", targetNamespace="urn:juntadeandalucia:cice:pfirma:modify:request:v2.0", className="es.juntadeandalucia.cice.pfirma.ws.modify.request.CreateRequestResponse") @RequestWrapper(localName="createRequest", targetNamespace="urn:juntadeandalucia:cice:pfirma:modify:request:v2.0", className="es.juntadeandalucia.cice.pfirma.ws.modify.request.CreateRequest") String createRequest(es.juntadeandalucia.cice.pfirma.ws.bean.Request request) throws PfirmaException
Request
.
Request hash is not necessary to be included in Request
because
it is returned by method.request
- Request
object with request data. It must contain a
valid application that exists in the system.PfirmaException
- If an error occurs during process. Possible errors are that
remitters or signers received are not found. Another error
can be caused by validation of request fields.@ResponseWrapper(localName="createRequestByReferenceResponse", targetNamespace="urn:juntadeandalucia:cice:pfirma:modify:request:v2.0", className="es.juntadeandalucia.cice.pfirma.ws.modify.request.CreateRequestByReferenceResponse") @RequestWrapper(localName="createRequestByReference", targetNamespace="urn:juntadeandalucia:cice:pfirma:modify:request:v2.0", className="es.juntadeandalucia.cice.pfirma.ws.modify.request.CreateRequestByReference") String createRequestByReference(es.juntadeandalucia.cice.pfirma.ws.bean.RequestByReference request) throws PfirmaException, org.apache.axis.AxisFault
RequestByReference
.
Request hash is not necessary to be included in RequestByReference
because
it is returned by method.request
- RequestByReference
object with request data. It must contain a
valid application that exists in the system.PfirmaException
- If an error occurs during process. Possible errors are that
remitters or signers received are not found. Another error
can be caused by validation of request fields.org.apache.axis.AxisFault
@ResponseWrapper(localName="deleteRequestResponse", targetNamespace="urn:juntadeandalucia:cice:pfirma:modify:request:v2.0", className="es.juntadeandalucia.cice.pfirma.ws.modify.request.DeleteRequestResponse") @RequestWrapper(localName="deleteRequest", targetNamespace="urn:juntadeandalucia:cice:pfirma:modify:request:v2.0", className="es.juntadeandalucia.cice.pfirma.ws.modify.request.DeleteRequest") void deleteRequest(Holder<String> requestId) throws PfirmaException
requestId
- Request hash.PfirmaException
- If an error occurs during process. Possible errors are that
request is not found or that request has any sign line signed
or passed or request is rejected or refunded.@ResponseWrapper(localName="insertSignersResponse", targetNamespace="urn:juntadeandalucia:cice:pfirma:modify:request:v2.0", className="es.juntadeandalucia.cice.pfirma.ws.modify.request.InsertSignersResponse") @RequestWrapper(localName="insertSigners", targetNamespace="urn:juntadeandalucia:cice:pfirma:modify:request:v2.0", className="es.juntadeandalucia.cice.pfirma.ws.modify.request.InsertSigners") void insertSigners(String requestId, int signLine, es.juntadeandalucia.cice.pfirma.ws.bean.SignerList signerList) throws PfirmaException
requestId
- Request hash.signLine
- Sign line number where signer(s) will be inserted. If its
greater than request sign line count, a new sign line is
created.signerList
- SignerList
list containing signer(s) which will be
inserted. Signers cannot be inserted if it already exists into
the sign line specified.PfirmaException
- If an error occurs during process. Possible errors are that
request is not found, sign line number is not correct or that
signer received already exists in sign line selected.@ResponseWrapper(localName="deleteSignersResponse", targetNamespace="urn:juntadeandalucia:cice:pfirma:modify:request:v2.0", className="es.juntadeandalucia.cice.pfirma.ws.modify.request.DeleteSignersResponse") @RequestWrapper(localName="deleteSigners", targetNamespace="urn:juntadeandalucia:cice:pfirma:modify:request:v2.0", className="es.juntadeandalucia.cice.pfirma.ws.modify.request.DeleteSigners") void deleteSigners(String requestId, es.juntadeandalucia.cice.pfirma.ws.bean.SignerList signerList) throws PfirmaException
requestId
- Request hash.signerList
- SignerList
list containing signer(s) which will be
deleted.PfirmaException
- If an error occurs during process. Possible errors are that
request is not found, signers received signed any sign line
or that request is rejected or refund.Copyright © 2017. All rights reserved.