T
- a concrete lockable implementation for example
XdevFormular
public class LockableFormSupport<T extends Container & Formular & Lockable> extends FormularSupport
Lockable
FormularSupport.FormularValue, FormularSupport.ParameterContainer
Constructor and Description |
---|
LockableFormSupport(T form)
Initializes this lock support provider with the given concerned lockable.
|
Modifier and Type | Method and Description |
---|---|
void |
delete(boolean synchronizeDB) |
EnabledState |
getFormEnabledState()
Returns this forms enabled state.
|
void |
insert(boolean synchronizeDB) |
void |
restoreFormEnabledState()
Enables the current
XdevFormular . |
void |
save(boolean synchronizeDB) |
void |
setModel(int row,
VirtualTable vt) |
void |
setModel(VirtualTable.VirtualTableRow virtualTableRow) |
void |
setModel(VirtualTable vt) |
void |
update(boolean synchronizeDB) |
collectFormularValues, createCondition, createCondition, createQuery, createWhereCondition, fireFormularComponentValueChanged, fireModelChanged, fireSavePerformed, getConnectedVT, getData, getFormular, getFormularOf, getHiddenField, getHiddenFieldNames, getURLAdd, getVirtualTable, getVirtualTableColumn, getVirtualTableRow, getWorkingState, hasStateChanged, initModel, insertRowInVT, isNull, lookupVT, putHiddenField, reset, restoreState, saveState, search, submit, updateRowsInVT, validateFormularComponents, validateFormularComponents, verifyFormularComponents
public LockableFormSupport(T form)
form
- the lockable to provide functionality for.public EnabledState getFormEnabledState()
public void restoreFormEnabledState()
XdevFormular
.public void setModel(int row, VirtualTable vt)
setModel
in class FormularSupport
public void setModel(VirtualTable vt)
setModel
in class FormularSupport
public void setModel(VirtualTable.VirtualTableRow virtualTableRow)
setModel
in class FormularSupport
public void delete(boolean synchronizeDB) throws VirtualTableException, DBException
delete
in class FormularSupport
VirtualTableException
DBException
public void insert(boolean synchronizeDB) throws VirtualTableException, DBException
insert
in class FormularSupport
VirtualTableException
DBException
public void update(boolean synchronizeDB) throws VirtualTableException, DBException
update
in class FormularSupport
VirtualTableException
DBException
public void save(boolean synchronizeDB) throws VirtualTableException, DBException
save
in class FormularSupport
VirtualTableException
DBException
Copyright © 2003–2021 XDEV Software. All rights reserved.