public interface AcquiredLocksUIHandler
extends com.gwtplatform.mvp.client.UiHandlers
Modifier and Type | Method and Description |
---|---|
void |
addRecordToLocks(java.lang.String database,
java.lang.String table,
java.lang.Long recordId)
Adds new unlocked record to the acquired locks table view.
|
void |
deleteAllRecords()
Delete all unlocked records from the acquired locks table.
|
void |
deleteSelectedRecords(java.util.Set<RecordInfo> selected)
Delete the selected unlocked records.
|
void |
lockRecords()
Executes the action to lock new added records from the acquired locks table.
|
void |
refreshDatabases()
Retrieves all managed databases asynchronously and refreshes the corresponding widgets.
|
void |
refreshTables(java.lang.String databaseName)
Retrieves all tables from the given database asynchronously and refreshes the corresponding
widgets.
|
void |
setCurrentState(ViewStateMachine.TransitionState transitionState)
Applies the given transitional state to the current state of the view state machine.
|
void |
unlockRecords()
Executes the action to unlock locked records.
|
void lockRecords()
void unlockRecords()
void addRecordToLocks(java.lang.String database, java.lang.String table, java.lang.Long recordId)
database
- The given databasetable
- The given table containing the target recordrecordId
- The target record identification numbervoid refreshTables(java.lang.String databaseName)
databaseName
- The given databasevoid refreshDatabases()
void deleteSelectedRecords(java.util.Set<RecordInfo> selected)
selected
- The set of selected recordsvoid deleteAllRecords()
void setCurrentState(ViewStateMachine.TransitionState transitionState)
transitionState
- The given transitional state