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
commandExecutorFields inherited from class org.flowable.common.engine.impl.service.CommonServiceImpl
configuration -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddeleteSequenceValue(String sequenceId) Delete the sequence value with the given id.voidupdateSequenceCurrentValue(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, setCommandExecutorMethods inherited from class org.flowable.common.engine.impl.service.CommonServiceImpl
getConfiguration
-
Constructor Details
-
SequenceServiceImpl
-
-
Method Details
-
createSequenceGenerator
- Specified by:
createSequenceGeneratorin interfaceSequenceService
-
createSequenceValueQuery
- Specified by:
createSequenceValueQueryin interfaceSequenceService
-
updateSequenceCurrentValue
Description copied from interface:SequenceServiceUpdate 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:
updateSequenceCurrentValuein 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:SequenceServiceDelete the sequence value with the given id. This is mostly meant for management purposes.- Specified by:
deleteSequenceValuein interfaceSequenceService- Parameters:
sequenceId- the id of the sequence that needs to be deleted
-