Package com.soffid.iam.bpm.service.ejb
Interface BpmJobExecutor
-
public interface BpmJobExecutorEJB BpmJobExecutor
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidanotateFailure(long id, Exception e)voidexecuteJob(long id)ListgetJobs(String lockOwner)DategetNextDueDate(String lockOwner)voidindexPendingProcesses()booleanlockJob(long id, String lockOwner)voidunlockOverdueJobs(Date threshold)
-
-
-
Method Detail
-
lockJob
boolean lockJob(long id, String lockOwner) throws InternalErrorException, InternalErrorException, Exception- Throws:
InternalErrorExceptionException
-
getNextDueDate
Date getNextDueDate(String lockOwner) throws InternalErrorException, InternalErrorException
- Throws:
InternalErrorException
-
getJobs
List getJobs(String lockOwner) throws InternalErrorException, InternalErrorException
- Throws:
InternalErrorException
-
anotateFailure
void anotateFailure(long id, Exception e) throws InternalErrorException, InternalErrorException- Throws:
InternalErrorException
-
executeJob
void executeJob(long id) throws InternalErrorException, InternalErrorException, Exception- Throws:
InternalErrorExceptionException
-
indexPendingProcesses
void indexPendingProcesses() throws InternalErrorException, InternalErrorException- Throws:
InternalErrorException
-
unlockOverdueJobs
void unlockOverdueJobs(Date threshold) throws InternalErrorException, InternalErrorException
- Throws:
InternalErrorException
-
-