es.caib.ibkey.bpm.custodia.handler
Class UploadPDFCustodiaHandler

java.lang.Object
  extended by es.caib.ibkey.bpm.common.handler.IbkeyBPMLoggerTemplate
      extended by es.caib.ibkey.bpm.common.handler.LoggerActionHandler
          extended by es.caib.ibkey.bpm.common.handler.AbstractIndexedHandler
              extended by es.caib.ibkey.bpm.custodia.handler.AbstractUploadCustodiaHandler
                  extended by es.caib.ibkey.bpm.custodia.handler.UploadPDFCustodiaHandler
All Implemented Interfaces:
java.io.Serializable, org.jbpm.graph.def.ActionHandler

public class UploadPDFCustodiaHandler
extends AbstractUploadCustodiaHandler

Handler per a l'enviament de documents a custòdia. Variables d'entrada al context del procés: DOCUMENTO_A_CUSTODIAR: (obligatori) tags del attachment a custodiar DOCUMENTO_CUSTODIADO_ID: (opcional) ID extern del document a custòdia StageManager.CTX_VAR_NAME: (obligatori) StateManager

Author:
u91940
See Also:
Serialized Form

Field Summary
 
Fields inherited from class es.caib.ibkey.bpm.common.handler.AbstractIndexedHandler
alreadyDone, hasStageInput, inputContentType
 
Fields inherited from class es.caib.ibkey.bpm.common.handler.IbkeyBPMLoggerTemplate
__processInstanceId
 
Constructor Summary
UploadPDFCustodiaHandler()
           
 
Method Summary
protected  byte[] custodiaCall(es.caib.signatura.cliente.ClienteCustodia clienteCustodia, java.io.ByteArrayInputStream bis, java.lang.String nombreDocumento, java.lang.String documentoCustodiadoId, java.lang.String repoTipoDoc)
           
protected  void freeResources(org.jbpm.graph.exe.ExecutionContext ctx)
           
 
Methods inherited from class es.caib.ibkey.bpm.custodia.handler.AbstractUploadCustodiaHandler
handleExecute, handleRollBack
 
Methods inherited from class es.caib.ibkey.bpm.common.handler.AbstractIndexedHandler
canSignal, execute, getAttMgr, getHandleRetry, getInputContentType, getInputObject, getMimeReg, getOutputContentType, getOutputObject, getOutputOriginalName, getOutputTag, getSignalTo, getStageActual, getStageActualName, getStageAnterior, getStgMgr, isCanSignal, setCanSignal, setHandleRetry, setInputContentType, setInputObject, setOutputContentType, setOutputObject, setOutputOriginalName, setOutputTag, setSignalTo, setStageActualName
 
Methods inherited from class es.caib.ibkey.bpm.common.handler.IbkeyBPMLoggerTemplate
configure, debug, error, exceptionToString, getAdminMailAdresses, warn
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UploadPDFCustodiaHandler

public UploadPDFCustodiaHandler()
Method Detail

custodiaCall

protected byte[] custodiaCall(es.caib.signatura.cliente.ClienteCustodia clienteCustodia,
                              java.io.ByteArrayInputStream bis,
                              java.lang.String nombreDocumento,
                              java.lang.String documentoCustodiadoId,
                              java.lang.String repoTipoDoc)
                       throws java.lang.Exception
Specified by:
custodiaCall in class AbstractUploadCustodiaHandler
Throws:
java.lang.Exception

freeResources

protected void freeResources(org.jbpm.graph.exe.ExecutionContext ctx)
Specified by:
freeResources in class AbstractIndexedHandler


Copyright © 2012 Direcció General de Tecnologia i Comunicacions. Govern de les Illes Balears. All Rights Reserved.