es.juntadeandalucia.afirma.custody
Class CustodyClientImpl

java.lang.Object
  extended by es.juntadeandalucia.afirma.custody.CustodyClientImpl
All Implemented Interfaces:
CustodyClient

public class CustodyClientImpl
extends Object
implements CustodyClient

Implementación del interfaz del componente afirma-dss-client.

Version:
Revision: $Rev: 19257 $
, Last modified: $Date: 2016-01-26 11:58:14 +0100 (mar, 26 ene 2016) $
, Modified by: $Author: alejandro.roman $
Author:
Ernesto Salgado Suárez

Constructor Summary
CustodyClientImpl(CustodyConfiguration configuration)
           
 
Method Summary
 GetDocumentContentResponse getDocumentContent(String transactionId)
          Obtiene un documento almacenado en el módulo de Custodia de @Firma.
 GetDocumentContentResponse getDocumentContentByDocId(String docId)
          Obtiene un documento almacenado en el módulo de Custodia de @Firma.
 GetESignatureResponse getESignature(String transactionId)
          Obtiene una firma electrónica almacenada en el módulo de Custodia de @Firma
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CustodyClientImpl

public CustodyClientImpl(CustodyConfiguration configuration)
                  throws CustodyException
Throws:
CustodyException
Method Detail

getDocumentContent

public GetDocumentContentResponse getDocumentContent(String transactionId)
                                              throws CustodyException
Description copied from interface: CustodyClient
Obtiene un documento almacenado en el módulo de Custodia de @Firma.

Specified by:
getDocumentContent in interface CustodyClient
Parameters:
transactionId - identificador de transacción de la firma del documento
Returns:
objeto de tipo GetDocumentContentResponse
Throws:
CustodyException

getDocumentContentByDocId

public GetDocumentContentResponse getDocumentContentByDocId(String docId)
                                                     throws CustodyException
Description copied from interface: CustodyClient
Obtiene un documento almacenado en el módulo de Custodia de @Firma.

Specified by:
getDocumentContentByDocId in interface CustodyClient
Parameters:
docId - identificador del documento custodiado
Returns:
objeto de tipo GetDocumentContentResponse
Throws:
CustodyException

getESignature

public GetESignatureResponse getESignature(String transactionId)
                                    throws CustodyException
Description copied from interface: CustodyClient
Obtiene una firma electrónica almacenada en el módulo de Custodia de @Firma

Specified by:
getESignature in interface CustodyClient
Returns:
objeto de tipo GetESignatureResponse
Throws:
CustodyException


Copyright © 2016. All rights reserved.