public class DataAccessPanel extends TermContainerPanel
WebClient
instance.
In both way, the layer that is faced by the class for accessing data is made, mainly, by the JotyDb and the WResultSet classes of the org.joty.data package.
The definition of the updateable set and of the query set can be defined in
the containing dialog class or the Accessor class can be the holder of these
definitions. Similar availability of implementation exists for
GridTerm
instances, instantiated in this class, that themselves
need to have updateable set and of the query set defined: this class offer
methods for this purpose or again these definitions can be implemented in the
Accessor class.
Some methods of the class perform the interaction with a WResultSet
object either, in web mode, to prepare statement to forward to the WebClient
and to collect from data from it, or to exchange data of the instances of the
Term
class with the corresponding fields in the WResultSet object
that will participate in a jdbc access.
Other methods offer the definition of the keys of the underlying updateable set and other methods the definition of the relation between fields in the panel and fields elsewhere located.
Then, application level permissions can be specified, for the various roles in respect of the object accessibility for them.
Two main accessor method for writing and for reading the managed data to and
from the database are coordinated by the container DataAccessDialog
instance.
The class, furthermore, provides methods for managing updating needs among
the various DataAccessDialog
objects currently opened in the
application, when these dialog shared the same data typically in referencing
activity: these methods participates in the publishers-subscribers scenario
that the Joty Framework implement for this purpose.
JotyDB
,
WResultSet
,
Accessor
,
Serialized FormModifier and Type | Class and Description |
---|---|
static interface |
DataAccessPanel.ActionOnRowInterface |
static class |
DataAccessPanel.ButtonBehavior |
class |
DataAccessPanel.ButtonDescriptor |
static interface |
DataAccessPanel.DefinedInsertMethodInterface |
static interface |
DataAccessPanel.DefinedSetMethodInterface |
static interface |
DataAccessPanel.GetDelStmntInterface |
static interface |
DataAccessPanel.GetWhereClauseInterface |
protected static class |
DataAccessPanel.Permission |
static interface |
DataAccessPanel.RenderRowMethodInterface
Used by the
ListTerm class to allow custom rendering, basing
either on the WResultSet or on the JotyDataBuffer objects. |
TermContainerPanel.BuildDetailsDialogAdapter, TermContainerPanel.ListeningState, TermContainerPanel.TermParams
Panel.JotySeparator
javax.swing.JPanel.AccessibleJPanel
javax.swing.JComponent.AccessibleJComponent
Modifier and Type | Field and Description |
---|---|
boolean |
m_askedToLoad |
boolean |
m_blobManaging |
protected TermContainerPanel.BuildDetailsDialogAdapter |
m_buildDetailsHandler |
protected java.util.Vector<DataAccessPanel.ButtonDescriptor> |
m_buttons |
boolean |
m_cascadeUpdate |
boolean |
m_clearing |
protected org.joty.app.Common |
m_common |
java.lang.String |
m_contextFilter |
protected boolean |
m_controllerUpdateRequested |
protected DataAccessPanel.ButtonBehavior |
m_currentButtonBehavior |
boolean |
m_dataMaster |
java.lang.String |
m_definedQuery |
java.util.Vector<JotyDialog> |
m_dependentDialogs |
protected org.joty.data.BasicJotyCursor |
m_descriptorOnLoad |
java.lang.String |
m_finalQuery |
boolean |
m_growing |
long |
m_identifyingID |
boolean |
m_isInTabbedPanel |
boolean |
m_isNewRec |
boolean |
m_isNewRecOnIdle |
boolean |
m_isUnDeletable |
java.util.Vector<org.joty.data.WrappedField> |
m_keyElemDefaults |
protected boolean |
m_loadingData |
protected boolean |
m_localAccessor |
java.lang.String |
m_mainDataTable |
protected boolean |
m_mainlyDbFree |
boolean |
m_operative |
DataAccessPanel.Permission |
m_permission |
protected boolean |
m_preFiltered |
boolean |
m_preIdGeneration |
java.util.Vector<java.lang.String> |
m_relationElems |
java.lang.String |
m_seq_name |
org.joty.common.Utilities.Stocker |
m_smallBlobs |
java.lang.String |
m_sortExpr |
m_currentActorName, m_currentDependenceDirection, m_dbFieldsHostedByTerms, m_dirty, m_formKeyHiddenTerm, m_gridRowDescriptor, m_hiddenTermsCount, m_IdFieldElemIdx, m_IdFieldName, m_inhibitChangeNotification, m_inhibitGridTermsEffect, m_initializing, m_keyElems, m_listenForActions, m_listRowHeader, m_maxEffectsIndex, m_queryBuilder, m_recSensingCtrlIdx, m_targetPanel, m_termMap, m_terms, m_termsInBold, m_wfields
m_absoluteGridColumnWidths, m_actionOnRowHandler, m_app, m_defaultButton, m_dialog, m_gridColumnWidths, m_gridManager, m_insidePanel, m_panelDataDef, m_panelIdxInDialog, m_queryDefPostStatement, m_selectorsTransferHandler, m_storing
listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW
Constructor and Description |
---|
DataAccessPanel() |
Modifier and Type | Method and Description |
---|---|
protected boolean |
accessIsAllowed() |
org.joty.common.BasicPostStatement |
accessMethodPostStatement(java.lang.String method,
java.lang.Integer returnedValuePos,
java.lang.Integer returnedValuesQty) |
java.awt.Component |
add(java.awt.Component comp) |
void |
addIntegerKeyElem(java.lang.String fieldName) |
void |
addIntegerKeyElem(java.lang.String fieldName,
boolean isTheIdField) |
org.joty.data.WrappedField |
addKeyElem(java.lang.String fieldName,
int dataType,
boolean contextIdentifying,
org.joty.data.WrappedField defaultVal) |
void |
addOutParam(org.joty.common.BasicPostStatement postStatement,
java.lang.String name,
int type) |
protected void |
addStrKeyElem(java.lang.String fieldName,
java.lang.String defaultVal,
boolean isTheIdField) |
void |
askToLoad() |
protected boolean |
basicallyEditable() |
void |
beginEditing() |
protected boolean |
buildAndExecDeletion(java.lang.String whereSection) |
protected java.lang.String |
buildTabsRelatingStrKey() |
void |
checkAndSetLook() |
protected void |
checkControllerInit(WResultSet rs) |
protected boolean |
checkEditing() |
protected void |
checkForControllerInitialization() |
protected boolean |
checkForIdentifyingId() |
protected void |
checkForPublishing() |
protected void |
checkForTermsNewlyGeneratedValues() |
boolean |
checkHasDone() |
void |
checkPublishers() |
protected boolean |
clientValidation() |
void |
costraintViolationMsgOnDelete() |
void |
costraintViolationMsgOnUpdate() |
protected boolean |
creationTrigger() |
protected org.joty.data.WrappedField |
defaultStrValWField(java.lang.String defaultVal) |
void |
defineGrid()
To be overridden in oder to add contribution to the composition of the
grid.
|
void |
defRelationElement(java.lang.String fieldName,
java.lang.String relatedFieldName) |
void |
defRelationElement(java.lang.String fieldName,
java.lang.String relatedFieldName,
boolean fromCallContext) |
void |
defRelationElement(java.lang.String fieldName,
java.lang.String relatedFieldName,
boolean fromCallContext,
java.lang.String relatedDialogClass) |
void |
deletionEffects() |
protected boolean |
dialogGridManagerExists() |
void |
doActivation() |
protected boolean |
documentIdentified() |
boolean |
doDeletion() |
boolean |
doDeletion(boolean wideAction) |
protected void |
doNew() |
protected boolean |
doneWithData() |
protected void |
doReloadBecauseOfPublishing() |
protected boolean |
doUpdate(boolean isNewRecord,
WResultSet rs,
boolean localValidation,
boolean andCloseRS) |
protected boolean |
edit() |
void |
enableComponents(boolean editing) |
protected void |
enableRole(java.lang.String roleName,
DataAccessPanel.Permission permission) |
void |
endEditing(boolean justSaved) |
java.lang.String |
enrollThisDialog(java.lang.String publisherDialogName) |
long |
entityID() |
java.lang.String |
entityIdExpr(boolean usedInTransaction) |
protected boolean |
entityIdValuePending() |
boolean |
existController() |
void |
filterInit(org.joty.data.WrappedField keyWField) |
protected boolean |
getAutoIncrementByAddNew() |
GridManager |
getGridManager() |
long |
getID(WResultSet rs) |
protected boolean |
getIdFieldAutoIncrement() |
boolean |
getMaxPermission() |
java.lang.String |
getWhereClause() |
protected void |
gridManagerGuide() |
void |
guiDataExch(boolean store) |
java.lang.String |
idGenenerationFilter() |
boolean |
init() |
long |
integerKeyElemVal(java.lang.String fieldName) |
boolean |
invokeAccessMethod(org.joty.common.BasicPostStatement postStatement) |
protected boolean |
isControllerMaster() |
boolean |
isModifyOnly() |
boolean |
isReadOnly() |
protected boolean |
keysRefsOnDialogAreTobeSet() |
boolean |
loadData() |
protected void |
loadGrid() |
void |
lookForDataStructure(WResultSet rs) |
void |
lookForIdFieldTermIndex() |
protected boolean |
lookForModificationNeeded() |
protected java.lang.String |
mainFilter() |
protected void |
manageController() |
boolean |
needSaving() |
void |
nextRecord() |
protected void |
nonManagedRollback()
Must contain statements rolling back the effects of those statements not manageable by the transaction system
|
void |
notifyPublishing(java.lang.String publisherDialogClassName) |
protected void |
onDataLoaded() |
void |
openDetail(TableTerm term,
TermContainerPanel.BuildDetailsDialogAdapter buildDetailsHandler)
Invokes the
BuildDetailsDialogAdapter.createDialog method of the
available implementation. |
DataAccessPanel.Permission |
permission() |
protected void |
postInit() |
void |
previousRecord() |
void |
publishThisDialog() |
void |
refresh() |
protected void |
relatedEnable(boolean generalEnabling) |
java.lang.String |
relatedField(java.lang.String relatingField) |
java.lang.String |
relatingField(java.lang.String relatedField) |
protected void |
reLoadData() |
void |
reloadGrid() |
void |
resetUpdateActorsState() |
void |
saveEffects(boolean leaveEditingOn) |
void |
setAsPublisher() |
protected void |
setAutoIncrementByAddNew(boolean truth) |
protected void |
setContextParams() |
protected void |
setControllerOnKey(long keyVal) |
void |
setDefinitions(java.lang.String querySet,
java.lang.String updatableSet,
DataAccessDialog paramDialog) |
protected void |
setDelayed(org.joty.data.WrappedField wfield,
boolean predicate) |
void |
setEditable(java.lang.String gui_name) |
protected void |
setId(WResultSet rs) |
void |
setIdFieldAutoIncrement(boolean truth) |
void |
setIntegerKeyElemVal(java.lang.String fieldName,
long Val) |
void |
setMandatory(java.lang.String gui_name) |
void |
setModifyOnly(boolean modifyOnly) |
protected void |
setNotBoundFields(WResultSet rs) |
void |
setNotEditable(java.lang.String gui_name) |
void |
setReadOnly(boolean readOnly) |
void |
setReadOnly(java.lang.String gui_name) |
protected void |
setRelatedFields(WResultSet rs) |
protected void |
setReloadNeeded() |
void |
setStrKeyElemVal(java.lang.String fieldName,
java.lang.String Val) |
protected void |
setTermAsReturnedValue(Term term) |
protected void |
setTermNotAsReturnedValue(org.joty.data.WrappedField wfield) |
protected void |
setTermsDefaults() |
protected void |
setTermsOnContext() |
protected void |
setValidationExpr(java.lang.String expr) |
protected void |
setWFieldAsReturnedValue(org.joty.data.WrappedField wfield) |
protected void |
statusChangeProc() |
protected boolean |
storeData() |
protected boolean |
storeGridTermData() |
protected boolean |
storeWFieldsData(WResultSet rs) |
java.lang.String |
strKeyElemVal(java.lang.String fieldName) |
void |
subscribe(java.lang.String publisherDialogName) |
protected boolean |
termExchangable(Term term) |
protected boolean |
updatableFieldsHaveDescriptorsAvailable() |
void |
updateCommandButtons(boolean idle) |
protected void |
updateController() |
protected void |
updateRecordOnController() |
protected void |
updateVisibilityBasingOnData() |
protected boolean |
validation() |
acquireSelectedValueFrom, actionPerformed, addField, addFieldToGrid, addKeyElem, addKeyElemToGrid, addKeyElemToGrid, addStrKeyElem, addTerm, addTermAsReportParameter, addTermToGrid, addTermToGrid, addToGridRowDescriptor, blobTerm, bufferedComboTerm, callContext, checkComponentsRendering, checkTerm, chkListTerm, cleanDescr, clearAppReferences, comboTerm, componentsKillFocus, contextParameter, contextParamLong, createBlobTerm, createBufferedComboTerm, createCheckListTerm, createCheckTerm, createComboTerm, createImageTerm, createListTerm, createMasterRadioTerm, createRadioTerm, createTableTerm, createTextAreaTerm, createTextTerm, dbFieldHosted, deleteDblclkedRowFromList, dialogClassName, doGuiDataExch, enabledAsDetail, getEnablingContextTruth, getSelectedValue, getSource, getTargetPanel, getWField, gridCellDescriptor, gridCellDescriptor, gridTerm, GridTerm, idFieldIsHostedByTerm, imageTerm, implementDependency, isListeningForActions, keyElem, keyElem, listTerm, notifyEditingAction, notifyJotyDesignError, notifyJotyDesignError, radioMasterTerm, radioTerm, resetDirtyStatus, restorePanelActionListening, setAsInsidePanel, setContextParam, setContextParam, setContextParam, setDescr, setDescr, setPanelActionListeningOff, setRadioAsActor, setRemainEnabled, setTargetPanel, setTermAsDriverOf, synchroCombo, tableTerm, term, termBuffer, textTerm, updateDrivenBuffers, validateComponents
appLang, contextKeyElem, createContextPostStatement, createContextPostStatement, createContextPostStatement, createQueryDefPostStatement, createQueryDefPostStatement, doClickOnDefaultButton, getDialog, getKeyDataFromRow, getKeyDataFromRow, getSelectorsTransferHandler, guiDataExch, increaseRect, injectedDialog, isAnInsidePanel, jotyLang, openModeStr, setAsInsidePanel, setSelectorsTransferHandler
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI
addAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBaseline, getBaselineResizeBehavior, getBorder, getBounds, getClientProperty, getComponentGraphics, getComponentPopupMenu, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getFontMetrics, getGraphics, getHeight, getInheritsPopupMenu, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPopupLocation, getPreferredSize, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, hide, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingOrigin, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, paintComponent, paintImmediately, paintImmediately, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setEnabled, setFocusTraversalKeys, setFont, setForeground, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update
add, add, add, add, addContainerListener, addImpl, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, getMousePosition, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setLayout, transferFocusDownCycle, validate, validateTree
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, createImage, createImage, createVolatileImage, createVolatileImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setName, setSize, setSize, show, show, size, toString, transferFocus, transferFocusBackward, transferFocusUpCycle
public boolean m_operative
public boolean m_growing
public boolean m_isNewRec
public boolean m_isNewRecOnIdle
public boolean m_cascadeUpdate
public boolean m_isInTabbedPanel
public java.lang.String m_contextFilter
public java.util.Vector<java.lang.String> m_relationElems
public java.lang.String m_mainDataTable
public java.lang.String m_definedQuery
public java.lang.String m_finalQuery
public java.lang.String m_sortExpr
public boolean m_dataMaster
public boolean m_isUnDeletable
public java.util.Vector<org.joty.data.WrappedField> m_keyElemDefaults
public boolean m_askedToLoad
public boolean m_preIdGeneration
public boolean m_blobManaging
public java.lang.String m_seq_name
public DataAccessPanel.Permission m_permission
protected boolean m_controllerUpdateRequested
protected boolean m_preFiltered
public long m_identifyingID
protected TermContainerPanel.BuildDetailsDialogAdapter m_buildDetailsHandler
public java.util.Vector<JotyDialog> m_dependentDialogs
public org.joty.common.Utilities.Stocker m_smallBlobs
public boolean m_clearing
protected java.util.Vector<DataAccessPanel.ButtonDescriptor> m_buttons
protected DataAccessPanel.ButtonBehavior m_currentButtonBehavior
protected boolean m_mainlyDbFree
protected boolean m_localAccessor
protected boolean m_loadingData
protected org.joty.data.BasicJotyCursor m_descriptorOnLoad
protected org.joty.app.Common m_common
protected boolean accessIsAllowed()
public org.joty.common.BasicPostStatement accessMethodPostStatement(java.lang.String method, java.lang.Integer returnedValuePos, java.lang.Integer returnedValuesQty)
public void addIntegerKeyElem(java.lang.String fieldName)
addIntegerKeyElem
in class TermContainerPanel
public void addIntegerKeyElem(java.lang.String fieldName, boolean isTheIdField)
public org.joty.data.WrappedField addKeyElem(java.lang.String fieldName, int dataType, boolean contextIdentifying, org.joty.data.WrappedField defaultVal)
public void addOutParam(org.joty.common.BasicPostStatement postStatement, java.lang.String name, int type)
protected void addStrKeyElem(java.lang.String fieldName, java.lang.String defaultVal, boolean isTheIdField)
protected void onDataLoaded()
public void askToLoad()
protected boolean basicallyEditable()
basicallyEditable
in class TermContainerPanel
public void beginEditing()
protected java.lang.String buildTabsRelatingStrKey()
public void checkAndSetLook()
protected void checkControllerInit(WResultSet rs)
protected boolean checkEditing()
protected void checkForControllerInitialization()
protected boolean checkForIdentifyingId()
protected void checkForPublishing()
protected void checkForTermsNewlyGeneratedValues()
public boolean checkHasDone()
public void checkPublishers()
protected boolean clientValidation()
public void costraintViolationMsgOnDelete()
public void costraintViolationMsgOnUpdate()
protected boolean creationTrigger()
protected org.joty.data.WrappedField defaultStrValWField(java.lang.String defaultVal)
public void defineGrid()
The override must include a call to the parent implementation.
public void defRelationElement(java.lang.String fieldName, java.lang.String relatedFieldName)
public void defRelationElement(java.lang.String fieldName, java.lang.String relatedFieldName, boolean fromCallContext)
public void defRelationElement(java.lang.String fieldName, java.lang.String relatedFieldName, boolean fromCallContext, java.lang.String relatedDialogClass)
public void deletionEffects()
protected boolean dialogGridManagerExists()
protected boolean documentIdentified()
public boolean doDeletion()
public boolean doDeletion(boolean wideAction)
protected boolean buildAndExecDeletion(java.lang.String whereSection)
protected void doNew()
protected boolean doneWithData()
protected void doReloadBecauseOfPublishing()
protected boolean doUpdate(boolean isNewRecord, WResultSet rs, boolean localValidation, boolean andCloseRS)
protected void nonManagedRollback()
protected boolean edit()
public void enableComponents(boolean editing)
enableComponents
in class TermContainerPanel
protected void enableRole(java.lang.String roleName, DataAccessPanel.Permission permission)
public void endEditing(boolean justSaved)
public java.lang.String enrollThisDialog(java.lang.String publisherDialogName)
public long entityID()
public java.lang.String entityIdExpr(boolean usedInTransaction)
protected boolean entityIdValuePending()
public boolean existController()
public void filterInit(org.joty.data.WrappedField keyWField)
protected boolean getAutoIncrementByAddNew()
public GridManager getGridManager()
getGridManager
in class TermContainerPanel
public long getID(WResultSet rs) throws org.joty.app.JotyException
org.joty.app.JotyException
protected boolean getIdFieldAutoIncrement()
public boolean getMaxPermission()
public java.lang.String getWhereClause()
protected void gridManagerGuide()
public void guiDataExch(boolean store)
guiDataExch
in class Panel
public java.lang.String idGenenerationFilter()
public boolean init()
init
in class TermContainerPanel
public long integerKeyElemVal(java.lang.String fieldName)
public boolean invokeAccessMethod(org.joty.common.BasicPostStatement postStatement)
protected boolean isControllerMaster()
public boolean isModifyOnly()
public boolean isReadOnly()
protected boolean keysRefsOnDialogAreTobeSet()
keysRefsOnDialogAreTobeSet
in class TermContainerPanel
public boolean loadData()
protected void loadGrid()
public void lookForDataStructure(WResultSet rs)
public void lookForIdFieldTermIndex()
protected boolean lookForModificationNeeded()
protected java.lang.String mainFilter()
protected void manageController()
public boolean needSaving()
public void nextRecord()
public void notifyPublishing(java.lang.String publisherDialogClassName)
public void openDetail(TableTerm term, TermContainerPanel.BuildDetailsDialogAdapter buildDetailsHandler)
BuildDetailsDialogAdapter.createDialog
method of the
available implementation.
If a TableTerm is passed it is given the chance to drive the effect of the BuildDetailsDialogAdapter implementation to be completed with the navigation, by the target dialog, to the data related to its current selection.
term
- the TableTerm objectbuildDetailsHandler
- if null and if term
is null too, an already internally
defined implementation will be usedTableTerm
,
TermContainerPanel.BuildDetailsDialogAdapter
public DataAccessPanel.Permission permission()
protected void postInit()
public void previousRecord()
public void publishThisDialog()
public void refresh()
protected void relatedEnable(boolean generalEnabling)
relatedEnable
in class TermContainerPanel
public java.lang.String relatedField(java.lang.String relatingField)
public java.lang.String relatingField(java.lang.String relatedField)
protected void reLoadData()
public void reloadGrid()
public void resetUpdateActorsState()
public void saveEffects(boolean leaveEditingOn)
public void setAsPublisher()
protected void setAutoIncrementByAddNew(boolean truth)
protected void setContextParams()
protected void setControllerOnKey(long keyVal)
public void setDefinitions(java.lang.String querySet, java.lang.String updatableSet, DataAccessDialog paramDialog)
public void setEditable(java.lang.String gui_name)
protected void setId(WResultSet rs)
public void setIdFieldAutoIncrement(boolean truth)
public void setIntegerKeyElemVal(java.lang.String fieldName, long Val)
public void setMandatory(java.lang.String gui_name)
public void setModifyOnly(boolean modifyOnly)
protected void setNotBoundFields(WResultSet rs)
public void setNotEditable(java.lang.String gui_name)
public void setReadOnly(boolean readOnly)
public void setReadOnly(java.lang.String gui_name)
protected void setRelatedFields(WResultSet rs)
protected void setReloadNeeded()
public void setStrKeyElemVal(java.lang.String fieldName, java.lang.String Val)
protected void setTermAsReturnedValue(Term term)
protected void setTermNotAsReturnedValue(org.joty.data.WrappedField wfield)
protected void setTermsDefaults()
protected void setTermsOnContext()
protected void setValidationExpr(java.lang.String expr)
protected void setWFieldAsReturnedValue(org.joty.data.WrappedField wfield)
protected void setDelayed(org.joty.data.WrappedField wfield, boolean predicate)
protected void statusChangeProc()
statusChangeProc
in class Panel
protected boolean storeData() throws org.joty.app.JotyException
org.joty.app.JotyException
protected boolean storeGridTermData()
protected boolean storeWFieldsData(WResultSet rs)
public java.lang.String strKeyElemVal(java.lang.String fieldName)
public void subscribe(java.lang.String publisherDialogName)
protected boolean termExchangable(Term term)
termExchangable
in class TermContainerPanel
protected boolean updatableFieldsHaveDescriptorsAvailable()
public void updateCommandButtons(boolean idle)
protected void updateController()
protected void updateRecordOnController()
protected void updateVisibilityBasingOnData()
protected boolean validation()
public void doActivation()