|
www.element4solution.com | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objecte4s.util.E4Object
e4s.html.E4HtmlObject
e4s.servlet.E4ModuleImplementation
public abstract class E4ModuleImplementation
Basic class for inheritance of application modules. Each module, used in an application, shell
be inheritated from this class, and it also needs to be registered by E4MethodRegistry
E4ModuleImplementationApplication| Field Summary |
|---|
| 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 | |
|---|---|
E4ModuleImplementation()
The default constructor, no permission check and no persistance. |
|
E4ModuleImplementation(boolean persistant)
The whole module can be session persistant, this means that all member variables as the whole module will be stored in a session object until the session terminates (by logout or by timeout). |
|
E4ModuleImplementation(boolean persistant,
E4Permission permission)
This constructor handles the required permission to the base class of your application module. |
|
E4ModuleImplementation(E4Permission permission)
This constructor handles the required permission to the base class of your application module. |
|
| Method Summary | |
|---|---|
static java.lang.String |
_getSVNVersionString()
Get version info string from subversion. |
protected boolean |
canDo(E4Permission_Intf permission)
Check, if the current logged in user ( E4ApplObj_Intf) is allowed
to use, read, modify or execute the functionality associated with the specified permission. |
protected boolean |
canDo(E4Permission_Intf permission,
boolean throw_exception)
Check, if the current logged in user ( E4ApplObj_Intf) is allowed
to use, read, modify or execute the functionality associated with the specified permission. |
boolean |
canRun()
If a module permission is defined ( getRequiredModulePermission()), check this permission against the
permissions assigned to the current user. |
protected java.lang.String |
closeHtmlOutput()
|
static java.lang.String |
empty2nbsp(E4String s)
Test a String, if it is null or blank (except blanks) then return a value of "&npsp;" or otherwise the String itself. |
static java.lang.String |
empty2nbsp(java.lang.String s)
Test a String, if it is null or blank (except blanks) then return a value of "&npsp;" or otherwise the String itself. |
static E4Permission[] |
getApplication_Permissions()
Get an array of permissions that are defined on application level. |
static java.lang.String |
getApplication()
Get the application identifier. |
E4ApplObj_Intf |
getApplObj()
Get the application object. |
protected E4Client |
getClient()
Get the current E4Client. |
IMG |
getClientImage()
Get the client's logo. |
protected java.lang.Object |
getClientObject(E4Client client,
java.lang.String id)
Get an object, identified by a specified id, which is common and shared to all instances running the same current client. |
protected java.lang.Object |
getClientObject(java.lang.String id)
Get an object for the current client, identified by a specified id, which is common and shared to all instances running the same current client. |
protected java.lang.Object |
getClientObject(java.lang.String id,
boolean exception_not_found)
Get an object for the current client, identified by a specified id, which is common and shared to all instances running the same current client. |
protected java.lang.String |
getClientValue(java.lang.String id)
Get a value, associated with an client and identified by a key. |
protected boolean |
getClientValueBool(java.lang.String id)
Get a value, associated with an client and identified by a key. |
protected java.util.Date |
getClientValueDate(java.lang.String id)
Get a value, associated with an client and identified by a key. |
protected float |
getClientValueFloat(java.lang.String id)
Get a value, associated with an client and identified by a key. |
protected int |
getClientValueInt(java.lang.String id)
Get a value, associated with an client and identified by a key. |
protected long |
getClientValueLong(java.lang.String id)
Get a value, associated with an client and identified by a key. |
protected java.lang.String |
getCookie(java.lang.String name)
Read a value from a cookie by the specified cookie name. |
protected java.lang.String[] |
getCookieArr(java.lang.String name)
Get an array of values in a cookie. |
protected boolean |
getCookieBool(java.lang.String name)
Read a value from a cookie by the specified cookie name. |
protected java.util.Date |
getCookieDate(java.lang.String name)
Read a value from a cookie by the specified cookie name. |
protected long |
getCookieLong(java.lang.String name)
Read a value from a cookie by the specified cookie name. |
protected CountryCode |
getCountryCode()
Get the country-code which depends on the client. |
protected E4CssFile[] |
getCSS()
Get the default E4CSS (cascading style sheet) associated with this session. |
protected java.text.SimpleDateFormat |
getDateFormat()
Get the user's date format. |
protected E4DBConnection_Intf |
getDbConnection()
Get the default database connection. |
protected E4DecimalSign |
getDecimalSign()
Get the decimal sign, as to be used for float representation. |
E4ClientLogo |
getE4ClientLogo()
Get the client's logo. |
static E4Permission[] |
getE4S_Permissions()
Get an array of permissions that are defined on E4S system level. |
static Language |
getLanguage_App()
This is the application language which might be different from the system language ( getLanguage_Sys())
where Strings (e.g. labels) in the application environment are written in the programm-code. |
static Language |
getLanguage_Sys()
This is the system language where Strings (e.g. labels) in the e4s environment are written in the programm-code. |
Language |
getLanguage()
Get the user's language. |
protected E4CgiParams |
getParameters()
Collect the HTML (CGI) Parameters. |
protected java.lang.String |
getPersistantParameter(java.lang.String paramname)
Get a user dependent parameter from the user value settings. |
protected boolean |
getPersistantParameterBoolean(java.lang.String paramname)
Get a user dependent parameter from the user value settings. |
protected java.util.Date |
getPersistantParameterDate(java.lang.String paramname)
Get a user dependent parameter from the user value settings. |
protected int |
getPersistantParameterInt(java.lang.String paramname)
Get a user dependent parameter from the user value settings. |
protected int[] |
getPersistantParameterIntArr(java.lang.String paramname)
Get a user dependent parameter from the user value settings. |
protected long |
getPersistantParameterLong(java.lang.String paramname)
Get a user dependent parameter from the user value settings. |
protected E4MethodPickup.PickParams |
getPickParams()
Get parameters for a pickup. |
protected java.lang.String |
getRemoteAddr()
Returns the Internet Protocol (IP) address of the client or last proxy that sent the request. |
E4Permission |
getRequiredModulePermission()
Get the module's permission. |
E4ServletImplementation_Intf |
getServlet()
Get the servlet associated and currently running this module. |
protected HttpSession |
getSession()
Get the servlet server's session |
protected java.lang.String |
getSessionId()
Get the servlet server's session identification |
protected boolean |
getSessionObject_Boolean(java.lang.String obj_id)
Get a session object as boolean for the current user session. |
protected long |
getSessionObject_Long(java.lang.String obj_id)
Get a session object as long for the current user session. |
protected java.lang.String |
getSessionObject_String(java.lang.String obj_id)
Get a session object as String for the current user session. |
protected java.lang.Object |
getSessionObject(java.lang.String obj_id)
Get a session object for the current user session. |
protected java.lang.Object |
getSessionObject(java.lang.String obj_id,
boolean except_not_avail)
Get a session object for the current user session but throw an exception when not available. |
protected java.util.Hashtable |
getSessionObjects()
Get a Hashtable containing all session objects. |
protected java.text.SimpleDateFormat |
getTimeFormat()
Get the user's time format. |
protected TimeZone |
getTimeZone()
Get the user's time zone. |
java.lang.String |
getUrl()
Get the URL of the servlet itself. |
protected java.lang.String |
getUserEmail()
Find a user's email address associated by the user. |
protected java.lang.String |
getUserValue(E4InputFieldName_Intf id)
Get a value, associated with the current running user and identified by a key. |
protected java.lang.String |
getUserValue(java.lang.String id)
Get a value, associated with the current running user and identified by a key. |
java.lang.String[] |
getUserValueArr(java.lang.String id)
Get an array of user values. |
protected boolean |
getUserValueBool(E4InputFieldName_Intf id)
Get a value, associated with the current running user and identified by a key. |
protected boolean |
getUserValueBool(java.lang.String id)
Get a value, associated with the current running user and identified by a key. |
protected java.util.Date |
getUserValueDate(E4InputFieldName_Intf id)
Get a value, associated with the current running user and identified by a key. |
protected java.util.Date |
getUserValueDate(java.lang.String id)
Get a value, associated with the current running user and identified by a key. |
protected int |
getUserValueInt(E4InputFieldName_Intf id)
Get a value, associated with the current running user and identified by a key. |
protected int |
getUserValueInt(java.lang.String id)
Get a value, associated with the current running user and identified by a key. |
protected long |
getUserValueLong(E4InputFieldName_Intf id)
Get a value, associated with the current running user and identified by a key. |
protected long |
getUserValueLong(java.lang.String id)
Get a value, associated with the current running user and identified by a key. |
static boolean |
isok(java.lang.String s)
Test, if this String is not null and if it contains some value, except blanks. |
protected boolean |
isPersistant()
Determine, weather this module was declared persistant or not |
protected boolean |
isRunningWindow()
Check, if the current context is running within a window. |
protected boolean |
isTimeout(HTML html)
Check, if there is a timeout (application object is not available), and if so, add a BODY tag to the HTML element containing an event handler redirecting to e4s.application.appmodule.E4ModuleLogin#sessionTimeout. |
static java.lang.String |
ok(java.lang.String s)
Change null to empty string. |
protected void |
openHtmlOutput()
|
protected void |
removeApplicationObject()
Remove the application object. |
protected void |
removeClientObject(E4ClientObject_Intf obj)
|
protected void |
removeClientObject(E4Client client,
java.lang.String id)
Remove an object for the specified client, identified by a specified id, which is common and shared to all instances running the same current client. be careful, as removing the object might cause other instances to fail. |
protected void |
removeClientObject(java.lang.String id)
Remove an object for the current client, identified by a specified id, which is common and shared to all instances running the same current client. be careful, as removing the object might cause other instances to fail. |
protected void |
removeClientValue(java.lang.String id)
Remove a value, associated with an client and identified by a key. |
protected void |
removeSessionObject(E4SessionObject_Intf obj)
|
protected void |
removeSessionObject(java.lang.String obj_id)
Remove a session object for the current user session. |
protected void |
removeUserValue(E4InputFieldName_Intf id)
Remove a value, associated with the current running user and identified by a key. |
protected void |
removeUserValue(java.lang.String id)
Remove a value, associated with the current running user and identified by a key. |
protected void |
resetClientLogo()
|
void |
setAjaxTrace(boolean mode)
This function can be used to force ajax output beeing written into a html file which is under the directory E4Client.getRootPathAbsolute() /tmp/ajaxtrace. |
static void |
setApplication(java.lang.String application)
|
protected void |
setApplicationObject(E4ApplObj_Intf applobj)
Set the application object. |
protected void |
setClientObject(E4ClientObject_Intf obj)
Get an object, identified by an internal id, which is common and shared to all instances running the same current client. |
protected void |
setClientObject(E4Client client,
java.lang.String id,
java.lang.Object obj)
Set an object for the specified client, identified by a specified id, which is common and shared to all instances running the same current client. |
protected void |
setClientObject(java.lang.String id,
java.lang.Object obj)
Set an object for the current client, identified by a specified id, which is common and shared to all instances running the same current client. |
protected boolean |
setClientValue(java.lang.String id,
boolean val)
Set a value, associated with an client and identified by a key. |
protected boolean |
setClientValue(java.lang.String id,
java.util.Date val)
Set a value, associated with an client and identified by a key. |
protected boolean |
setClientValue(java.lang.String id,
E4String val)
Set a value, associated with an client and identified by a key. |
protected boolean |
setClientValue(java.lang.String id,
float val)
Set a value, associated with an client and identified by a key. |
protected boolean |
setClientValue(java.lang.String id,
int val)
Set a value, associated with an client and identified by a key. |
protected boolean |
setClientValue(java.lang.String id,
long val)
Set a value, associated with an client and identified by a key. |
protected boolean |
setClientValue(java.lang.String id,
java.lang.String val)
Set a value, associated with an client and identified by a key. |
protected void |
setCookie(java.lang.String name,
boolean val)
Store a value in a cookie. |
protected void |
setCookie(java.lang.String name,
java.util.Date val)
Store a value in a cookie. |
protected void |
setCookie(java.lang.String name,
E4Long val)
Store a value in a cookie. |
protected void |
setCookie(java.lang.String name,
E4String val)
Store a value in a cookie. |
protected void |
setCookie(java.lang.String name,
int val)
Store a value in a cookie. |
protected void |
setCookie(java.lang.String name,
long val)
Store a value in a cookie. |
protected void |
setCookie(java.lang.String name,
java.lang.String val)
Store a value in a cookie. |
protected void |
setCookie(java.lang.String name,
java.lang.String[] val)
Store an array of values in a cookie. |
protected void |
setPersistantParameter(java.lang.String paramname,
boolean paramvalue)
Save a user dependent parameter in the user value settings. |
protected void |
setPersistantParameter(java.lang.String paramname,
java.util.Date paramvalue)
Save a user dependent parameter in the user value settings. |
protected void |
setPersistantParameter(java.lang.String paramname,
int paramvalue)
Save a user dependent parameter in the user value settings. |
protected void |
setPersistantParameter(java.lang.String paramname,
int[] paramvalue)
Save a user dependent parameter in the user value settings. |
protected void |
setPersistantParameter(java.lang.String paramname,
long paramvalue)
Save a user dependent parameter in the user value settings. |
protected void |
setPersistantParameter(java.lang.String paramname,
java.lang.String paramvalue)
Save a user dependent parameter in the user value settings. |
void |
setServlet(E4ServletImplementation_Intf servlet)
Internal use of the e4s only, not recommended to be used in applications. |
protected void |
setSessionObject(E4SessionObject_Intf obj)
Set a session object for the current user session. |
protected void |
setSessionObject(java.lang.String obj_id,
boolean val)
Set a session object for the current user session. |
protected void |
setSessionObject(java.lang.String obj_id,
long val)
Set a session object for the current user session. |
protected void |
setSessionObject(java.lang.String obj_id,
java.lang.Object obj)
Set a session object for the current user session. |
protected void |
setUserValue(E4InputFieldName_Intf id,
boolean val)
Set a value, associated with the current running user and identified by a key. |
protected void |
setUserValue(E4InputFieldName_Intf id,
java.util.Date val)
Set a value, associated with the current running user and identified by a key. |
protected void |
setUserValue(E4InputFieldName_Intf id,
E4Long val)
Set a value, associated with the current running user and identified by a key. |
protected void |
setUserValue(E4InputFieldName_Intf id,
E4String val)
Set a value, associated with the current running user and identified by a key. |
protected void |
setUserValue(E4InputFieldName_Intf id,
int val)
Set a value, associated with the current running user and identified by a key. |
protected void |
setUserValue(E4InputFieldName_Intf id,
long val)
Set a value, associated with the current running user and identified by a key. |
protected void |
setUserValue(E4InputFieldName_Intf id,
java.lang.String val)
Set a value, associated with the current running user and identified by a key. |
protected void |
setUserValue(java.lang.String id,
boolean val)
Set a value, associated with the current running user and identified by a key. |
protected void |
setUserValue(java.lang.String id,
java.util.Date val)
Set a value, associated with the current running user and identified by a key. |
protected void |
setUserValue(java.lang.String id,
E4Long val)
Set a value, associated with the current running user and identified by a key. |
protected void |
setUserValue(java.lang.String id,
E4String val)
Set a value, associated with the current running user and identified by a key. |
protected void |
setUserValue(java.lang.String id,
int val)
Set a value, associated with the current running user and identified by a key. |
protected void |
setUserValue(java.lang.String id,
long val)
Set a value, associated with the current running user and identified by a key. |
protected void |
setUserValue(java.lang.String id,
java.lang.String val)
Set a value, associated with the current running user and identified by a key. |
void |
setUserValue(java.lang.String id,
java.lang.String[] val)
Set a value (array), associated with a user and identified by a key. |
protected void |
SystemError(java.lang.Throwable t)
|
protected void |
write(E4HtmlElement element)
|
protected void |
write(int n)
|
protected void |
write(long n)
|
protected void |
write(java.lang.String s)
|
protected void |
write(java.lang.StringBuffer s)
|
protected void |
writeln()
|
protected void |
writeln(int n)
|
protected void |
writeln(long n)
|
protected void |
writeln(java.lang.String s)
|
| 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 |
| Constructor Detail |
|---|
public E4ModuleImplementation(E4Permission permission)
E4MethodRegistry.declareClass(Class).
permission - a permission required to run any of the functions declared within your module#canDo(e4s.db.systabledef.E4Permission),
getRequiredModulePermission(),
#getPermission
public E4ModuleImplementation(boolean persistant,
E4Permission permission)
E4MethodRegistry.declareClass(Class).
persistant - a value of true indicates to preserve this module for later usage, making your local variables to be preservedpermission - a permission required to run any of the functions declared within your moduleisPersistant(),
#canDo(e4s.db.systabledef.E4Permission),
#getPermission(),
getRequiredModulePermission()public E4ModuleImplementation(boolean persistant)
E4MethodRegistry.declareClass(Class).
persistant - a value of true indicates to preserve this module for later usage, making your local variables to be preservedisPersistant()public E4ModuleImplementation()
| Method Detail |
|---|
protected boolean isPersistant()
public E4ServletImplementation_Intf getServlet()
E4ServletImplementation_Servlet,
E4ServletImplementation_Symbol,
E4ServletImplementation_Appletpublic void setServlet(E4ServletImplementation_Intf servlet)
protected void openHtmlOutput()
protected java.lang.String closeHtmlOutput()
protected void writeln(java.lang.String s)
protected void writeln(long n)
protected void writeln(int n)
protected void writeln()
protected void write(java.lang.String s)
protected void write(java.lang.StringBuffer s)
protected void write(long n)
protected void write(int n)
protected void write(E4HtmlElement element)
protected void SystemError(java.lang.Throwable t)
protected E4CgiParams getParameters()
protected java.text.SimpleDateFormat getDateFormat()
T_E4S_COMPANY_USER_Sel
database table (e.g. "dd.MM.yyyy").getTimeFormat(),
getTimeZone(),
E4ApplObj_Intf.getDateFormat()protected TimeZone getTimeZone()
T_E4S_COMPANY_USER_Sel
database table.getTimeFormat(),
getDateFormat(),
E4ApplObj_Intf.getTimeZone()protected java.text.SimpleDateFormat getTimeFormat()
T_E4S_COMPANY_USER_Sel
database table (e.g. "HH:mm:ss").getDateFormat(),
getTimeZone(),
E4ApplObj_Intf.getTimeFormat()protected HttpSession getSession()
protected java.lang.String getSessionId()
protected java.lang.Object getSessionObject(java.lang.String obj_id)
obj_id - identifyer for the object
removeSessionObject( String ),
setSessionObject( String, Object ),
getSessionObjects(),
setSessionObject( String, boolean ),
setSessionObject( String, long ),
getSessionObject_String( String ),
getSessionObject_Long( String ),
getSessionObject_Boolean( String )
protected java.lang.Object getSessionObject(java.lang.String obj_id,
boolean except_not_avail)
throws E4ObjectNotAvailableException
obj_id - identifyer for the objectexcept_not_avail - if true and the object is not found an exception is thrown
E4ObjectNotAvailableExceptionremoveSessionObject( String ),
setSessionObject( String, Object ),
getSessionObjects(),
setSessionObject( String, boolean ),
setSessionObject( String, long ),
getSessionObject_String( String ),
getSessionObject_Long( String ),
getSessionObject_Boolean( String )protected java.lang.String getSessionObject_String(java.lang.String obj_id)
obj_id - identifyer for the object
removeSessionObject( String ),
setSessionObject( String, Object ),
getSessionObjects()protected long getSessionObject_Long(java.lang.String obj_id)
obj_id - identifyer for the object
removeSessionObject( String ),
setSessionObject( String, long ),
getSessionObjects()protected boolean getSessionObject_Boolean(java.lang.String obj_id)
obj_id - identifyer for the object
removeSessionObject( String ),
setSessionObject( String, boolean ),
getSessionObjects()protected void setSessionObject(E4SessionObject_Intf obj)
obj_id - identifyer for the objectobj - the object to be storedremoveSessionObject( String ),
getSessionObject( String ),
getSessionObjects(),
setSessionObject( String, boolean ),
setSessionObject( String, long ),
getSessionObject_String( String ),
getSessionObject_Long( String ),
getSessionObject_Boolean( String )
protected void setSessionObject(java.lang.String obj_id,
java.lang.Object obj)
obj_id - identifyer for the objectobj - the object to be storedremoveSessionObject( String ),
getSessionObject( String ),
getSessionObjects(),
setSessionObject( String, boolean ),
setSessionObject( String, long ),
getSessionObject_String( String ),
getSessionObject_Long( String ),
getSessionObject_Boolean( String )
protected void setSessionObject(java.lang.String obj_id,
long val)
obj_id - identifyer for the objectval - the value to be storedgetSessionObject_Long( String ),
removeSessionObject( String ),
getSessionObjects(),
setSessionObject( String, boolean ),
setSessionObject( String, Object )
protected void setSessionObject(java.lang.String obj_id,
boolean val)
obj_id - identifyer for the objectval - the value to be storedgetSessionObject_Boolean( String ),
removeSessionObject( String ),
getSessionObjects(),
setSessionObject( String, boolean ),
setSessionObject( String, Object )protected void removeSessionObject(java.lang.String obj_id)
obj_id - identifyer for the objectgetSessionObject( String ),
setSessionObject( String, Object ),
getSessionObjects(),
setSessionObject( String, boolean ),
setSessionObject( String, long ),
getSessionObject_String( String ),
getSessionObject_Long( String ),
getSessionObject_Boolean( String )protected void removeSessionObject(E4SessionObject_Intf obj)
protected java.util.Hashtable getSessionObjects()
removeSessionObject( String ),
setSessionObject( String, Object ),
getSessionObject( String ),
setSessionObject( String, boolean ),
setSessionObject( String, long ),
getSessionObject_String( String ),
getSessionObject_Long( String ),
getSessionObject_Boolean( String )
protected void setPersistantParameter(java.lang.String paramname,
java.lang.String paramvalue)
paramname - name of the parameterparamvalue - value for this parameter
protected void setPersistantParameter(java.lang.String paramname,
int paramvalue)
paramname - name of the parameterparamvalue - value for this parameter
protected void setPersistantParameter(java.lang.String paramname,
int[] paramvalue)
paramname - name of the parameterparamvalue - values for this parameter
protected void setPersistantParameter(java.lang.String paramname,
long paramvalue)
paramname - name of the parameterparamvalue - value for this parameter
protected void setPersistantParameter(java.lang.String paramname,
boolean paramvalue)
paramname - name of the parameterparamvalue - value for this parameter
protected void setPersistantParameter(java.lang.String paramname,
java.util.Date paramvalue)
paramname - name of the parameterparamvalue - value for this parameterprotected java.lang.String getPersistantParameter(java.lang.String paramname)
paramname - name of the parameter
protected int getPersistantParameterInt(java.lang.String paramname)
paramname - name of the parameter
protected int[] getPersistantParameterIntArr(java.lang.String paramname)
paramname - name of the parameter
protected long getPersistantParameterLong(java.lang.String paramname)
paramname - name of the parameter
protected boolean getPersistantParameterBoolean(java.lang.String paramname)
paramname - name of the parameter
protected java.util.Date getPersistantParameterDate(java.lang.String paramname)
paramname - name of the parameter
public static java.lang.String empty2nbsp(java.lang.String s)
s - value to be tested
public static java.lang.String empty2nbsp(E4String s)
s - value to be tested
public static boolean isok(java.lang.String s)
s - the String to be tested
public static java.lang.String ok(java.lang.String s)
s - the String to be converted
protected boolean isRunningWindow()
A.openInNewWindow(),
E4ServletImplementation_Intf.isRunningWindow()protected E4MethodPickup.PickParams getPickParams()
E4MethodPickup,
E4ServletImplementation_Intf.getPickParams()
protected E4CssFile[] getCSS()
throws java.lang.Exception
java.lang.Exceptione4s.html.style.E4CssFile#getCSS(),
e4s.servlet.E4ServletImplementation_Intf#getCSS()public E4ApplObj_Intf getApplObj()
setApplicationObject(e4s.application.E4ApplObj_Intf),
E4ServletImplementation_Intf.getApplObj(),
E4ServletImplementation_Intf.setApplicationObject(E4ApplObj_Intf)protected void setApplicationObject(E4ApplObj_Intf applobj)
applobj - the application objectgetApplObj(),
removeApplicationObject(),
E4ServletImplementation_Intf.getApplObj(),
E4ServletImplementation_Intf.setApplicationObject(E4ApplObj_Intf)protected void removeApplicationObject()
getApplObj(),
setApplicationObject(e4s.application.E4ApplObj_Intf),
E4ServletImplementation_Intf.removeApplicationObject()
protected boolean setClientValue(java.lang.String id,
java.lang.String val)
throws E4DBException
E4Client. E4Client values are stored
in a database table T_E4S_CLIENT_VAL_Sel.
id - the id for this valueval - the value to be stored, a value of null will cause deletion
E4DBExceptiongetClientValue(String),
setCookie(String,String),
E4ServletImplementation_Intf.setClientValue(String,String)
protected boolean setClientValue(java.lang.String id,
E4String val)
throws E4DBException
E4Client. E4Client values are stored
in a database table T_E4S_CLIENT_VAL_Sel.
id - the id for this valueval - the value to be stored, a value of null will cause deletion
E4DBExceptiongetClientValue(String),
setCookie(String,String),
E4ServletImplementation_Intf.setClientValue(String,e4s.util.E4String)
protected boolean setClientValue(java.lang.String id,
long val)
throws E4DBException
E4Client. E4Client values are stored
in a database table T_E4S_CLIENT_VAL_Sel.
id - the id for this valueval - the value to be stored
E4DBExceptiongetClientValueLong(String),
setCookie(String,String),
E4ServletImplementation_Intf.setClientValue(String,long)
protected boolean setClientValue(java.lang.String id,
float val)
throws E4DBException
E4Client. E4Client values are stored
in a database table T_E4S_CLIENT_VAL_Sel.
id - the id for this valueval - the value to be stored
E4DBExceptiongetClientValueLong(String),
setCookie(String,String),
E4ServletImplementation_Intf.setClientValue(String,long)
protected boolean setClientValue(java.lang.String id,
int val)
throws E4DBException
E4Client. E4Client values are stored
in a database table T_E4S_CLIENT_VAL_Sel.
id - the id for this valueval - the value to be stored
E4DBExceptiongetClientValueInt(String),
setCookie(String,String),
E4ServletImplementation_Intf.setClientValue(String,int)
protected boolean setClientValue(java.lang.String id,
boolean val)
throws E4DBException
E4Client. E4Client values are stored
in a database table T_E4S_CLIENT_VAL_Sel.
id - the id for this valueval - the value to be stored, a value of true is stored as "1" and a value of false as "0"
E4DBExceptiongetClientValue(String),
setCookie(String,String),
E4ServletImplementation_Intf.setClientValue(String,boolean)
protected boolean setClientValue(java.lang.String id,
java.util.Date val)
throws E4DBException
E4Client. E4Client values are stored
in a database table T_E4S_CLIENT_VAL_Sel.
id - the id for this valueval - the value to be stored, the value is stored in the format E4DBSelect.DB_DATEFORMAT
E4DBExceptiongetClientValueDate(String),
setCookie(String,java.util.Date),
E4ServletImplementation_Intf.setClientValue(String,java.util.Date)
protected java.lang.String getClientValue(java.lang.String id)
throws E4DBException
E4Client. E4Client values are stored
in a database table T_E4S_CLIENT_VAL_Sel.
id - the id for this value
E4DBExceptionsetClientValue(String,long),
getClientValueLong(String),
getClientValueInt(String),
getClientValueBool(String),
getClientValueDate(String),
getCookie(String),
E4ServletImplementation_Intf.getClientValue(String)
protected long getClientValueLong(java.lang.String id)
throws E4DBException
E4Client. E4Client values are stored
in a database table T_E4S_CLIENT_VAL_Sel.
id - the id for this value
E4DBExceptionsetClientValue(String,long),
getClientValue(String),
getClientValueInt(String),
getClientValueBool(String),
getClientValueDate(String),
getCookieLong(String),
E4ServletImplementation_Intf.getClientValueLong(String)
protected float getClientValueFloat(java.lang.String id)
throws E4DBException
E4Client. E4Client values are stored
in a database table T_E4S_CLIENT_VAL_Sel.
id - the id for this value
E4DBExceptionsetClientValue(String,long),
getClientValue(String),
getClientValueInt(String),
getClientValueBool(String),
getClientValueDate(String),
getCookieLong(String),
E4ServletImplementation_Intf.getClientValueLong(String)
protected int getClientValueInt(java.lang.String id)
throws E4DBException
E4Client. E4Client values are stored
in a database table T_E4S_CLIENT_VAL_Sel.
id - the id for this value
E4DBExceptionsetClientValue(String,int),
getClientValueLong(String),
getClientValue(String),
getClientValueBool(String),
getClientValueDate(String),
#getCookieInt(String),
E4ServletImplementation_Intf.getClientValueInt(String)
protected java.util.Date getClientValueDate(java.lang.String id)
throws E4DBException
E4Client. E4Client values are stored
in a database table T_E4S_CLIENT_VAL_Sel.
id - the id for this value
E4DBExceptionsetClientValue(String,java.util.Date),
getClientValueLong(String),
getClientValue(String),
getClientValueBool(String),
getClientValueInt(String),
getCookieDate(String),
E4ServletImplementation_Intf.getClientValueDate(String)
protected boolean getClientValueBool(java.lang.String id)
throws E4DBException
E4Client. E4Client values are stored
in a database table T_E4S_CLIENT_VAL_Sel.
id - the id for this value
E4DBExceptionsetClientValue(String,boolean),
getClientValueLong(String),
getClientValue(String),
getClientValueDate(String),
getClientValueInt(String),
getCookieBool(String),
E4ServletImplementation_Intf.getClientValueBool(String)
protected void removeClientValue(java.lang.String id)
throws E4Exception
E4Client. E4Client values are stored
in a database table T_E4S_CLIENT_VAL_Sel.
id - the id for this value
E4ExceptionsetClientValue(java.lang.String, java.lang.String),
getClientValue(java.lang.String),
e4s.servlet.E4ServletImplementation_Intf#removeClientValue()public static java.lang.String getApplication()
setApplication(String)public static void setApplication(java.lang.String application)
protected void setClientObject(E4Client client,
java.lang.String id,
java.lang.Object obj)
setClientValue(java.lang.String, java.lang.String) functionality
is that client-objects are not database persistant.
id - a unique identifier associated with the object, not nullobj - the object to be stored, a value of null will be ignoredsetClientObject(String,Object),
removeClientObject(String),
getClientObject(String),
E4Client
protected void setClientObject(java.lang.String id,
java.lang.Object obj)
setClientValue(java.lang.String, java.lang.String) functionality
is that client-objects are not database persistant.
id - a unique identifier associated with the object, not nullobj - the object to be stored, a value of null will be ignoredsetClientObject(e4s.application.E4Client,String,Object),
removeClientObject(String),
getClientObject(String),
E4Client
protected java.lang.Object getClientObject(E4Client client,
java.lang.String id)
throws E4ObjectNotAvailableException
id - a unique identifier associated with the object
E4ObjectNotAvailableExceptiongetClientObject(String),
removeClientObject(String),
setClientObject(String,Object),
E4Clientprotected void setClientObject(E4ClientObject_Intf obj)
obj - the object to be addedgetClientObject(String),
removeClientObject(String),
setClientObject(String,Object),
E4Client
protected java.lang.Object getClientObject(java.lang.String id)
throws E4ObjectNotAvailableException
id - a unique identifier associated with the object
E4ObjectNotAvailableExceptiongetClientObject(e4s.application.E4Client,String),
removeClientObject(String),
setClientObject(String,Object),
E4Client
protected java.lang.Object getClientObject(java.lang.String id,
boolean exception_not_found)
throws E4Exception
id - a unique identifier associated with the objectexception_not_found - true: throws an exception if the object is not found
E4ExceptiongetClientObject(e4s.application.E4Client,String),
removeClientObject(String),
setClientObject(String,Object),
E4Clientprotected void removeClientObject(java.lang.String id)
id - a unique identifier associated with the objectremoveClientObject(e4s.application.E4Client,String),
getClientObject(String),
setClientObject(String,Object),
E4Clientprotected void removeClientObject(E4ClientObject_Intf obj)
protected void removeClientObject(E4Client client,
java.lang.String id)
id - a unique identifier associated with the objectremoveClientObject(String),
getClientObject(String),
setClientObject(String,Object),
E4Clientprotected E4DecimalSign getDecimalSign()
e4s.html.input.extended.FLOATFIELD#setDecimalSign(char),
e4s.html.input.extended.E4Fieldset#setDecimalSign(char),
E4ApplObj_Intf.getDecimalSign(),
E4ServletImplementation_Intf.getDecimalSign()protected CountryCode getCountryCode()
E4Client
dependent value, e.g. for a calendar.
E4ServletImplementation_Intf.getCountryCode(),
E4ApplObj_Intf.getCountryCode()protected E4Client getClient()
E4Client.
It is important, that an E4ApplObj_Intf has been created
common after a user login.
E4ServletImplementation_Intf.getClient(),
E4ApplObj_Intf.getClient()protected boolean canDo(E4Permission_Intf permission)
E4ApplObj_Intf) is allowed
to use, read, modify or execute the functionality associated with the specified permission.
E4PermissionExceptione4s.application.E4ApplObj_Intf#canDo(e4s.db.systabledef.E4Permission),
E4ApplObjBasic.readPermissions(),
E4Permission,
canRun()
protected boolean canDo(E4Permission_Intf permission,
boolean throw_exception)
throws E4PermissionException
E4ApplObj_Intf) is allowed
to use, read, modify or execute the functionality associated with the specified permission.
E4PermissionExceptione4s.application.E4ApplObj_Intf#canDo(e4s.db.systabledef.E4Permission),
E4ApplObjBasic.readPermissions(),
E4Permission,
canRun()
protected E4DBConnection_Intf getDbConnection()
throws E4DBException
E4DBExceptionE4DBConnectionDefault.getDefaultConnection()
protected void setCookie(java.lang.String name,
java.lang.String val)
name - the name of the cookieval - the value of the cookiesetCookie(String,String[]),
setCookie(String,boolean),
setCookie(String,long),
setCookie(String,int),
setCookie(String,e4s.util.E4String),
setCookie(String,e4s.util.E4Long),
setCookie(String,java.util.Date),
getCookie(String)
protected void setCookie(java.lang.String name,
E4String val)
name - the name of the cookieval - the value of the cookiesetCookie(String,String[]),
setCookie(String,boolean),
setCookie(String,long),
setCookie(String,int),
setCookie(String,String),
setCookie(String,e4s.util.E4Long),
setCookie(String,java.util.Date),
getCookie(String)
protected void setCookie(java.lang.String name,
long val)
name - the name of the cookieval - the value of the cookiesetCookie(String,String[]),
setCookie(String,String),
setCookie(String,boolean),
setCookie(String,int),
setCookie(String,e4s.util.E4String),
setCookie(String,e4s.util.E4Long),
setCookie(String,java.util.Date),
getCookieLong(String)
protected void setCookie(java.lang.String name,
E4Long val)
name - the name of the cookieval - the value of the cookiesetCookie(String,String[]),
setCookie(String,boolean),
setCookie(String,long),
setCookie(String,int),
setCookie(String,e4s.util.E4String),
setCookie(String,String),
setCookie(String,java.util.Date),
getCookieLong(String)
protected void setCookie(java.lang.String name,
int val)
name - the name of the cookieval - the value of the cookiesetCookie(String,String[]),
setCookie(String,long),
setCookie(String,boolean),
setCookie(String,String),
setCookie(String,e4s.util.E4String),
setCookie(String,e4s.util.E4Long),
setCookie(String,java.util.Date),
#getCookieInt(String)
protected void setCookie(java.lang.String name,
boolean val)
name - the name of the cookieval - the value of the cookie, a value of true will be stored as "1" and a value of false as "0"setCookie(String,String[]),
setCookie(String,long),
setCookie(String,int),
setCookie(String,String),
setCookie(String,e4s.util.E4String),
setCookie(String,e4s.util.E4Long),
setCookie(String,java.util.Date),
getCookieBool(String)
protected void setCookie(java.lang.String name,
java.util.Date val)
name - the name of the cookieval - the value of the cookie, the value is stored in the format E4DBSelect.DB_DATEFORMATsetCookie(String,String[]),
setCookie(String,boolean),
setCookie(String,long),
setCookie(String,int),
setCookie(String,e4s.util.E4String),
setCookie(String,e4s.util.E4Long),
setCookie(String,String),
getCookieDate(String)
protected void setCookie(java.lang.String name,
java.lang.String[] val)
E4ServletImplementation.COOKIE_SEPERATOR.
name - the name of the cookieval - the values of the cookiesetCookie(String,String),
getCookieArr(String)protected java.lang.String getCookie(java.lang.String name)
name - the name of the cookie
setCookie(java.lang.String, java.lang.String),
getCookieArr(String),
getCookieLong(String),
getCookieBool(String),
getCookieDate(String)protected java.lang.String[] getCookieArr(java.lang.String name)
name - the name of the cookiesetCookie(String,String[])protected long getCookieLong(java.lang.String name)
name - the name of the cookie
setCookie(java.lang.String, java.lang.String),
getCookieArr(String),
getCookie(String),
getCookieBool(String),
getCookieDate(String)protected boolean getCookieBool(java.lang.String name)
name - the name of the cookie
setCookie(java.lang.String, java.lang.String),
getCookieArr(String),
getCookieLong(String),
getCookie(String),
getCookieDate(String)
protected java.util.Date getCookieDate(java.lang.String name)
throws java.lang.Exception
name - the name of the cookie
java.lang.ExceptionsetCookie(java.lang.String, java.lang.String),
getCookieArr(String),
getCookieLong(String),
getCookieBool(String),
getCookie(String)protected java.lang.String getRemoteAddr()
E4ServletImplementation_Intf.getRemoteAddr()public static Language getLanguage_Sys()
E4Object.E4S_CORE_SYSTEM_LANGUAGEgetLanguage(),
getLanguage_App(),
E4Label.TRANS_TYPE_SYSpublic static Language getLanguage_App()
getLanguage_Sys())
where Strings (e.g. labels) in the application environment are written in the programm-code.
This must be known for translation purpouses.
e4s.E4Settings#getAppCoreLanguage()getLanguage_Sys(),
getLanguage(),
E4Settings.getAppCoreLanguage(),
E4Label.TRANS_TYPE_APPpublic Language getLanguage()
getLanguage_App() or getLanguage_Sys()).
Translations are beeing involved using E4Label.
getLanguage_Sys(),
getLanguage_App(),
E4Label,
E4ServletImplementation_Intf.getLanguage(),
E4ApplObj_Intf.getLanguage()public static E4Permission[] getApplication_Permissions()
getE4S_Permissions(),
E4PermissionRegistrypublic static E4Permission[] getE4S_Permissions()
getApplication_Permissions(),
E4PermissionRegistry,
E4Permission.CONSTANTS()public E4Permission getRequiredModulePermission()
E4Permission
public boolean canRun()
throws java.lang.Exception
getRequiredModulePermission()), check this permission against the
permissions assigned to the current user.
java.lang.Exception#canDo(e4s.db.systabledef.E4Permission),
getRequiredModulePermission(),
E4Permission
protected java.lang.String getUserValue(java.lang.String id)
throws E4DBException
T_E4S_USER_VAL_Sel.
id - the id for this value
E4DBExceptionsetUserValue(String,long),
getUserValueLong(String),
getUserValueInt(String),
getUserValueBool(String),
getUserValueDate(String),
E4ServletImplementation_Intf.getUserValue(String)
protected java.lang.String getUserValue(E4InputFieldName_Intf id)
throws E4DBException
T_E4S_USER_VAL_Sel.
id - the id for this value
E4DBExceptionsetUserValue(String,long),
getUserValueLong(String),
getUserValueInt(String),
getUserValueBool(String),
getUserValueDate(String),
E4ServletImplementation_Intf.getUserValue(String)
protected long getUserValueLong(java.lang.String id)
throws E4DBException
T_E4S_USER_VAL_Sel.
id - the id for this value
E4DBExceptionsetUserValue(String,long),
getUserValue(String),
getUserValueInt(String),
getUserValueBool(String),
getUserValueDate(String),
E4ServletImplementation_Intf.getUserValueLong(String)
protected long getUserValueLong(E4InputFieldName_Intf id)
throws E4DBException
T_E4S_USER_VAL_Sel.
id - the id for this value
E4DBExceptionsetUserValue(String,long),
getUserValue(String),
getUserValueInt(String),
getUserValueBool(String),
getUserValueDate(String),
E4ServletImplementation_Intf.getUserValueLong(String)
protected int getUserValueInt(java.lang.String id)
throws E4DBException
T_E4S_USER_VAL_Sel.
id - the id for this value
E4DBExceptionsetUserValue(String,int),
getUserValueLong(String),
getUserValue(String),
getUserValueBool(String),
getUserValueDate(String),
#getCookieInt(String),
E4ServletImplementation_Intf.getUserValueInt(String)
protected int getUserValueInt(E4InputFieldName_Intf id)
throws E4DBException
T_E4S_USER_VAL_Sel.
id - the id for this value
E4DBExceptionsetUserValue(String,int),
getUserValueLong(String),
getUserValue(String),
getUserValueBool(String),
getUserValueDate(String),
#getCookieInt(String),
E4ServletImplementation_Intf.getUserValueInt(String)
protected java.util.Date getUserValueDate(java.lang.String id)
throws E4DBException
T_E4S_USER_VAL_Sel.
id - the id for this value
E4DBExceptionsetUserValue(String,java.util.Date),
getUserValueLong(String),
getUserValue(String),
getUserValueBool(String),
getUserValueInt(String),
getCookieDate(String),
E4ServletImplementation_Intf.getUserValueDate(String)
protected java.util.Date getUserValueDate(E4InputFieldName_Intf id)
throws E4DBException
T_E4S_USER_VAL_Sel.
id - the id for this value
E4DBExceptionsetUserValue(String,java.util.Date),
getUserValueLong(String),
getUserValue(String),
getUserValueBool(String),
getUserValueInt(String),
getCookieDate(String),
E4ServletImplementation_Intf.getUserValueDate(String)
protected boolean getUserValueBool(java.lang.String id)
throws E4DBException
T_E4S_USER_VAL_Sel.
id - the id for this value
E4DBExceptionsetUserValue(String,boolean),
getUserValueLong(String),
getUserValue(String),
getUserValueDate(String),
getUserValueInt(String),
getCookieBool(String),
E4ServletImplementation_Intf.getUserValueBool(String)
protected boolean getUserValueBool(E4InputFieldName_Intf id)
throws E4DBException
T_E4S_USER_VAL_Sel.
id - the id for this value
E4DBExceptionsetUserValue(String,boolean),
getUserValueLong(String),
getUserValue(String),
getUserValueDate(String),
getUserValueInt(String),
getCookieBool(String),
E4ServletImplementation_Intf.getUserValueBool(String)
protected void removeUserValue(java.lang.String id)
throws E4DBException
T_E4S_USER_VAL_Sel.
id - the id for this value
E4DBExceptionsetUserValue(java.lang.String, java.lang.String),
getUserValue(java.lang.String),
e4s.servlet.E4ServletImplementation_Intf#removeUserValue()
protected void removeUserValue(E4InputFieldName_Intf id)
throws E4DBException
T_E4S_USER_VAL_Sel.
id - the id for this value
E4DBExceptionsetUserValue(java.lang.String, java.lang.String),
getUserValue(java.lang.String),
e4s.servlet.E4ServletImplementation_Intf#removeUserValue()
protected void setUserValue(java.lang.String id,
java.lang.String val)
throws E4DBException
T_E4S_USER_VAL_Sel.
id - the id for this valueval - the value to be stored, a value of null will cause deletion
E4DBExceptiongetUserValue(String),
setCookie(String,String),
E4ServletImplementation_Intf.setUserValue(String,String)
protected void setUserValue(E4InputFieldName_Intf id,
java.lang.String val)
throws E4DBException
T_E4S_USER_VAL_Sel.
id - the id for this valueval - the value to be stored, a value of null will cause deletion
E4DBExceptiongetUserValue(String),
setCookie(String,String),
E4ServletImplementation_Intf.setUserValue(String,String)
protected void setUserValue(java.lang.String id,
E4String val)
throws E4DBException
T_E4S_USER_VAL_Sel.
id - the id for this valueval - the value to be stored, a value of null will cause deletion
E4DBExceptiongetUserValue(String),
setCookie(String,String),
E4ServletImplementation_Intf.setUserValue(String,e4s.util.E4String)
protected void setUserValue(E4InputFieldName_Intf id,
E4String val)
throws E4DBException
T_E4S_USER_VAL_Sel.
id - the id for this valueval - the value to be stored, a value of null will cause deletion
E4DBExceptiongetUserValue(String),
setCookie(String,String),
E4ServletImplementation_Intf.setUserValue(String,e4s.util.E4String)
protected void setUserValue(java.lang.String id,
long val)
throws E4DBException
T_E4S_USER_VAL_Sel.
id - the id for this valueval - the value to be stored
E4DBExceptiongetUserValueLong(String),
setCookie(String,String),
E4ServletImplementation_Intf.setUserValue(String,long)
protected void setUserValue(java.lang.String id,
E4Long val)
throws E4DBException
T_E4S_USER_VAL_Sel.
id - the id for this valueval - the value to be stored
E4DBExceptiongetUserValueLong(String),
setCookie(String,String),
E4ServletImplementation_Intf.setUserValue(String,long)
protected void setUserValue(E4InputFieldName_Intf id,
long val)
throws E4DBException
T_E4S_USER_VAL_Sel.
id - the id for this valueval - the value to be stored
E4DBExceptiongetUserValueLong(String),
setCookie(String,String),
E4ServletImplementation_Intf.setUserValue(String,long)
protected void setUserValue(java.lang.String id,
int val)
throws E4DBException
T_E4S_USER_VAL_Sel.
id - the id for this valueval - the value to be stored
E4DBExceptiongetUserValueInt(String),
setCookie(String,String),
E4ServletImplementation_Intf.setUserValue(String,int)
protected void setUserValue(E4InputFieldName_Intf id,
int val)
throws E4DBException
T_E4S_USER_VAL_Sel.
id - the id for this valueval - the value to be stored
E4DBExceptiongetUserValueInt(String),
setCookie(String,String),
E4ServletImplementation_Intf.setUserValue(String,int)
protected void setUserValue(E4InputFieldName_Intf id,
E4Long val)
throws E4DBException
T_E4S_USER_VAL_Sel.
id - the id for this valueval - the value to be stored
E4DBExceptiongetUserValueInt(String),
setCookie(String,String),
E4ServletImplementation_Intf.setUserValue(String,int)
protected void setUserValue(java.lang.String id,
boolean val)
throws E4DBException
T_E4S_USER_VAL_Sel.
id - the id for this valueval - the value to be stored, a value of true is stored as "1" and a value of false as "0"
E4DBExceptiongetUserValue(String),
setCookie(String,String),
E4ServletImplementation_Intf.setUserValue(String,boolean)
protected void setUserValue(E4InputFieldName_Intf id,
boolean val)
throws E4DBException
T_E4S_USER_VAL_Sel.
id - the id for this valueval - the value to be stored, a value of true is stored as "1" and a value of false as "0"
E4DBExceptiongetUserValue(String),
setCookie(String,String),
E4ServletImplementation_Intf.setUserValue(String,boolean)
protected void setUserValue(java.lang.String id,
java.util.Date val)
throws E4DBException
T_E4S_USER_VAL_Sel.
id - the id for this valueval - the value to be stored, the value is stored in the format E4DBSelect.DB_DATEFORMAT
E4DBExceptiongetUserValueDate(String),
setCookie(String,java.util.Date),
E4ServletImplementation_Intf.setUserValue(String,java.util.Date)
protected void setUserValue(E4InputFieldName_Intf id,
java.util.Date val)
throws E4DBException
T_E4S_USER_VAL_Sel.
id - the id for this valueval - the value to be stored, the value is stored in the format E4DBSelect.DB_DATEFORMAT
E4DBExceptiongetUserValueDate(String),
setCookie(String,java.util.Date),
E4ServletImplementation_Intf.setUserValue(String,java.util.Date)
protected java.lang.String getUserEmail()
throws E4DBException
E4DBExceptione4s.db.systabledef.T_E4S_COMPANY_USER_Sel.get_EMAIL(),
e4s.db.systabledef.T_E4S_COMPANY_Sel.get_EMAIL()public java.lang.String getUrl()
getServlet().getUrl().
Example: when your servlet zone in Tomcat is named "zoneX" and your servlet is mapped to
"servletY" then this function would return "/zoneX/servletY".
E4ServletImplementation_Intf.getUrl()
public IMG getClientImage()
throws E4Exception
E4ExceptiongetE4ClientLogo()protected void resetClientLogo()
public E4ClientLogo getE4ClientLogo()
throws E4Exception
E4ExceptiongetClientImage()
public void setUserValue(java.lang.String id,
java.lang.String[] val)
throws E4DBException
E4Client. E4Client values are stored
in a database table T_E4S_CLIENT_VAL_Sel.
id - the id for this valueval - the value to be stored, a value of null will cause deletion
E4DBExceptiongetUserValueArr(String)
public java.lang.String[] getUserValueArr(java.lang.String id)
throws E4DBException
id - the identification
E4DBExceptionsetUserValue(String, String[])protected boolean isTimeout(HTML html)
e4s.application.appmodule.E4ModuleLogin#sessionTimeout.
html - a HTML context
public void setAjaxTrace(boolean mode)
E4Client.getRootPathAbsolute() /tmp/ajaxtrace. It will be enabled
or disabled for the current session only.
mode - true to enable trace, false to disable tracee4s.application.sysmodule.ajaxpublic static java.lang.String _getSVNVersionString()
E4Util.getRevisionCodeFromSVN(Class)
|
www.element4solution.com | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||