e4s.application.sysmodule.editing
Class E4ModuleEditingHandling01
java.lang.Object
e4s.util.E4Object
e4s.html.E4HtmlObject
e4s.servlet.E4ModuleImplementation
e4s.application.sysmodule.editing.E4ModuleEditingHandlingSettings
e4s.application.sysmodule.editing.E4ModuleEditingHandling01
- Direct Known Subclasses:
- E4ModuleEditingHandling01Ajax, E4ModuleEditingHandling02
public class E4ModuleEditingHandling01
- extends E4ModuleEditingHandlingSettings
Handling of editing elements (part 1/2 - listing functionality).
- Since:
- JDK 1.4
- See Also:
E4EditingElement,
E4EditingDataDescriptor,
E4ModuleEditingHandling02
|
Method Summary |
static java.lang.String |
_getSVNVersionString()
Get version info string from subversion. |
void |
drawList(HTML html,
E4CgiParams params)
|
void |
drawListFirsttime(HTML html,
E4CgiParams params)
|
static void |
drawListInternal(HTML html,
E4CgiParams params,
boolean can_access_header,
boolean make_big_leftside,
E4ServletImplementation_Intf servlet)
|
void |
drawMainFrames(HTML html,
E4CgiParams params)
|
protected void |
drawMainFrames(HTML html,
E4CgiParams params,
E4Method mref_action)
|
void |
drawToolbar(HTML html,
E4CgiParams params)
|
protected E4EditingElement |
getEditingElement(E4CgiParams params)
|
protected static E4EditingElement |
getEditingElement(E4CgiParams params,
E4ServletImplementation_Intf servlet)
|
protected static void |
makeBig_Leftside(BODY body,
E4EditingElement eElement)
|
protected void |
makeBig_Rightside(BODY body,
E4EditingElement eElement)
|
void |
moveFirst(HTML html,
E4CgiParams params)
|
void |
moveLast(HTML html,
E4CgiParams params)
|
void |
moveNext(HTML html,
E4CgiParams params)
|
void |
movePrev(HTML html,
E4CgiParams params)
|
void |
moveReload(HTML html,
E4CgiParams params)
|
void |
moveSpecified(HTML html,
E4CgiParams params)
|
void |
searchExecute(HTML html,
E4CgiParams params)
|
void |
searchPrepare(HTML html,
E4CgiParams params)
|
void |
searchReset(HTML html,
E4CgiParams params)
|
static void |
setButtonStates_Editing(BODY body,
E4CgiParams params,
E4ServletImplementation_Intf servlet)
Change the button state for editing, this means that all buttons are disabled except
save and cancel which are enabled. |
protected static void |
setButtonStates_Editing(BODY body,
E4EditingElement eElement)
|
protected static void |
setButtonStates_Editing(E4JavaScript js,
E4EditingElement eElement)
|
protected static void |
setButtonStates_Editing(E4JavaScript js,
E4EditingElement eElement,
boolean can_save)
|
protected static E4JavaScript |
setButtonStates_Listing(BODY body,
E4EditingElement eElement)
|
protected static E4JavaScript |
setButtonStates_Listing(java.lang.String prefix,
BODY body,
E4EditingElement eElement)
|
protected static void |
setEventHandlerListingReload(BODY body,
E4EditingElement eElement)
|
void |
sortColumn(HTML html,
E4CgiParams params)
|
| 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 |
drawToolbar
public static E4Method drawToolbar
drawMainFrames
public static E4Method drawMainFrames
drawList
public static E4Method drawList
drawListFirsttime
public static E4Method drawListFirsttime
moveFirst
public static E4Method moveFirst
movePrev
public static E4Method movePrev
moveNext
public static E4Method moveNext
moveLast
public static E4Method moveLast
moveReload
public static E4Method moveReload
moveSpecified
public static E4Method moveSpecified
sortColumn
public static E4Method sortColumn
searchPrepare
public static E4Method searchPrepare
searchReset
public static E4Method searchReset
searchExecute
public static E4Method searchExecute
FRAMENAME_WORK
protected static final E4FrameName FRAMENAME_WORK
FRAMENAME_MAIN
public static final E4FrameName FRAMENAME_MAIN
FRAMENAME_LIST
public static final E4FrameName FRAMENAME_LIST
FRAMENAME_TOOLBAR
public static final E4FrameName FRAMENAME_TOOLBAR
JS_NAME_TOOLBAR_ENABLEBUTTON
protected static final java.lang.String JS_NAME_TOOLBAR_ENABLEBUTTON
- See Also:
- Constant Field Values
JS_NAME_TOOLBAR_ACTION
protected static final java.lang.String JS_NAME_TOOLBAR_ACTION
- See Also:
- Constant Field Values
JS_NAME_RESIZE_FRAMEBORDER
protected static final java.lang.String JS_NAME_RESIZE_FRAMEBORDER
- See Also:
- Constant Field Values
JS_NAME_SWITCH_BUTTONS
protected static final java.lang.String JS_NAME_SWITCH_BUTTONS
- See Also:
- Constant Field Values
JS_NAME_CAN_BRANCH
public static final java.lang.String JS_NAME_CAN_BRANCH
- See Also:
- Constant Field Values
JS_NAME_MAKE_BIG_LEFT
public static final java.lang.String JS_NAME_MAKE_BIG_LEFT
- See Also:
- Constant Field Values
JS_NAME_MAKE_BIG_RIGHT
public static final java.lang.String JS_NAME_MAKE_BIG_RIGHT
- See Also:
- Constant Field Values
SESSION_OBJ_SEARCH_FORM
protected static final java.lang.String SESSION_OBJ_SEARCH_FORM
- See Also:
- Constant Field Values
JS_NAME_DO_ACTION
public static final java.lang.String JS_NAME_DO_ACTION
- Name of the Java-Script method that passes a url to the target working
frame and resizes the frame size to have the working frame a maximal size.
- See Also:
e4s.html.editing.E4EditingDataDescriptor#setE4JavaScript_Action_Forwarding(),
E4EditingDataDescriptor.getE4JavaScript_Action_Forwarding(),
Constant Field Values
FRAMESTATE_SMALLER
public static final int FRAMESTATE_SMALLER
- See Also:
- Constant Field Values
FRAMESTATE_LEFT
public static final int FRAMESTATE_LEFT
- See Also:
- Constant Field Values
FRAMESTATE_MIDDLE
public static final int FRAMESTATE_MIDDLE
- See Also:
- Constant Field Values
FRAMESTATE_RIGHT
public static final int FRAMESTATE_RIGHT
- See Also:
- Constant Field Values
FRAMESTATE_BIGGER
public static final int FRAMESTATE_BIGGER
- See Also:
- Constant Field Values
BUTTON_ID_FIRST
protected static final int BUTTON_ID_FIRST
- See Also:
- Constant Field Values
BUTTON_ID_PREV
protected static final int BUTTON_ID_PREV
- See Also:
- Constant Field Values
BUTTON_ID_NEXT
protected static final int BUTTON_ID_NEXT
- See Also:
- Constant Field Values
BUTTON_ID_LAST
protected static final int BUTTON_ID_LAST
- See Also:
- Constant Field Values
BUTTON_ID_ADD
protected static final int BUTTON_ID_ADD
- See Also:
- Constant Field Values
BUTTON_ID_SAVE
protected static final int BUTTON_ID_SAVE
- See Also:
- Constant Field Values
BUTTON_ID_CANCEL
protected static final int BUTTON_ID_CANCEL
- See Also:
- Constant Field Values
BUTTON_ID_RELOAD
protected static final int BUTTON_ID_RELOAD
- See Also:
- Constant Field Values
BUTTON_ID_SEARCH
protected static final int BUTTON_ID_SEARCH
- See Also:
- Constant Field Values
BUTTON_ID_SEARCH_RESET
protected static final int BUTTON_ID_SEARCH_RESET
- See Also:
- Constant Field Values
PARAM_GOTO
public static final java.lang.String PARAM_GOTO
- See Also:
- Constant Field Values
E4ModuleEditingHandling01
public E4ModuleEditingHandling01()
drawToolbar
public void drawToolbar(HTML html,
E4CgiParams params)
throws java.lang.Exception
- Throws:
java.lang.Exception
drawMainFrames
public void drawMainFrames(HTML html,
E4CgiParams params)
throws java.lang.Exception
- Throws:
java.lang.Exception
drawMainFrames
protected void drawMainFrames(HTML html,
E4CgiParams params,
E4Method mref_action)
throws java.lang.Exception
- Throws:
java.lang.Exception
moveSpecified
public void moveSpecified(HTML html,
E4CgiParams params)
throws java.lang.Exception
- Throws:
java.lang.Exception
moveFirst
public void moveFirst(HTML html,
E4CgiParams params)
throws java.lang.Exception
- Throws:
java.lang.Exception
movePrev
public void movePrev(HTML html,
E4CgiParams params)
throws java.lang.Exception
- Throws:
java.lang.Exception
moveNext
public void moveNext(HTML html,
E4CgiParams params)
throws java.lang.Exception
- Throws:
java.lang.Exception
moveLast
public void moveLast(HTML html,
E4CgiParams params)
throws java.lang.Exception
- Throws:
java.lang.Exception
moveReload
public void moveReload(HTML html,
E4CgiParams params)
throws java.lang.Exception
- Throws:
java.lang.Exception
setEventHandlerListingReload
protected static void setEventHandlerListingReload(BODY body,
E4EditingElement eElement)
throws E4DBException
- Throws:
E4DBException
setButtonStates_Listing
protected static E4JavaScript setButtonStates_Listing(BODY body,
E4EditingElement eElement)
throws E4DBException
- Throws:
E4DBException
setButtonStates_Listing
protected static E4JavaScript setButtonStates_Listing(java.lang.String prefix,
BODY body,
E4EditingElement eElement)
throws E4DBException
- Throws:
E4DBException
setButtonStates_Editing
public static void setButtonStates_Editing(BODY body,
E4CgiParams params,
E4ServletImplementation_Intf servlet)
throws java.lang.Exception
- Change the button state for editing, this means that all buttons are disabled except
save and cancel which are enabled.
- Parameters:
body - the current BODY elementparams - the handled E4CgiParams
- Throws:
java.lang.Exception
setButtonStates_Editing
protected static void setButtonStates_Editing(E4JavaScript js,
E4EditingElement eElement)
setButtonStates_Editing
protected static void setButtonStates_Editing(E4JavaScript js,
E4EditingElement eElement,
boolean can_save)
setButtonStates_Editing
protected static void setButtonStates_Editing(BODY body,
E4EditingElement eElement)
drawListFirsttime
public void drawListFirsttime(HTML html,
E4CgiParams params)
throws java.lang.Exception
- Throws:
java.lang.Exception
drawList
public void drawList(HTML html,
E4CgiParams params)
throws java.lang.Exception
- Throws:
java.lang.Exception
drawListInternal
public static void drawListInternal(HTML html,
E4CgiParams params,
boolean can_access_header,
boolean make_big_leftside,
E4ServletImplementation_Intf servlet)
throws java.lang.Exception
- Throws:
java.lang.Exception
sortColumn
public void sortColumn(HTML html,
E4CgiParams params)
throws java.lang.Exception
- Throws:
java.lang.Exception
searchPrepare
public void searchPrepare(HTML html,
E4CgiParams params)
throws java.lang.Exception
- Throws:
java.lang.Exception
searchExecute
public void searchExecute(HTML html,
E4CgiParams params)
throws java.lang.Exception
- Throws:
java.lang.Exception
searchReset
public void searchReset(HTML html,
E4CgiParams params)
throws java.lang.Exception
- Throws:
java.lang.Exception
makeBig_Leftside
protected static void makeBig_Leftside(BODY body,
E4EditingElement eElement)
makeBig_Rightside
protected void makeBig_Rightside(BODY body,
E4EditingElement eElement)
getEditingElement
protected E4EditingElement getEditingElement(E4CgiParams params)
throws java.lang.Exception
- Throws:
java.lang.Exception
getEditingElement
protected static E4EditingElement getEditingElement(E4CgiParams params,
E4ServletImplementation_Intf servlet)
throws java.lang.Exception
- Throws:
java.lang.Exception
_getSVNVersionString
public static java.lang.String _getSVNVersionString()
- Get version info string from subversion.
- Returns:
- the version info string.
- See Also:
E4Util.getRevisionCodeFromSVN(Class)