es.caib.ibkey.cliente.CompulsaInitWorkflow
Class CompulsaWorkflowController
java.lang.Object
es.caib.ibkey.cliente.CompulsaInitWorkflow.CompulsaWorkflowController
- All Implemented Interfaces:
- IbkeyActionController
public class CompulsaWorkflowController
- extends java.lang.Object
- implements IbkeyActionController
|
Method Summary |
protected void |
abrirNavegadorConTareasPendientes()
Si un proceso tiene tareas pendientes, abrimos el navegador (windows,
linux y mac) con la página de la tarea pendiente. |
protected void |
configureAdditionalProcessVariables()
|
protected java.util.Map |
enviarFicheroIniciarWorkflow(CompulsaWorkflowData data)
|
IbkeyData |
execute(java.lang.String action,
IbkeyData p_data)
|
es.caib.ibkey.bpm.common.ContentTypeRegistry |
getContentTypeRegistry()
|
int |
getProgress()
Devuelve el progreso de la acción. |
void |
setProgress(float prog)
|
protected void |
uploadWorkflowDocument(java.lang.String filePath,
boolean isPrincipalDocument,
long processId,
float p_initial,
float p_limit)
Obté el tipus mime del document, puja un document, l'associa a la tasca
amb el tag "document" si és el document principal, sinó
IdProcés+nomFitxer i actualitza el StageInfo de la tasca inicial si és
document principal o el StageManager si és un attachment |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
progress
protected float progress
processId
protected long processId
engine
protected es.caib.ibkey.ejb.ejb.IndexedProcessService_V2 engine
IBkeyContext
protected javax.naming.Context IBkeyContext
home
protected es.caib.ibkey.ejb.ejb.IndexedProcessService_V2Home home
data
protected CompulsaWorkflowData data
mimeReg
protected es.caib.ibkey.bpm.common.ContentTypeRegistry mimeReg
CompulsaWorkflowController
public CompulsaWorkflowController()
execute
public IbkeyData execute(java.lang.String action,
IbkeyData p_data)
throws IbkeyControllerException
- Specified by:
execute in interface IbkeyActionController
- Throws:
IbkeyControllerException
abrirNavegadorConTareasPendientes
protected void abrirNavegadorConTareasPendientes()
throws IbkeyControllerException
- Si un proceso tiene tareas pendientes, abrimos el navegador (windows,
linux y mac) con la página de la tarea pendiente.
- Throws:
IbkeyControllerException
enviarFicheroIniciarWorkflow
protected java.util.Map enviarFicheroIniciarWorkflow(CompulsaWorkflowData data)
throws IbkeyControllerException
- Throws:
IbkeyControllerException
configureAdditionalProcessVariables
protected void configureAdditionalProcessVariables()
throws IbkeyControllerException
- Throws:
IbkeyControllerException
uploadWorkflowDocument
protected void uploadWorkflowDocument(java.lang.String filePath,
boolean isPrincipalDocument,
long processId,
float p_initial,
float p_limit)
throws java.io.IOException,
javax.naming.NamingException,
javax.ejb.CreateException,
es.caib.bpm.beans.exception.DocumentBeanException,
java.lang.InterruptedException,
es.caib.bpm.exception.BPMException
- Obté el tipus mime del document, puja un document, l'associa a la tasca
amb el tag "document" si és el document principal, sinó
IdProcés+nomFitxer i actualitza el StageInfo de la tasca inicial si és
document principal o el StageManager si és un attachment
- Parameters:
filePath - isPrincipalDocument - attMgr - stageManager - process - documentManagerContext - p_limit - Límit del progrés per a l'enviament de documentsp_initial - Valor inicial de la barra de progrés
- Throws:
java.io.IOException
javax.naming.NamingException
javax.ejb.CreateException
es.caib.bpm.beans.exception.DocumentBeanException
java.lang.InterruptedException
es.caib.bpm.exception.BPMException
getProgress
public int getProgress()
- Description copied from interface:
IbkeyActionController
- Devuelve el progreso de la acción.
Si devuelve -1, es que no se puede obtener el progreso realizado.
- Specified by:
getProgress in interface IbkeyActionController
- Returns:
setProgress
public void setProgress(float prog)
getContentTypeRegistry
public es.caib.ibkey.bpm.common.ContentTypeRegistry getContentTypeRegistry()
Copyright © 2011 Direcció General de Tecnologia i Comunicacions. Govern de les Illes Balears. All Rights Reserved.