Package com.soffid.iam.bpm.service
Interface BpmJobExecutor
public interface BpmJobExecutor
Service BpmJobExecutor
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionvoidanotateFailure(long id, Exception e) Operation anotateFailurevoidexecuteJob(long id) Operation executeJobOperation getJobsgetNextDueDate(String lockOwner) Operation getNextDueDatevoidOperation indexPendingProcessesbooleanOperation lockJobvoidunlockOverdueJobs(Date threshold) Operation unlockOverdueJobs
-
Field Details
-
SERVICE_NAME
- See Also:
-
-
Method Details
-
lockJob
boolean lockJob(long id, String lockOwner) throws InternalErrorException, InternalErrorException, Exception Operation lockJob- Parameters:
id-lockOwner-- Returns:
- Throws:
InternalErrorExceptionInternalErrorExceptionException
-
getNextDueDate
Operation getNextDueDate- Parameters:
lockOwner-- Returns:
- Throws:
InternalErrorExceptionInternalErrorException
-
getJobs
Operation getJobs- Parameters:
lockOwner-- Returns:
- Throws:
InternalErrorExceptionInternalErrorException
-
anotateFailure
Operation anotateFailure- Parameters:
id-e-- Throws:
InternalErrorExceptionInternalErrorException
-
executeJob
Operation executeJob- Parameters:
id-- Throws:
InternalErrorExceptionInternalErrorExceptionException
-
indexPendingProcesses
Operation indexPendingProcesses -
unlockOverdueJobs
Operation unlockOverdueJobs- Parameters:
threshold-- Throws:
InternalErrorExceptionInternalErrorException
-