www.element4solution.com

e4s.application.appmodule
Class E4ModuleEditProperties

java.lang.Object
  extended by e4s.util.E4Object
      extended by e4s.html.E4HtmlObject
          extended by e4s.servlet.E4ModuleImplementation
              extended by e4s.application.appmodule.E4ModuleEditProperties

public class E4ModuleEditProperties
extends E4ModuleImplementation

Edit the system properties. System properties are treatened in this way: You must include the following lines to your web.xml file: <init-param> <param-name>E4S.PROPERTIES</param-name> <param-value>e4s.ini</param-value> </init-param> This specifies the property file, which is used by several modules which make use of E4Settings or an inherited class. This module handles the editing of those values. A property has a unique name (ID) and a value. A value is typically a String, but it can contain other ID's recursivley, e.g. DIRECTORY = %BASEDIR%/myDir/ which looks for an ID BASEDIR and expands it.

Since:
JDK 1.4
See Also:
E4Settings

Field Summary
static E4Method addProperty
           
static E4Method deleteProperty
           
static E4Method editOneProperty
           
static E4Method editProperties
           
static java.lang.String PARAM_EDIT_FILTER
           
static E4Method saveValue
           
 
Fields inherited from class e4s.html.E4HtmlObject
m_parent_e4sID
 
Fields inherited from class e4s.util.E4Object
CRLF, E4S_CORE_SYSTEM_LANGUAGE, NBSP, NULLSTR, URL_ENCODING_CHARSET
 
Constructor Summary
E4ModuleEditProperties()
           
 
Method Summary
static java.lang.String _getSVNVersionString()
           
 void addProperty(HTML html, E4CgiParams params)
           
 void deleteProperty(HTML html, E4CgiParams params)
           
 void editOneProperty(HTML html, E4CgiParams params)
           
 void editProperties(HTML html, E4CgiParams params)
           
 void saveValue(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.html.E4HtmlObject
E4ID, E4ID, set_e4sID
 
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
 

Field Detail

editProperties

public static E4Method editProperties

editOneProperty

public static E4Method editOneProperty

addProperty

public static E4Method addProperty

saveValue

public static E4Method saveValue

deleteProperty

public static E4Method deleteProperty

PARAM_EDIT_FILTER

public static final java.lang.String PARAM_EDIT_FILTER
See Also:
Constant Field Values
Constructor Detail

E4ModuleEditProperties

public E4ModuleEditProperties()
Method Detail

editProperties

public void editProperties(HTML html,
                           E4CgiParams params)

editOneProperty

public void editOneProperty(HTML html,
                            E4CgiParams params)
                     throws java.lang.Exception
Throws:
java.lang.Exception

deleteProperty

public void deleteProperty(HTML html,
                           E4CgiParams params)
                    throws java.lang.Exception
Throws:
java.lang.Exception

addProperty

public void addProperty(HTML html,
                        E4CgiParams params)
                 throws java.lang.Exception
Throws:
java.lang.Exception

saveValue

public void saveValue(HTML html,
                      E4CgiParams params)
               throws java.lang.Exception
Throws:
java.lang.Exception

_getSVNVersionString

public static java.lang.String _getSVNVersionString()

www.element4solution.com