@Service @Transactional public class WorkUnitServiceImpl extends Object implements WorkUnitService
| Constructor and Description |
|---|
WorkUnitServiceImpl() |
| Modifier and Type | Method and Description |
|---|---|
List<WorkUnit> |
findNewWorkUnits(Date now)
Polls new units of work from database.
|
void |
lock(List<WorkUnit> workUnits)
Locks the workflow instances associated with the work units.
|
public List<WorkUnit> findNewWorkUnits(Date now)
WorkUnitServicefindNewWorkUnits in interface WorkUnitServicenow - the current datepublic void lock(List<WorkUnit> workUnits)
WorkUnitServicelock in interface WorkUnitServiceCopyright © 2018. All rights reserved.