es.caib.ibkey.bpm.common.handler
Class NewIndexedProcessHandler

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.NewIndexedProcessHandler
All Implemented Interfaces:
java.io.Serializable, org.jbpm.graph.def.ActionHandler
Direct Known Subclasses:
NewIndexeUploadCustodyTiketToAlfrescoProcess

public class NewIndexedProcessHandler
extends LoggerActionHandler

See Also:
Serialized Form

Field Summary
protected  java.lang.String processDefinitionName
           
protected  java.lang.String processDescription
           
protected  java.lang.String processName
           
 
Fields inherited from class es.caib.ibkey.bpm.common.handler.IbkeyBPMLoggerTemplate
__processInstanceId
 
Constructor Summary
NewIndexedProcessHandler()
           
 
Method Summary
protected  void configureAdditionalProcessVariables(org.jbpm.graph.exe.ExecutionContext ctx, es.caib.bpm.vo.ProcessInstance processInstance)
           
protected  org.jbpm.JbpmContext createContext()
           
 void execute(org.jbpm.graph.exe.ExecutionContext ctx)
           
protected  java.util.Map initWorkflow(org.jbpm.graph.exe.ExecutionContext ctx, java.lang.String initiator, java.lang.String processDefinitionName, java.lang.String processName, java.lang.String processDescription, java.lang.String parentProcessName, java.lang.String parentProcessDescription)
           
 void update(org.jbpm.JbpmContext context, es.caib.bpm.vo.ProcessInstance process)
           
 
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
 

Field Detail

processDefinitionName

protected java.lang.String processDefinitionName

processName

protected java.lang.String processName

processDescription

protected java.lang.String processDescription
Constructor Detail

NewIndexedProcessHandler

public NewIndexedProcessHandler()
Method Detail

execute

public void execute(org.jbpm.graph.exe.ExecutionContext ctx)
             throws java.lang.Exception
Specified by:
execute in interface org.jbpm.graph.def.ActionHandler
Overrides:
execute in class LoggerActionHandler
Throws:
java.lang.Exception

initWorkflow

protected java.util.Map initWorkflow(org.jbpm.graph.exe.ExecutionContext ctx,
                                     java.lang.String initiator,
                                     java.lang.String processDefinitionName,
                                     java.lang.String processName,
                                     java.lang.String processDescription,
                                     java.lang.String parentProcessName,
                                     java.lang.String parentProcessDescription)
                              throws es.caib.bpm.toolkit.exception.SystemWorkflowException,
                                     es.caib.bpm.exception.BPMException
Throws:
es.caib.bpm.toolkit.exception.SystemWorkflowException
es.caib.bpm.exception.BPMException

createContext

protected org.jbpm.JbpmContext createContext()

update

public void update(org.jbpm.JbpmContext context,
                   es.caib.bpm.vo.ProcessInstance process)
            throws es.caib.bpm.exception.BPMException
Throws:
es.caib.bpm.exception.BPMException

configureAdditionalProcessVariables

protected void configureAdditionalProcessVariables(org.jbpm.graph.exe.ExecutionContext ctx,
                                                   es.caib.bpm.vo.ProcessInstance processInstance)
                                            throws es.caib.bpm.toolkit.exception.SystemWorkflowException
Throws:
es.caib.bpm.toolkit.exception.SystemWorkflowException


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