es.caib.ibkey.bpm.conversion.handler
Class ConversionHandler
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.conversion.handler.ConversionHandler
- All Implemented Interfaces:
- java.io.Serializable, org.jbpm.graph.def.ActionHandler
public class ConversionHandler
- extends AbstractIndexedHandler
Handler per a la conversió de documents mitjançant openOffice.
Variables d'entrada al context del procés:
VAR_FILTER_OPTIONS: (Opcional) opcions del conversor
Variables d'entrada a l'instància del handler:
formatDeSortida: (Opcional) per defecte pdf/A. (Correspon al nom del filtre de conversió)
extensioDocumentSortida: (opcional) per defecte ".pdf"
- Author:
- u91940
- See Also:
- Serialized Form
| 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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
formatDeSortida
public java.lang.String formatDeSortida
extensioDocumentSortida
public java.lang.String extensioDocumentSortida
convertedDocument
protected java.io.File convertedDocument
documentToConvert
protected java.io.File documentToConvert
ConversionHandler
public ConversionHandler()
handleExecute
public void handleExecute(org.jbpm.graph.exe.ExecutionContext ctx)
throws java.lang.Exception
- Mètode que converteix els documents attached a pdf via OpenOffice
- Specified by:
handleExecute in class AbstractIndexedHandler
- Throws:
java.lang.Exception
handleRollBack
protected void handleRollBack(org.jbpm.graph.exe.ExecutionContext ctx)
- Handler per a la gestió del rollback dels documents.
- Specified by:
handleRollBack in class AbstractIndexedHandler
- Parameters:
oldDocuments - convertedDocuments - attMgr -
- Throws:
java.lang.Exception
getFormatDeSortida
public java.lang.String getFormatDeSortida()
- Returns:
- the formatDeSortida
setFormatDeSortida
public void setFormatDeSortida(java.lang.String formatDeSortida)
- Parameters:
formatDeSortida - the formatDeSortida to set
getExtensioDocumentSortida
public java.lang.String getExtensioDocumentSortida()
- Returns:
- the extensioDocumentSortida
setExtensioDocumentSortida
public void setExtensioDocumentSortida(java.lang.String extensioDocumentSortida)
- Parameters:
extensioDocumentSortida - the extensioDocumentSortida to set
getVarFilterOptions
public java.util.Map getVarFilterOptions()
- Returns:
- the varFilterOptions
setVarFilterOptions
public void setVarFilterOptions(java.util.Map options)
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.