Package com.soffid.iam.bpm.service
Interface BpmJobExecutor
-
public interface BpmJobExecutorService BpmJobExecutor
-
-
Field Summary
Fields Modifier and Type Field Description static StringSERVICE_NAME
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidanotateFailure(long id, Exception e)Operation anotateFailurevoidexecuteJob(long id)Operation executeJobListgetJobs(String lockOwner)Operation getJobsDategetNextDueDate(String lockOwner)Operation getNextDueDatevoidindexPendingProcesses()Operation indexPendingProcessesbooleanlockJob(long id, String lockOwner)Operation lockJobvoidunlockOverdueJobs(Date threshold)Operation unlockOverdueJobs
-
-
-
Field Detail
-
SERVICE_NAME
static final String SERVICE_NAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
lockJob
boolean lockJob(long id, String lockOwner) throws InternalErrorException, InternalErrorException, ExceptionOperation lockJob- Parameters:
id-lockOwner-- Returns:
- Throws:
InternalErrorExceptionException
-
getNextDueDate
Date getNextDueDate(String lockOwner) throws InternalErrorException, InternalErrorException
Operation getNextDueDate- Parameters:
lockOwner-- Returns:
- Throws:
InternalErrorException
-
getJobs
List getJobs(String lockOwner) throws InternalErrorException, InternalErrorException
Operation getJobs- Parameters:
lockOwner-- Returns:
- Throws:
InternalErrorException
-
anotateFailure
void anotateFailure(long id, Exception e) throws InternalErrorException, InternalErrorExceptionOperation anotateFailure- Parameters:
id-e-- Throws:
InternalErrorException
-
executeJob
void executeJob(long id) throws InternalErrorException, InternalErrorException, ExceptionOperation executeJob- Parameters:
id-- Throws:
InternalErrorExceptionException
-
indexPendingProcesses
void indexPendingProcesses() throws InternalErrorException, InternalErrorExceptionOperation indexPendingProcesses- Throws:
InternalErrorException
-
unlockOverdueJobs
void unlockOverdueJobs(Date threshold) throws InternalErrorException, InternalErrorException
Operation unlockOverdueJobs- Parameters:
threshold-- Throws:
InternalErrorException
-
-