public class DefaultScriptInteractionManager extends Object implements IFormInteractionScriptManager
| Modifier and Type | Field and Description |
|---|---|
protected List |
cacheListeners |
protected Bindings |
engineScope |
protected BasicInteractionManager |
interactionManager |
protected boolean |
isCheckDeleteScript |
protected boolean |
isCheckInsertScript |
protected boolean |
isCheckQueryScript |
protected boolean |
isCheckUpdateScript |
protected boolean |
isInsertModeScript |
protected boolean |
isQueryInsertModeScript |
protected boolean |
isQueryModeScript |
protected boolean |
isUpdateModeScript |
protected Form |
managedForm |
protected ScriptContext |
scriptContext |
protected List<ScriptAction> |
scriptList |
| Constructor and Description |
|---|
DefaultScriptInteractionManager(Form managedForm,
BasicInteractionManager im) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
checkActionScript(List scripts) |
Boolean |
checkDelete() |
Boolean |
checkInsert() |
Boolean |
checkQuery() |
Boolean |
checkUpdate() |
void |
executeScripts(List scripts) |
AbstractButton |
getAbstractButton(String key) |
String |
getComponentKey(Object component) |
protected Bindings |
getScriptBindings() |
List<Script> |
getScripts(String action,
String componentKey) |
boolean |
isCheckDeleteScript() |
boolean |
isCheckInsertScript() |
boolean |
isCheckQueryScript() |
boolean |
isCheckUpdateScript() |
boolean |
isInsertModeScript() |
boolean |
isQueryInsertModeScript() |
boolean |
isQueryModeScript() |
boolean |
isUpdateModeScript() |
void |
registerListeners(Form f) |
boolean |
setInsertMode() |
boolean |
setQueryInsertMode() |
boolean |
setQueryMode() |
boolean |
setUpdateMode() |
protected List<ScriptAction> scriptList
protected ScriptContext scriptContext
protected Bindings engineScope
protected BasicInteractionManager interactionManager
protected Form managedForm
protected List cacheListeners
protected boolean isCheckQueryScript
protected boolean isCheckDeleteScript
protected boolean isCheckInsertScript
protected boolean isCheckUpdateScript
protected boolean isQueryModeScript
protected boolean isInsertModeScript
protected boolean isUpdateModeScript
protected boolean isQueryInsertModeScript
public DefaultScriptInteractionManager(Form managedForm, BasicInteractionManager im)
public boolean isCheckQueryScript()
isCheckQueryScript in interface IFormInteractionScriptManagerpublic Boolean checkQuery()
checkQuery in interface IFormInteractionScriptManagerpublic boolean isCheckDeleteScript()
isCheckDeleteScript in interface IFormInteractionScriptManagerpublic Boolean checkDelete()
checkDelete in interface IFormInteractionScriptManagerpublic boolean isCheckInsertScript()
isCheckInsertScript in interface IFormInteractionScriptManagerpublic Boolean checkInsert()
checkInsert in interface IFormInteractionScriptManagerpublic boolean isCheckUpdateScript()
isCheckUpdateScript in interface IFormInteractionScriptManagerpublic Boolean checkUpdate()
checkUpdate in interface IFormInteractionScriptManagerpublic boolean isQueryModeScript()
isQueryModeScript in interface IFormInteractionScriptManagerpublic boolean setQueryMode()
setQueryMode in interface IFormInteractionScriptManagerpublic boolean isInsertModeScript()
isInsertModeScript in interface IFormInteractionScriptManagerpublic boolean setInsertMode()
setInsertMode in interface IFormInteractionScriptManagerpublic boolean isUpdateModeScript()
isUpdateModeScript in interface IFormInteractionScriptManagerpublic boolean setUpdateMode()
setUpdateMode in interface IFormInteractionScriptManagerpublic boolean isQueryInsertModeScript()
isQueryInsertModeScript in interface IFormInteractionScriptManagerpublic boolean setQueryInsertMode()
setQueryInsertMode in interface IFormInteractionScriptManagerpublic boolean checkActionScript(List scripts)
checkActionScript in interface IFormInteractionScriptManagerpublic void executeScripts(List scripts) throws Exception
executeScripts in interface IFormInteractionScriptManagerExceptionpublic List<Script> getScripts(String action, String componentKey)
getScripts in interface IFormInteractionScriptManagerpublic AbstractButton getAbstractButton(String key)
protected Bindings getScriptBindings()
public void registerListeners(Form f)
registerListeners in interface IFormInteractionScriptManagerCopyright © 2016 Imatia Innovation S.L.. All rights reserved.