es.caib.ibkey.bpm.custodia.handler
Class AbstractUploadCustodiaHandler
java.lang.Object
es.caib.ibkey.bpm.common.handler.IbkeyBPMLoggerTemplate
es.caib.ibkey.bpm.common.handler.LoggerActionHandler
es.caib.ibkey.bpm.common.handler.AbstractIndexedHandler
es.caib.ibkey.bpm.custodia.handler.AbstractUploadCustodiaHandler
- All Implemented Interfaces:
- java.io.Serializable, org.jbpm.graph.def.ActionHandler
- Direct Known Subclasses:
- UploadDocumentoCustodiaHandler, UploadPDFCustodiaHandler, UploadSMIMECustodiaHandler
public abstract class AbstractUploadCustodiaHandler
- extends AbstractIndexedHandler
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: StateManager
- Author:
- u91940
- See Also:
- Serialized Form
|
Method Summary |
protected abstract byte[] |
custodiaCall(es.caib.signatura.cliente.ClienteCustodia clienteCustodia,
java.io.ByteArrayInputStream bis,
java.lang.String nombreDocumento,
java.lang.String documentoCustodiadoId,
java.lang.String repoTipoDoc)
|
void |
handleExecute(org.jbpm.graph.exe.ExecutionContext ctx)
Upload de documents a custòdia |
protected void |
handleRollBack(org.jbpm.graph.exe.ExecutionContext ctx)
Las subclases deben implementar este método para gestionar los errores |
| Methods inherited from class es.caib.ibkey.bpm.common.handler.AbstractIndexedHandler |
canSignal, execute, freeResources, 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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractUploadCustodiaHandler
public AbstractUploadCustodiaHandler()
handleExecute
public void handleExecute(org.jbpm.graph.exe.ExecutionContext ctx)
throws java.lang.Exception
- Upload de documents a custòdia
- Specified by:
handleExecute in class AbstractIndexedHandler
- Throws:
java.lang.Exception
custodiaCall
protected abstract 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
- Throws:
java.lang.Exception
handleRollBack
protected void handleRollBack(org.jbpm.graph.exe.ExecutionContext ctx)
- Description copied from class:
AbstractIndexedHandler
- Las subclases deben implementar este método para gestionar los errores
- Specified by:
handleRollBack in class AbstractIndexedHandler
Copyright © 2012 Direcció General de Tecnologia i Comunicacions. Govern de les Illes Balears. All Rights Reserved.