Package org.bonitasoft.engine.sequence
Interface SequenceManager
-
- All Known Implementing Classes:
SequenceManagerImpl
public interface SequenceManager- Author:
- Baptiste Mesta, Matthieu Chaffotte
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidclear()clear all in memory sequencevoidclear(long tenantId)clear in memory sequence for only one tenantvoidclose()longgetNextId(java.lang.String entityName, long tenantId)voidreset()
-
-
-
Method Detail
-
reset
void reset()
-
getNextId
long getNextId(java.lang.String entityName, long tenantId) throws SObjectNotFoundException, SObjectModificationException
-
clear
void clear()
clear all in memory sequence
-
clear
void clear(long tenantId)
clear in memory sequence for only one tenant- Parameters:
tenantId-
-
close
void close() throws java.sql.SQLException- Throws:
java.sql.SQLException
-
-