Class SequenceServiceImpl
java.lang.Object
org.flowable.common.engine.impl.service.CommonServiceImpl<C>
org.flowable.common.engine.impl.service.CommonEngineServiceImpl<PlatformEngineConfiguration>
com.flowable.platform.engine.impl.sequence.SequenceServiceImpl
- All Implemented Interfaces:
SequenceService
public class SequenceServiceImpl
extends CommonEngineServiceImpl<PlatformEngineConfiguration>
implements SequenceService
- Author:
- Filip Hrisafov
-
Field Summary
Fields inherited from class org.flowable.common.engine.impl.service.CommonEngineServiceImpl
commandExecutor
Fields inherited from class org.flowable.common.engine.impl.service.CommonServiceImpl
configuration
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
deleteSequenceValue
(String sequenceId) Delete the sequence value with the given id.void
updateSequenceCurrentValue
(String sequenceId, long newValue) Update the current value for the given sequence id.Methods inherited from class org.flowable.common.engine.impl.service.CommonEngineServiceImpl
getCommandExecutor, setCommandExecutor
Methods inherited from class org.flowable.common.engine.impl.service.CommonServiceImpl
getConfiguration
-
Constructor Details
-
SequenceServiceImpl
-
-
Method Details
-
createSequenceGenerator
- Specified by:
createSequenceGenerator
in interfaceSequenceService
-
createSequenceValueQuery
- Specified by:
createSequenceValueQuery
in interfaceSequenceService
-
updateSequenceCurrentValue
Description copied from interface:SequenceService
Update the current value for the given sequence id. This is mostly meant for management purposes. In order to get the next value useSequenceService.createSequenceGenerator()
- Specified by:
updateSequenceCurrentValue
in interfaceSequenceService
- Parameters:
sequenceId
- the id of the sequence value that needs to be updatednewValue
- the new value of the sequence
-
deleteSequenceValue
Description copied from interface:SequenceService
Delete the sequence value with the given id. This is mostly meant for management purposes.- Specified by:
deleteSequenceValue
in interfaceSequenceService
- Parameters:
sequenceId
- the id of the sequence that needs to be deleted
-