Package es.caib.bpm.servei.ejb
Interface BpmJobExecutor
-
public interface BpmJobExecutor
EJB BpmJobExecutor
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
anotateFailure(long id, Exception e)
void
executeJob(long id)
List
getJobs(String lockOwner)
Date
getNextDueDate(String lockOwner)
void
indexPendingProcesses()
boolean
lockJob(long id, String lockOwner)
void
unlockOverdueJobs(Date threshold)
-
-
-
Method Detail
-
lockJob
boolean lockJob(long id, String lockOwner) throws InternalErrorException, InternalErrorException, Exception
- Throws:
InternalErrorException
Exception
-
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:
InternalErrorException
Exception
-
indexPendingProcesses
void indexPendingProcesses() throws InternalErrorException, InternalErrorException
- Throws:
InternalErrorException
-
unlockOverdueJobs
void unlockOverdueJobs(Date threshold) throws InternalErrorException, InternalErrorException
- Throws:
InternalErrorException
-
-