public class DbStateLangStore extends AbstractStore implements StateLangStore
AbstractStore.ObjectToStatement<T>, AbstractStore.ResultSetToObject<T>dataSource, dbType, LOGGER, tablePrefix| Constructor and Description |
|---|
DbStateLangStore() |
| Modifier and Type | Method and Description |
|---|---|
StateMachine |
getLastVersionStateMachine(String stateMachineName,
String tenantId)
Get the latest version of the state machine by state machine name
|
StateMachine |
getStateMachineById(String stateMachineId)
Query the state machine definition by id
|
void |
setTablePrefix(String tablePrefix) |
boolean |
storeStateMachine(StateMachine stateMachine)
Storage state machine definition
|
closeSilent, executeUpdate, executeUpdate, selectList, selectOne, setDataSource, setDbTypepublic StateMachine getStateMachineById(String stateMachineId)
StateLangStoregetStateMachineById in interface StateLangStorestateMachineId - the state machine idpublic StateMachine getLastVersionStateMachine(String stateMachineName, String tenantId)
StateLangStoregetLastVersionStateMachine in interface StateLangStorestateMachineName - the state machine nametenantId - the tenant idpublic boolean storeStateMachine(StateMachine stateMachine)
StateLangStorestoreStateMachine in interface StateLangStorestateMachine - the state machine messagepublic void setTablePrefix(String tablePrefix)
setTablePrefix in class AbstractStoreCopyright © 2023 Seata. All rights reserved.