Package com.soffid.iam.bpm.service
Class BpmEngineImpl
- java.lang.Object
-
- com.soffid.iam.bpm.service.BpmEngineBase
-
- com.soffid.iam.bpm.service.BpmEngineImpl
-
- All Implemented Interfaces:
com.soffid.iam.bpm.service.BpmEngine
public class BpmEngineImpl extends BpmEngineBase
-
-
Field Summary
Fields Modifier and Type Field Description static StringBPM_APPLICATION_IDstatic StringBPM_EJB_APPstatic StringINITIATOR_ROLEstatic StringLUCENE_DIR_PARAMstatic StringOBSERVER_ROLEstatic StringSUPERVISOR_ROLE
-
Constructor Summary
Constructors Constructor Description BpmEngineImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaudit(org.jbpm.graph.def.ProcessDefinition definition, String action)voidenableJob(com.soffid.iam.bpm.api.Job jobvo, boolean enable)voidendAuthenticationLog(org.jbpm.graph.exe.Token token)convenience method for ending a composite log.protected ListfindProcessDefinitionsByRole(String name, boolean onlyEnabled)protected List<Long>findProcessInstancesByText(org.jbpm.JbpmContext context, String query)com.soffid.iam.bpm.api.ProcessInstancegetProcessInstance2(long id, boolean lightweight)protected voidhandleAddComment(com.soffid.iam.bpm.api.ProcessInstance process, String comment)protected com.soffid.iam.bpm.api.TaskInstancehandleAddComment(com.soffid.iam.bpm.api.TaskInstance task, String comment)protected booleanhandleCanAdmin(com.soffid.iam.bpm.api.ProcessInstance instanceVO)protected com.soffid.iam.bpm.api.ProcessInstancehandleCancel(com.soffid.iam.bpm.api.ProcessInstance process)protected com.soffid.iam.bpm.api.TaskInstancehandleCancel(com.soffid.iam.bpm.api.TaskInstance task)protected voidhandleChangeConfiguration(Map m)protected inthandleCountMyTasks()protected inthandleCountNewTasks()protected com.soffid.iam.bpm.api.TaskInstancehandleCreateDummyTask(long processDefinitionId)protected com.soffid.iam.bpm.api.TaskInstancehandleDelegateTaskToUser(com.soffid.iam.bpm.api.TaskInstance task, String username)protected com.soffid.iam.bpm.api.ProcessDefinitionhandleDisableProcessDefinition(com.soffid.iam.bpm.api.ProcessDefinition defVO)protected com.soffid.iam.bpm.api.ProcessDefinitionhandleEnableProcessDefinition(com.soffid.iam.bpm.api.ProcessDefinition defVO)protected voidhandleEndDeployParDefinitionTransfer()protected com.soffid.iam.bpm.api.TaskInstancehandleExecuteTask(com.soffid.iam.bpm.api.TaskInstance task, String transitionName)protected List<com.soffid.iam.bpm.api.ProcessDefinition>handleFindAllProcessDefinitions(boolean onlyEnabled)protected Collection<Long>handleFindChildProcesses(Long processId)protected ListhandleFindGroupTasks()protected ListhandleFindInitiatorProcessDefinitions()protected ListhandleFindMyProcesses()protected ListhandleFindMyTasks()protected ListhandleFindMyTasksLightweight()protected ListhandleFindObserverProcessDefinitions()protected Collection<Long>handleFindParentProceeses(Long processId)protected com.soffid.iam.api.PagedResult<com.soffid.iam.bpm.api.ProcessDefinition>handleFindProcessDefinitionByTextAndJsonQuery(String text, String jsonQuery, Integer start, Integer pageSize)protected ListhandleFindProcessDefinitions(String name, boolean onlyEnabled)protected ListhandleFindProcessDefinitions(String name, es.caib.bpm.vo.PredefinedProcessType type)protected com.soffid.iam.api.PagedResult<com.soffid.iam.bpm.api.ProcessInstance>handleFindProcessInstanceByTextAndJsonQuery(String text, String jsonQuery, Integer start, Integer pageSize)protected ListhandleFindProcessInstances(com.soffid.iam.bpm.api.ProcessDefinition def)protected ListhandleFindProcessInstances(List definitions, String processId, String estado, String actor, Date startDate, boolean finalizada)protected ListhandleFindSupervisorProcessDefinitions()protected ListhandleFindTaskDefinitions(com.soffid.iam.bpm.api.ProcessDefinition def)protected ListhandleFindTasks(List def, com.soffid.iam.bpm.api.TaskDefinition task, String actor, Date processStartDate, Date taskCreationDate, boolean finalizada)protected ListhandleFindTasks(List def, String processId, com.soffid.iam.bpm.api.TaskDefinition task, String actor, Date processStartDate, Date taskCreationDate, boolean finalizada)protected com.soffid.iam.api.PagedResult<com.soffid.iam.bpm.api.TaskInstance>handleFindTasksByTextAndJsonQuery(String text, String jsonQuery, Integer start, Integer pageSize)protected Collection<com.soffid.iam.bpm.api.BPMUser>handleFindUsers(String userName, String givenName, String surName, String group)protected ListhandleGetActiveJobs()protected ListhandleGetActiveJobs(com.soffid.iam.bpm.api.ProcessInstance process)protected ListhandleGetActiveTasks(com.soffid.iam.bpm.api.ProcessInstance process)protected ListhandleGetAllJobs()protected MaphandleGetConfiguration()protected org.jbpm.JbpmContexthandleGetContext()protected int[]handleGetCoordinates(com.soffid.iam.bpm.api.ProcessInstance processVO)protected int[]handleGetCoordinates(com.soffid.iam.bpm.api.TaskInstance task)protected com.soffid.iam.bpm.api.ProcessDefinitionhandleGetDefinition(com.soffid.iam.bpm.api.ProcessInstance process)protected com.soffid.iam.bpm.api.TaskDefinitionhandleGetDefinition(com.soffid.iam.bpm.api.TaskInstance task)protected String[]handleGetDeployMessages()protected org.jbpm.JbpmConfigurationhandleGetJBpmConfiguration()protected ListhandleGetPendingTasks(com.soffid.iam.bpm.api.ProcessInstance process)protected com.soffid.iam.bpm.api.ProcessInstancehandleGetProcess(long id)protected com.soffid.iam.bpm.api.ProcessDefinitionhandleGetProcessDefinition(com.soffid.iam.bpm.api.ProcessInstance process)protected byte[]handleGetProcessDefinitionIcon(Long definitionId)protected byte[]handleGetProcessDefinitionImage(com.soffid.iam.bpm.api.ProcessDefinition def)protected com.soffid.iam.bpm.api.ProcessInstancehandleGetProcessInstance(com.soffid.iam.bpm.api.TaskInstance task)protected com.soffid.iam.bpm.api.ProcessInstancehandleGetProcessLightweight(long id)protected com.soffid.iam.bpm.api.ProcessLog[]handleGetProcessLog(com.soffid.iam.bpm.api.ProcessInstance instanceVO)protected InputStreamhandleGetResourceAsStream(com.soffid.iam.bpm.api.ProcessDefinition processdef, String resource)protected InputStreamhandleGetResourceAsStream(com.soffid.iam.bpm.api.ProcessInstance process, String resource)protected com.soffid.iam.bpm.api.TaskInstancehandleGetTask(long id)protected com.soffid.iam.bpm.api.ProcessLog[]handleGetTaskLog(com.soffid.iam.bpm.api.TaskInstance instanceVO)protected com.soffid.iam.bpm.api.Token[]handleGetTokens(long id)protected StringhandleGetUI(com.soffid.iam.bpm.api.ProcessInstance process)protected StringhandleGetUI(com.soffid.iam.bpm.api.TaskInstance task)protected MaphandleGetUIClassesForTask(com.soffid.iam.bpm.api.ProcessDefinition def)protected booleanhandleIsUserInRole(String role)protected voidhandleLinkProcesses(Long parentProcess, Long childProcess)protected com.soffid.iam.bpm.api.ProcessInstancehandleNewProcess(com.soffid.iam.bpm.api.ProcessDefinition def)protected com.soffid.iam.bpm.api.ProcessInstancehandleNewProcess(com.soffid.iam.bpm.api.ProcessDefinition def, boolean start)protected voidhandleNextDeployParDefinitionPackage(byte[] filePackage, int length)protected voidhandleOpenDeployParDefinitionTransfer()protected voidhandlePauseJob(com.soffid.iam.bpm.api.Job jobvo)protected voidhandlePing()protected voidhandleReindex()protected com.soffid.iam.bpm.api.TaskInstancehandleReserveTask(com.soffid.iam.bpm.api.TaskInstance task)protected voidhandleResumeJob(com.soffid.iam.bpm.api.Job jobvo)protected voidhandleRetryJob(com.soffid.iam.bpm.api.Job jobvo)protected ListhandleSearchProcessInstances(String query, String processID, Date sinceStartDate, Date untilStartDate, Date sinceEndDate, Date untilEndDate, boolean finished)protected voidhandleSignal(com.soffid.iam.bpm.api.ProcessInstance instanceVO)protected voidhandleSignal(com.soffid.iam.bpm.api.ProcessInstance instanceVO, String transitionName)protected voidhandleStartProcess(com.soffid.iam.bpm.api.ProcessInstance process)protected com.soffid.iam.bpm.api.TaskInstancehandleStartTask(com.soffid.iam.bpm.api.TaskInstance task)protected voidhandleUpdate(com.soffid.iam.bpm.api.ProcessInstance process)protected com.soffid.iam.bpm.api.TaskInstancehandleUpdate(com.soffid.iam.bpm.api.TaskInstance task)protected voidhandleUpdateSwimlane(com.soffid.iam.bpm.api.TaskInstance task, String swimlane, String[] actorIds)protected voidhandleUpgradeParFile(InputStream stream)protected voidhandleUpgradeProcess(com.soffid.iam.bpm.api.ProcessInstance instanceVO)voidstartAuthenticationLog(org.jbpm.graph.exe.Token token)-
Methods inherited from class com.soffid.iam.bpm.service.BpmEngineBase
addComment, addComment, canAdmin, cancel, cancel, changeConfiguration, countMyTasks, countNewTasks, createDummyTask, delegateTaskToUser, disableProcessDefinition, enableProcessDefinition, endDeployParDefinitionTransfer, executeTask, findAllProcessDefinitions, findChildProcesses, findGroupTasks, findInitiatorProcessDefinitions, findMyProcesses, findMyTasks, findMyTasksLightweight, findObserverProcessDefinitions, findParentProceeses, findProcessDefinitionByTextAndJsonQuery, findProcessDefinitions, findProcessDefinitions, findProcessInstanceByTextAndJsonQuery, findProcessInstances, findProcessInstances, findSupervisorProcessDefinitions, findTaskDefinitions, findTasks, findTasks, findTasksByTextAndJsonQuery, findUsers, getActiveJobs, getActiveJobs, getActiveTasks, getAllJobs, getApplicationService, getAuditEntityDao, getBpmConfigService, getConfiguration, getContext, getCoordinates, getCoordinates, getDefinition, getDefinition, getDeployMessages, getJBpmConfiguration, getLuceneIndexService, getPendingTasks, getPrincipal, getProcess, getProcessDefinition, getProcessDefinitionIcon, getProcessDefinitionImage, getProcessHierarchyEntityDao, getProcessInstance, getProcessLightweight, getProcessLog, getResourceAsStream, getResourceAsStream, getSessionCacheService, getSystemEntityDao, getTask, getTaskLog, getTokens, getUI, getUI, getUIClassesForTask, getUserEntityDao, getUserService, isUserInRole, linkProcesses, newProcess, newProcess, nextDeployParDefinitionPackage, openDeployParDefinitionTransfer, pauseJob, ping, reindex, reserveTask, resumeJob, retryJob, searchProcessInstances, setApplicationService, setAuditEntityDao, setBpmConfigService, setLuceneIndexService, setProcessHierarchyEntityDao, setSessionCacheService, setSystemEntityDao, setUserEntityDao, setUserService, signal, signal, startProcess, startTask, update, update, updateSwimlane, upgradeParFile, upgradeProcess
-
-
-
-
Field Detail
-
OBSERVER_ROLE
public static final String OBSERVER_ROLE
- See Also:
- Constant Field Values
-
SUPERVISOR_ROLE
public static final String SUPERVISOR_ROLE
- See Also:
- Constant Field Values
-
BPM_EJB_APP
public static final String BPM_EJB_APP
- See Also:
- Constant Field Values
-
INITIATOR_ROLE
public static final String INITIATOR_ROLE
- See Also:
- Constant Field Values
-
BPM_APPLICATION_ID
public static final String BPM_APPLICATION_ID
- See Also:
- Constant Field Values
-
LUCENE_DIR_PARAM
public static final String LUCENE_DIR_PARAM
- See Also:
- Constant Field Values
-
-
Method Detail
-
handleFindMyProcesses
protected List handleFindMyProcesses() throws Exception
- Specified by:
handleFindMyProcessesin classBpmEngineBase- Throws:
Exception
-
handleGetProcessDefinition
protected com.soffid.iam.bpm.api.ProcessDefinition handleGetProcessDefinition(com.soffid.iam.bpm.api.ProcessInstance process) throws Exception- Specified by:
handleGetProcessDefinitionin classBpmEngineBase- Throws:
Exception
-
startAuthenticationLog
public void startAuthenticationLog(org.jbpm.graph.exe.Token token)
-
endAuthenticationLog
public void endAuthenticationLog(org.jbpm.graph.exe.Token token)
convenience method for ending a composite log. Make sure you put this in a finally block.
-
handleCancel
protected com.soffid.iam.bpm.api.ProcessInstance handleCancel(com.soffid.iam.bpm.api.ProcessInstance process) throws Exception- Specified by:
handleCancelin classBpmEngineBase- Throws:
Exception
-
handleSearchProcessInstances
protected List handleSearchProcessInstances(String query, String processID, Date sinceStartDate, Date untilStartDate, Date sinceEndDate, Date untilEndDate, boolean finished) throws Exception
- Specified by:
handleSearchProcessInstancesin classBpmEngineBase- Throws:
Exception
-
handleFindProcessInstances
protected List handleFindProcessInstances(List definitions, String processId, String estado, String actor, Date startDate, boolean finalizada) throws Exception
- Specified by:
handleFindProcessInstancesin classBpmEngineBase- Throws:
Exception
-
handleFindProcessInstances
protected List handleFindProcessInstances(com.soffid.iam.bpm.api.ProcessDefinition def) throws Exception
- Specified by:
handleFindProcessInstancesin classBpmEngineBase- Throws:
Exception
-
handleGetDefinition
protected com.soffid.iam.bpm.api.ProcessDefinition handleGetDefinition(com.soffid.iam.bpm.api.ProcessInstance process) throws Exception- Specified by:
handleGetDefinitionin classBpmEngineBase- Throws:
Exception
-
handleUpdate
protected void handleUpdate(com.soffid.iam.bpm.api.ProcessInstance process) throws Exception- Specified by:
handleUpdatein classBpmEngineBase- Throws:
Exception
-
handleStartProcess
protected void handleStartProcess(com.soffid.iam.bpm.api.ProcessInstance process) throws Exception- Specified by:
handleStartProcessin classBpmEngineBase- Throws:
Exception
-
handleGetProcess
protected com.soffid.iam.bpm.api.ProcessInstance handleGetProcess(long id) throws Exception- Specified by:
handleGetProcessin classBpmEngineBase- Throws:
Exception
-
getProcessInstance2
public com.soffid.iam.bpm.api.ProcessInstance getProcessInstance2(long id, boolean lightweight) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.bpm.exception.BPMException, es.caib.seycon.ng.exception.UnknownUserException, Exception- Throws:
es.caib.seycon.ng.exception.InternalErrorExceptiones.caib.bpm.exception.BPMExceptiones.caib.seycon.ng.exception.UnknownUserExceptionException
-
handleGetProcessLightweight
protected com.soffid.iam.bpm.api.ProcessInstance handleGetProcessLightweight(long id) throws Exception- Specified by:
handleGetProcessLightweightin classBpmEngineBase- Throws:
Exception
-
handleGetTokens
protected com.soffid.iam.bpm.api.Token[] handleGetTokens(long id) throws Exception- Specified by:
handleGetTokensin classBpmEngineBase- Throws:
Exception
-
handleGetProcessLog
protected com.soffid.iam.bpm.api.ProcessLog[] handleGetProcessLog(com.soffid.iam.bpm.api.ProcessInstance instanceVO) throws Exception- Specified by:
handleGetProcessLogin classBpmEngineBase- Throws:
Exception
-
handleGetTaskLog
protected com.soffid.iam.bpm.api.ProcessLog[] handleGetTaskLog(com.soffid.iam.bpm.api.TaskInstance instanceVO) throws Exception- Specified by:
handleGetTaskLogin classBpmEngineBase- Throws:
Exception
-
handleUpgradeProcess
protected void handleUpgradeProcess(com.soffid.iam.bpm.api.ProcessInstance instanceVO) throws Exception- Specified by:
handleUpgradeProcessin classBpmEngineBase- Throws:
Exception
-
handleFindMyTasks
protected List handleFindMyTasks() throws Exception
- Specified by:
handleFindMyTasksin classBpmEngineBase- Throws:
Exception
-
handleFindMyTasksLightweight
protected List handleFindMyTasksLightweight() throws Exception
- Specified by:
handleFindMyTasksLightweightin classBpmEngineBase- Throws:
Exception
-
handleFindGroupTasks
protected List handleFindGroupTasks() throws Exception
- Specified by:
handleFindGroupTasksin classBpmEngineBase- Throws:
Exception
-
handleStartTask
protected com.soffid.iam.bpm.api.TaskInstance handleStartTask(com.soffid.iam.bpm.api.TaskInstance task) throws Exception- Specified by:
handleStartTaskin classBpmEngineBase- Throws:
Exception
-
handleAddComment
protected com.soffid.iam.bpm.api.TaskInstance handleAddComment(com.soffid.iam.bpm.api.TaskInstance task, String comment) throws Exception- Specified by:
handleAddCommentin classBpmEngineBase- Throws:
Exception
-
handleAddComment
protected void handleAddComment(com.soffid.iam.bpm.api.ProcessInstance process, String comment) throws Exception- Specified by:
handleAddCommentin classBpmEngineBase- Throws:
Exception
-
handleExecuteTask
protected com.soffid.iam.bpm.api.TaskInstance handleExecuteTask(com.soffid.iam.bpm.api.TaskInstance task, String transitionName) throws Exception- Specified by:
handleExecuteTaskin classBpmEngineBase- Throws:
Exception
-
handleReserveTask
protected com.soffid.iam.bpm.api.TaskInstance handleReserveTask(com.soffid.iam.bpm.api.TaskInstance task) throws Exception- Specified by:
handleReserveTaskin classBpmEngineBase- Throws:
Exception
-
handleDelegateTaskToUser
protected com.soffid.iam.bpm.api.TaskInstance handleDelegateTaskToUser(com.soffid.iam.bpm.api.TaskInstance task, String username) throws Exception- Specified by:
handleDelegateTaskToUserin classBpmEngineBase- Throws:
Exception
-
handleUpdate
protected com.soffid.iam.bpm.api.TaskInstance handleUpdate(com.soffid.iam.bpm.api.TaskInstance task) throws Exception- Specified by:
handleUpdatein classBpmEngineBase- Throws:
Exception
-
handleUpdateSwimlane
protected void handleUpdateSwimlane(com.soffid.iam.bpm.api.TaskInstance task, String swimlane, String[] actorIds) throws Exception- Specified by:
handleUpdateSwimlanein classBpmEngineBase- Throws:
Exception
-
handleGetProcessInstance
protected com.soffid.iam.bpm.api.ProcessInstance handleGetProcessInstance(com.soffid.iam.bpm.api.TaskInstance task) throws Exception- Specified by:
handleGetProcessInstancein classBpmEngineBase- Throws:
Exception
-
handleCancel
protected com.soffid.iam.bpm.api.TaskInstance handleCancel(com.soffid.iam.bpm.api.TaskInstance task) throws Exception- Specified by:
handleCancelin classBpmEngineBase- Throws:
Exception
-
handleFindTasks
protected List handleFindTasks(List def, com.soffid.iam.bpm.api.TaskDefinition task, String actor, Date processStartDate, Date taskCreationDate, boolean finalizada) throws Exception
- Specified by:
handleFindTasksin classBpmEngineBase- Throws:
Exception
-
handleFindTasks
protected List handleFindTasks(List def, String processId, com.soffid.iam.bpm.api.TaskDefinition task, String actor, Date processStartDate, Date taskCreationDate, boolean finalizada) throws Exception
- Specified by:
handleFindTasksin classBpmEngineBase- Throws:
Exception
-
handleGetUI
protected String handleGetUI(com.soffid.iam.bpm.api.TaskInstance task) throws Exception
- Specified by:
handleGetUIin classBpmEngineBase- Throws:
Exception
-
handleGetUI
protected String handleGetUI(com.soffid.iam.bpm.api.ProcessInstance process) throws Exception
- Specified by:
handleGetUIin classBpmEngineBase- Throws:
Exception
-
handleGetDefinition
protected com.soffid.iam.bpm.api.TaskDefinition handleGetDefinition(com.soffid.iam.bpm.api.TaskInstance task) throws Exception- Specified by:
handleGetDefinitionin classBpmEngineBase- Throws:
Exception
-
handleGetPendingTasks
protected List handleGetPendingTasks(com.soffid.iam.bpm.api.ProcessInstance process) throws Exception
- Specified by:
handleGetPendingTasksin classBpmEngineBase- Throws:
Exception
-
findProcessDefinitionsByRole
protected List findProcessDefinitionsByRole(String name, boolean onlyEnabled) throws Exception
- Throws:
Exception
-
handleFindProcessDefinitions
protected List handleFindProcessDefinitions(String name, boolean onlyEnabled) throws Exception
- Specified by:
handleFindProcessDefinitionsin classBpmEngineBase- Throws:
Exception
-
handleFindProcessDefinitions
protected List handleFindProcessDefinitions(String name, es.caib.bpm.vo.PredefinedProcessType type) throws Exception
- Specified by:
handleFindProcessDefinitionsin classBpmEngineBase- Throws:
Exception
-
handleNewProcess
protected com.soffid.iam.bpm.api.ProcessInstance handleNewProcess(com.soffid.iam.bpm.api.ProcessDefinition def) throws Exception- Specified by:
handleNewProcessin classBpmEngineBase- Throws:
Exception
-
handleNewProcess
protected com.soffid.iam.bpm.api.ProcessInstance handleNewProcess(com.soffid.iam.bpm.api.ProcessDefinition def, boolean start) throws Exception- Specified by:
handleNewProcessin classBpmEngineBase- Throws:
Exception
-
handleGetProcessDefinitionImage
protected byte[] handleGetProcessDefinitionImage(com.soffid.iam.bpm.api.ProcessDefinition def) throws Exception- Specified by:
handleGetProcessDefinitionImagein classBpmEngineBase- Throws:
Exception
-
handleGetProcessDefinitionIcon
protected byte[] handleGetProcessDefinitionIcon(Long definitionId) throws Exception
- Specified by:
handleGetProcessDefinitionIconin classBpmEngineBase- Throws:
Exception
-
handleGetCoordinates
protected int[] handleGetCoordinates(com.soffid.iam.bpm.api.TaskInstance task) throws Exception- Specified by:
handleGetCoordinatesin classBpmEngineBase- Throws:
Exception
-
handleGetCoordinates
protected int[] handleGetCoordinates(com.soffid.iam.bpm.api.ProcessInstance processVO) throws Exception- Specified by:
handleGetCoordinatesin classBpmEngineBase- Throws:
Exception
-
handleFindInitiatorProcessDefinitions
protected List handleFindInitiatorProcessDefinitions() throws Exception
- Specified by:
handleFindInitiatorProcessDefinitionsin classBpmEngineBase- Throws:
Exception
-
handleFindObserverProcessDefinitions
protected List handleFindObserverProcessDefinitions() throws Exception
- Specified by:
handleFindObserverProcessDefinitionsin classBpmEngineBase- Throws:
Exception
-
handleFindSupervisorProcessDefinitions
protected List handleFindSupervisorProcessDefinitions() throws Exception
- Specified by:
handleFindSupervisorProcessDefinitionsin classBpmEngineBase- Throws:
Exception
-
handleGetUIClassesForTask
protected Map handleGetUIClassesForTask(com.soffid.iam.bpm.api.ProcessDefinition def) throws Exception
- Specified by:
handleGetUIClassesForTaskin classBpmEngineBase- Throws:
Exception
-
handleFindTaskDefinitions
protected List handleFindTaskDefinitions(com.soffid.iam.bpm.api.ProcessDefinition def) throws Exception
- Specified by:
handleFindTaskDefinitionsin classBpmEngineBase- Throws:
Exception
-
handleEnableProcessDefinition
protected com.soffid.iam.bpm.api.ProcessDefinition handleEnableProcessDefinition(com.soffid.iam.bpm.api.ProcessDefinition defVO) throws Exception- Specified by:
handleEnableProcessDefinitionin classBpmEngineBase- Throws:
Exception
-
handleDisableProcessDefinition
protected com.soffid.iam.bpm.api.ProcessDefinition handleDisableProcessDefinition(com.soffid.iam.bpm.api.ProcessDefinition defVO) throws Exception- Specified by:
handleDisableProcessDefinitionin classBpmEngineBase- Throws:
Exception
-
handleOpenDeployParDefinitionTransfer
protected void handleOpenDeployParDefinitionTransfer() throws Exception- Specified by:
handleOpenDeployParDefinitionTransferin classBpmEngineBase- Throws:
Exception
-
handleNextDeployParDefinitionPackage
protected void handleNextDeployParDefinitionPackage(byte[] filePackage, int length) throws Exception- Specified by:
handleNextDeployParDefinitionPackagein classBpmEngineBase- Throws:
Exception
-
handleEndDeployParDefinitionTransfer
protected void handleEndDeployParDefinitionTransfer() throws Exception- Specified by:
handleEndDeployParDefinitionTransferin classBpmEngineBase- Throws:
Exception
-
audit
public void audit(org.jbpm.graph.def.ProcessDefinition definition, String action)
-
handleGetDeployMessages
protected String[] handleGetDeployMessages() throws Exception
- Specified by:
handleGetDeployMessagesin classBpmEngineBase- Throws:
Exception
-
handleGetTask
protected com.soffid.iam.bpm.api.TaskInstance handleGetTask(long id) throws Exception- Specified by:
handleGetTaskin classBpmEngineBase- Throws:
Exception
-
handleGetJBpmConfiguration
protected org.jbpm.JbpmConfiguration handleGetJBpmConfiguration() throws Exception- Specified by:
handleGetJBpmConfigurationin classBpmEngineBase- Throws:
Exception
-
handleGetContext
protected org.jbpm.JbpmContext handleGetContext() throws Exception- Specified by:
handleGetContextin classBpmEngineBase- Throws:
Exception
-
handleSignal
protected void handleSignal(com.soffid.iam.bpm.api.ProcessInstance instanceVO) throws Exception- Specified by:
handleSignalin classBpmEngineBase- Throws:
Exception
-
handleSignal
protected void handleSignal(com.soffid.iam.bpm.api.ProcessInstance instanceVO, String transitionName) throws Exception- Specified by:
handleSignalin classBpmEngineBase- Throws:
Exception
-
handleCanAdmin
protected boolean handleCanAdmin(com.soffid.iam.bpm.api.ProcessInstance instanceVO) throws Exception- Specified by:
handleCanAdminin classBpmEngineBase- Throws:
Exception
-
handleGetActiveJobs
protected List handleGetActiveJobs(com.soffid.iam.bpm.api.ProcessInstance process) throws Exception
- Specified by:
handleGetActiveJobsin classBpmEngineBase- Throws:
Exception
-
handleGetActiveTasks
protected List handleGetActiveTasks(com.soffid.iam.bpm.api.ProcessInstance process) throws Exception
- Specified by:
handleGetActiveTasksin classBpmEngineBase- Throws:
Exception
-
handleGetActiveJobs
protected List handleGetActiveJobs() throws Exception
- Specified by:
handleGetActiveJobsin classBpmEngineBase- Throws:
Exception
-
handleGetAllJobs
protected List handleGetAllJobs() throws Exception
- Specified by:
handleGetAllJobsin classBpmEngineBase- Throws:
Exception
-
handleResumeJob
protected void handleResumeJob(com.soffid.iam.bpm.api.Job jobvo) throws Exception- Specified by:
handleResumeJobin classBpmEngineBase- Throws:
Exception
-
handlePauseJob
protected void handlePauseJob(com.soffid.iam.bpm.api.Job jobvo) throws Exception- Specified by:
handlePauseJobin classBpmEngineBase- Throws:
Exception
-
enableJob
public void enableJob(com.soffid.iam.bpm.api.Job jobvo, boolean enable) throws es.caib.bpm.exception.BPMException, es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.UnknownUserException- Throws:
es.caib.bpm.exception.BPMExceptiones.caib.seycon.ng.exception.InternalErrorExceptiones.caib.seycon.ng.exception.UnknownUserException
-
handleRetryJob
protected void handleRetryJob(com.soffid.iam.bpm.api.Job jobvo) throws Exception- Specified by:
handleRetryJobin classBpmEngineBase- Throws:
Exception
-
handleChangeConfiguration
protected void handleChangeConfiguration(Map m) throws Exception
- Specified by:
handleChangeConfigurationin classBpmEngineBase- Throws:
Exception
-
handleGetConfiguration
protected Map handleGetConfiguration() throws Exception
- Specified by:
handleGetConfigurationin classBpmEngineBase- Throws:
Exception
-
handleReindex
protected void handleReindex() throws Exception- Specified by:
handleReindexin classBpmEngineBase- Throws:
Exception
-
handlePing
protected void handlePing() throws Exception- Specified by:
handlePingin classBpmEngineBase- Throws:
Exception
-
handleGetResourceAsStream
protected InputStream handleGetResourceAsStream(com.soffid.iam.bpm.api.ProcessInstance process, String resource) throws Exception
- Specified by:
handleGetResourceAsStreamin classBpmEngineBase- Throws:
Exception
-
handleGetResourceAsStream
protected InputStream handleGetResourceAsStream(com.soffid.iam.bpm.api.ProcessDefinition processdef, String resource) throws Exception
- Specified by:
handleGetResourceAsStreamin classBpmEngineBase- Throws:
Exception
-
handleFindUsers
protected Collection<com.soffid.iam.bpm.api.BPMUser> handleFindUsers(String userName, String givenName, String surName, String group) throws Exception
- Specified by:
handleFindUsersin classBpmEngineBase- Throws:
Exception
-
handleUpgradeParFile
protected void handleUpgradeParFile(InputStream stream) throws Exception
- Specified by:
handleUpgradeParFilein classBpmEngineBase- Throws:
Exception
-
handleIsUserInRole
protected boolean handleIsUserInRole(String role) throws Exception
- Specified by:
handleIsUserInRolein classBpmEngineBase- Throws:
Exception
-
handleFindChildProcesses
protected Collection<Long> handleFindChildProcesses(Long processId) throws Exception
- Specified by:
handleFindChildProcessesin classBpmEngineBase- Throws:
Exception
-
handleFindParentProceeses
protected Collection<Long> handleFindParentProceeses(Long processId) throws Exception
- Specified by:
handleFindParentProceesesin classBpmEngineBase- Throws:
Exception
-
handleLinkProcesses
protected void handleLinkProcesses(Long parentProcess, Long childProcess) throws Exception
- Specified by:
handleLinkProcessesin classBpmEngineBase- Throws:
Exception
-
handleCreateDummyTask
protected com.soffid.iam.bpm.api.TaskInstance handleCreateDummyTask(long processDefinitionId) throws Exception- Specified by:
handleCreateDummyTaskin classBpmEngineBase- Throws:
Exception
-
handleCountMyTasks
protected int handleCountMyTasks() throws Exception- Specified by:
handleCountMyTasksin classBpmEngineBase- Throws:
Exception
-
handleCountNewTasks
protected int handleCountNewTasks() throws Exception- Specified by:
handleCountNewTasksin classBpmEngineBase- Throws:
Exception
-
handleFindProcessDefinitionByTextAndJsonQuery
protected com.soffid.iam.api.PagedResult<com.soffid.iam.bpm.api.ProcessDefinition> handleFindProcessDefinitionByTextAndJsonQuery(String text, String jsonQuery, Integer start, Integer pageSize) throws Exception
- Specified by:
handleFindProcessDefinitionByTextAndJsonQueryin classBpmEngineBase- Throws:
Exception
-
handleFindProcessInstanceByTextAndJsonQuery
protected com.soffid.iam.api.PagedResult<com.soffid.iam.bpm.api.ProcessInstance> handleFindProcessInstanceByTextAndJsonQuery(String text, String jsonQuery, Integer start, Integer pageSize) throws Exception
- Specified by:
handleFindProcessInstanceByTextAndJsonQueryin classBpmEngineBase- Throws:
Exception
-
handleFindTasksByTextAndJsonQuery
protected com.soffid.iam.api.PagedResult<com.soffid.iam.bpm.api.TaskInstance> handleFindTasksByTextAndJsonQuery(String text, String jsonQuery, Integer start, Integer pageSize) throws Exception
- Specified by:
handleFindTasksByTextAndJsonQueryin classBpmEngineBase- Throws:
Exception
-
findProcessInstancesByText
protected List<Long> findProcessInstancesByText(org.jbpm.JbpmContext context, String query) throws Exception
- Throws:
Exception
-
handleFindAllProcessDefinitions
protected List<com.soffid.iam.bpm.api.ProcessDefinition> handleFindAllProcessDefinitions(boolean onlyEnabled) throws Exception
- Specified by:
handleFindAllProcessDefinitionsin classBpmEngineBase- Throws:
Exception
-
-