e4s.application.sysmodule.editing
Class E4ModuleEditingHandling02
java.lang.Object
e4s.util.E4Object
e4s.html.E4HtmlObject
e4s.servlet.E4ModuleImplementation
e4s.application.sysmodule.editing.E4ModuleEditingHandlingSettings
e4s.application.sysmodule.editing.E4ModuleEditingHandling01
e4s.application.sysmodule.editing.E4ModuleEditingHandling02
public class E4ModuleEditingHandling02
- extends E4ModuleEditingHandling01
Handling of editing elements (part 2/2 - data editing functionality).
- Since:
- JDK 1.4
- See Also:
E4EditingElement,
E4EditingDataDescriptor,
E4ModuleEditingHandling01
| Fields inherited from class e4s.application.sysmodule.editing.E4ModuleEditingHandling01 |
BUTTON_ID_ADD, BUTTON_ID_CANCEL, BUTTON_ID_FIRST, BUTTON_ID_LAST, BUTTON_ID_NEXT, BUTTON_ID_PREV, BUTTON_ID_RELOAD, BUTTON_ID_SAVE, BUTTON_ID_SEARCH, BUTTON_ID_SEARCH_RESET, drawList, drawListFirsttime, drawMainFrames, drawToolbar, FRAMENAME_LIST, FRAMENAME_MAIN, FRAMENAME_TOOLBAR, FRAMENAME_WORK, FRAMESTATE_BIGGER, FRAMESTATE_LEFT, FRAMESTATE_MIDDLE, FRAMESTATE_RIGHT, FRAMESTATE_SMALLER, JS_NAME_CAN_BRANCH, JS_NAME_DO_ACTION, JS_NAME_MAKE_BIG_LEFT, JS_NAME_MAKE_BIG_RIGHT, JS_NAME_RESIZE_FRAMEBORDER, JS_NAME_SWITCH_BUTTONS, JS_NAME_TOOLBAR_ACTION, JS_NAME_TOOLBAR_ENABLEBUTTON, moveFirst, moveLast, moveNext, movePrev, moveReload, moveSpecified, PARAM_GOTO, searchExecute, searchPrepare, searchReset, SESSION_OBJ_SEARCH_FORM, sortColumn |
|
Method Summary |
static java.lang.String |
_getSVNVersionString()
Get version info string from subversion. |
static void |
addCancelButton(BODY body,
java.lang.String obj_id_editing,
E4ServletImplementation_Intf servlet)
|
void |
addRecord(HTML html,
E4CgiParams params)
|
static void |
addScript2Form(FORM form)
|
void |
cancelRecord(HTML html,
E4CgiParams params)
|
void |
cancelRecordUserDefinedMenu(HTML html,
E4CgiParams params)
|
void |
changeSelection(HTML html,
E4CgiParams params)
|
void |
deleteRecord(HTML html,
E4CgiParams params)
|
void |
duplicateRecord(HTML html,
E4CgiParams params)
|
void |
edit(BODY body,
E4CgiParams params,
char mode,
E4ApplObj_Intf applobj)
|
void |
editRecord(HTML html,
E4CgiParams params)
|
void |
editRecordMainPage(HTML html,
E4CgiParams params)
|
static E4DBConnection_Intf |
getConnection()
Get the database connection - transactional or non-transactional if the database
type E4DBConnectionDefault.getDatabaseType() == E4DBConnectionDefault._DB_TYPE_DB2. |
static E4JavaScript |
getJsCancel()
|
static E4JavaScript |
getJsSave()
|
static void |
makeButtonLine(BODY body,
java.lang.String obj_id_editing,
E4ServletImplementation_Intf servlet,
boolean delete)
|
static void |
makeButtonLine(BODY body,
java.lang.String obj_id_editing,
E4ServletImplementation_Intf servlet,
E4Method mrefSave,
E4Method mrefCancel,
boolean delete)
|
void |
saveRecord(HTML html,
E4CgiParams params)
|
java.lang.String |
sessionObjName(E4EditingElement eEditing)
|
void |
userDefStart(HTML html,
E4CgiParams params)
|
| Methods inherited from class e4s.application.sysmodule.editing.E4ModuleEditingHandling01 |
drawList, drawListFirsttime, drawListInternal, drawMainFrames, drawMainFrames, drawToolbar, getEditingElement, getEditingElement, makeBig_Leftside, makeBig_Rightside, moveFirst, moveLast, moveNext, movePrev, moveReload, moveSpecified, searchExecute, searchPrepare, searchReset, setButtonStates_Editing, setButtonStates_Editing, setButtonStates_Editing, setButtonStates_Editing, setButtonStates_Listing, setButtonStates_Listing, setEventHandlerListingReload, sortColumn |
| Methods inherited from class e4s.servlet.E4ModuleImplementation |
canDo, canDo, canRun, closeHtmlOutput, empty2nbsp, empty2nbsp, getApplication_Permissions, getApplication, getApplObj, getClient, getClientImage, getClientObject, getClientObject, getClientObject, getClientValue, getClientValueBool, getClientValueDate, getClientValueFloat, getClientValueInt, getClientValueLong, getCookie, getCookieArr, getCookieBool, getCookieDate, getCookieLong, getCountryCode, getCSS, getDateFormat, getDbConnection, getDecimalSign, getE4ClientLogo, getE4S_Permissions, getLanguage_App, getLanguage_Sys, getLanguage, getParameters, getPersistantParameter, getPersistantParameterBoolean, getPersistantParameterDate, getPersistantParameterInt, getPersistantParameterIntArr, getPersistantParameterLong, getPickParams, getRemoteAddr, getRequiredModulePermission, getServlet, getSession, getSessionId, getSessionObject_Boolean, getSessionObject_Long, getSessionObject_String, getSessionObject, getSessionObject, getSessionObjects, getTimeFormat, getTimeZone, getUrl, getUserEmail, getUserValue, getUserValue, getUserValueArr, getUserValueBool, getUserValueBool, getUserValueDate, getUserValueDate, getUserValueInt, getUserValueInt, getUserValueLong, getUserValueLong, isok, isPersistant, isRunningWindow, isTimeout, ok, openHtmlOutput, removeApplicationObject, removeClientObject, removeClientObject, removeClientObject, removeClientValue, removeSessionObject, removeSessionObject, removeUserValue, removeUserValue, resetClientLogo, setAjaxTrace, setApplication, setApplicationObject, setClientObject, setClientObject, setClientObject, setClientValue, setClientValue, setClientValue, setClientValue, setClientValue, setClientValue, setClientValue, setCookie, setCookie, setCookie, setCookie, setCookie, setCookie, setCookie, setCookie, setPersistantParameter, setPersistantParameter, setPersistantParameter, setPersistantParameter, setPersistantParameter, setPersistantParameter, setServlet, setSessionObject, setSessionObject, setSessionObject, setSessionObject, setUserValue, setUserValue, setUserValue, setUserValue, setUserValue, setUserValue, setUserValue, setUserValue, setUserValue, setUserValue, setUserValue, setUserValue, setUserValue, setUserValue, setUserValue, SystemError, write, write, write, write, write, writeln, writeln, writeln, writeln |
| Methods inherited from class e4s.util.E4Object |
Calendar, CName, CName, E4LabelApp, E4LabelApp, E4LabelApp, E4LabelApp, E4LabelApp, E4LabelApp, E4LabelNone, E4LabelNone, E4LabelNone, E4LabelNone, E4LabelSys, E4LabelSys, e4sCopyright, e4sVersion, encode, encode, encode, encodeHtml, encodeHtml, encodeHtml, encodeURL, encodeURL, encodeURL, finalize, getLINE, getTRACE, getTRACE, getTRACE, getTRACE, getTRACE, getTRACE, getTraceMemory, HtmlEncode, HtmlEncode, HtmlEncode, isdecimal, isdigit, isnotok, isnotok, isnumeric, isok, isok, isok, lastCallingFunction, lastCallingFunction, lastCallingFunction, lastCallingFunction, lastCallingStack, mkdirs, null2nbsp, null2nbsp, null2nbsp, ok, ok, ok, outPrintln, setLogFile4Trace, setTraceMemory, STACKTRACE, toDebug, toDouble, toFloat, toFloat, toString, TRACE_CALLS, TRACE, TRACE, TRACE, TRACE, TRACE, TRACE, TRACE, TRACE, TRACE, TRACE, TRACE, TRACE, wait |
| Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
addRecord
public static E4Method addRecord
editRecord
public static E4Method editRecord
editRecordMainPage
public static E4Method editRecordMainPage
duplicateRecord
public static E4Method duplicateRecord
deleteRecord
public static E4Method deleteRecord
saveRecord
public static E4Method saveRecord
cancelRecord
public static E4Method cancelRecord
cancelRecordUserDefinedMenu
public static E4Method cancelRecordUserDefinedMenu
userDefStart
public static E4Method userDefStart
changeSelection
public static E4Method changeSelection
PARAM_NEXT_ALIAS
public static final java.lang.String PARAM_NEXT_ALIAS
- See Also:
- Constant Field Values
m_menu_style
public static int m_menu_style
FORM_NAME_EDITING
public static final java.lang.String FORM_NAME_EDITING
- Name of the editing form
- See Also:
- Constant Field Values
JS_SCRIPT_SAVE
public static final java.lang.String JS_SCRIPT_SAVE
- Name of the E4JavaScript function for saving sub frame contents.
- See Also:
- Constant Field Values
JS_SCRIPT_CANCEL
public static final java.lang.String JS_SCRIPT_CANCEL
- Name of the E4JavaScript function for closing (cancelling) sub frame contents.
- See Also:
- Constant Field Values
CAN_UPLOAD_FILES
public static final boolean CAN_UPLOAD_FILES
- File upload allowed on
IMAGEFIELD.
- See Also:
- Constant Field Values
E4ModuleEditingHandling02
public E4ModuleEditingHandling02()
addRecord
public void addRecord(HTML html,
E4CgiParams params)
throws java.lang.Exception
- Throws:
java.lang.Exception
editRecord
public void editRecord(HTML html,
E4CgiParams params)
throws java.lang.Exception
- Throws:
java.lang.Exception
editRecordMainPage
public void editRecordMainPage(HTML html,
E4CgiParams params)
throws java.lang.Exception
- Throws:
java.lang.Exception
edit
public void edit(BODY body,
E4CgiParams params,
char mode,
E4ApplObj_Intf applobj)
throws java.lang.Exception
- Throws:
java.lang.Exception
makeButtonLine
public static void makeButtonLine(BODY body,
java.lang.String obj_id_editing,
E4ServletImplementation_Intf servlet,
boolean delete)
makeButtonLine
public static void makeButtonLine(BODY body,
java.lang.String obj_id_editing,
E4ServletImplementation_Intf servlet,
E4Method mrefSave,
E4Method mrefCancel,
boolean delete)
addCancelButton
public static void addCancelButton(BODY body,
java.lang.String obj_id_editing,
E4ServletImplementation_Intf servlet)
addScript2Form
public static void addScript2Form(FORM form)
deleteRecord
public void deleteRecord(HTML html,
E4CgiParams params)
throws java.lang.Exception
- Throws:
java.lang.Exception
duplicateRecord
public void duplicateRecord(HTML html,
E4CgiParams params)
throws java.lang.Exception
- Throws:
java.lang.Exception
saveRecord
public void saveRecord(HTML html,
E4CgiParams params)
throws java.lang.Exception
- Throws:
java.lang.Exception
changeSelection
public void changeSelection(HTML html,
E4CgiParams params)
throws java.lang.Exception
- Throws:
java.lang.Exception
cancelRecordUserDefinedMenu
public void cancelRecordUserDefinedMenu(HTML html,
E4CgiParams params)
throws java.lang.Exception
- Throws:
java.lang.Exception
cancelRecord
public void cancelRecord(HTML html,
E4CgiParams params)
throws java.lang.Exception
- Throws:
java.lang.Exception
getJsSave
public static E4JavaScript getJsSave()
getJsCancel
public static E4JavaScript getJsCancel()
sessionObjName
public java.lang.String sessionObjName(E4EditingElement eEditing)
userDefStart
public void userDefStart(HTML html,
E4CgiParams params)
throws java.lang.Exception
- Throws:
java.lang.Exception
getConnection
public static E4DBConnection_Intf getConnection()
throws E4DBException
- Get the database connection - transactional or non-transactional if the database
type
E4DBConnectionDefault.getDatabaseType() == E4DBConnectionDefault._DB_TYPE_DB2.
- Returns:
- the database type
- Throws:
E4DBException- See Also:
E4DBSettings.getDatabaseType(),
E4DBConnectionDefault.getDatabaseType()
_getSVNVersionString
public static java.lang.String _getSVNVersionString()
- Get version info string from subversion.
- Returns:
- the version info string.
- See Also:
E4Util.getRevisionCodeFromSVN(Class)