|
www.element4solution.com | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface E4ServletImplementation_Intf
Interface for the different implementations.
E4ServletImplementation_Servlet| Field Summary | |
|---|---|
static java.lang.String |
PARAM_FUNCTION
This is the main function identifier. |
static java.lang.String |
PARAM_PRESERVED
This is a HTML parameter to be used for pre-stored frame contents. |
| Method Summary | |
|---|---|
void |
assignCSS(int level,
CSS_Name name)
Assign a E4CSS style to the current session. |
java.lang.String |
closeHtmlOutput()
|
E4DocumentBase |
defaultE4DocumentBase()
|
E4PersistantBase |
defaultPersistantBase()
|
E4ApplObj_Intf |
getApplObj()
Get the application object. |
E4Client |
getClient()
Get the current E4Client. |
java.lang.Object |
getClientObject(E4Client client,
java.lang.String id)
Get an object for the specified client, identified by a specified id, which is common and shared to all instances running the same current client. |
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. |
java.lang.String |
getClientValue(java.lang.String id)
Get a value, associated with an client and identified by a key. |
boolean |
getClientValueBool(java.lang.String id)
Get a value, associated with an client and identified by a key. |
java.util.Date |
getClientValueDate(java.lang.String id)
Get a value, associated with an client and identified by a key. |
float |
getClientValueFloat(java.lang.String id)
Get a value, associated with an client and identified by a key. |
int |
getClientValueInt(java.lang.String id)
Get a value, associated with an client and identified by a key. |
long |
getClientValueLong(java.lang.String id)
Get a value, associated with an client and identified by a key. |
java.lang.String |
getCookie(java.lang.String name)
Read a value from a cookie by the specified cookie name. |
java.lang.String[] |
getCookieArr(java.lang.String name)
Get an array of values in a cookie. |
boolean |
getCookieBool(java.lang.String name)
Read a value from a cookie by the specified cookie name. |
java.util.Date |
getCookieDate(java.lang.String name)
Read a value from a cookie by the specified cookie name. |
long |
getCookieLong(java.lang.String name)
Read a value from a cookie by the specified cookie name. |
CountryCode |
getCountryCode()
Get the country-code which depends on the client. |
CSS_Name |
getCSS(int level)
Get the E4CSS style for the current session. |
java.text.SimpleDateFormat |
getDateFormat()
Get the date format currently associated with the logged in user. |
java.text.SimpleDateFormat |
getDateTimeFormat()
|
E4DecimalSign |
getDecimalSign()
Get the decimal sign, as to be used for float representation. |
java.lang.String |
getHttpAddr()
Get the HTTP Address (server mode only) |
Language |
getLanguage()
Get the user's language. |
E4CgiParams |
getParameters()
Collect the HTML (CGI) Parameters. |
java.lang.String |
getPersistantParameter(java.lang.String paramname)
Get a user dependent parameter from the user value settings. |
int[] |
getPersistantParameterIntArr(java.lang.String paramname)
Get a user dependent parameter from the user value settings. |
E4MethodPickup.PickParams |
getPickParams()
This is more an internal function, not recommended for usage within applications. |
E4StringBufferHtml |
getPreserved(java.lang.String preservedId)
Get the buffer for the preserved element. |
java.lang.String |
getRemoteAddr()
Returns the Internet Protocol (IP) address of the client or last proxy that sent the request. |
HttpSession |
getSession()
Get the servlet's session. |
java.lang.String |
getSessionId()
Get the servlet's session identification. |
boolean |
getSessionObject_Boolean(java.lang.String obj_id)
Get a session object as boolean for the current user session. |
long |
getSessionObject_Long(java.lang.String obj_id)
Get a session object as long for the current user session. |
java.lang.String |
getSessionObject_String(java.lang.String obj_id)
Get a session object as String for the current user session. |
java.lang.Object |
getSessionObject(java.lang.String obj_id)
Get a session object for the current user session. |
java.lang.Object |
getSessionObject(java.lang.String obj_id,
boolean exception_not_found)
Get a session object for the current user session. |
java.util.Hashtable |
getSessionObjects()
Get a Hashtable containing all session objects. |
java.text.SimpleDateFormat |
getTimeFormat()
Get the date format currently associated with the logged in user. |
TimeZone |
getTimeZone()
|
java.lang.String |
getUrl()
Get the URL of the servlet itself. |
java.lang.String |
getUserValue(java.lang.String id)
Get a value, associated with a userand identified by a key. |
boolean |
getUserValueBool(java.lang.String id)
Get a value, associated with a userand identified by a key. |
java.util.Date |
getUserValueDate(java.lang.String id)
Get a value, associated with a userand identified by a key. |
int |
getUserValueInt(java.lang.String id)
Get a value, associated with a userand identified by a key. |
long |
getUserValueLong(java.lang.String id)
Get a value, associated with a userand identified by a key. |
void |
invalidateSession(boolean immediatly)
Invalidates the session, unbinds any objects related to this session. |
boolean |
invoceFunction()
|
HTML |
invoceFunctionHTML(E4Method_Intf mref)
|
HTML |
invoceFunctionHTML(E4Method_Intf mref,
E4CgiParams params)
|
boolean |
isRunningClient()
Check, if the implementation of this interface is running in E4Client mode. |
boolean |
isRunningServer()
Check, if the implementation of this interface is running in Server mode. |
boolean |
isRunningWindow()
Check, if the current context is running within a window. |
void |
onExitTask()
This function is called on exit of the current task. |
void |
openHtmlOutput()
|
void |
rem(java.lang.String s)
|
void |
removeApplicationObject()
Remove the application object. |
void |
removeClientObject(E4ClientObject_Intf obj)
Remove an object for the specified client, which is common and shared to all instances running the same current client. |
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. |
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. |
boolean |
removeClientValue(java.lang.String id)
Remove a value, associated with an client and identified by a key. |
void |
removeSessionObject(E4SessionObject_Intf obj)
Remove a session object for the current user session. |
void |
removeSessionObject(java.lang.String obj_id)
Remove a session object for the current user session. |
void |
removeSessionObjects()
Removes all session objects for the current session. |
void |
removeUserValue(java.lang.String id)
Remove a value, associated with the current user and identified by a key. |
boolean |
sessionCanEditHints()
|
void |
sessionCanEditHints(boolean mode)
|
boolean |
sessionCanEditStyles()
|
void |
sessionCanEditStyles(boolean mode)
|
boolean |
sessionCanEditTranslations()
|
void |
sessionCanEditTranslations(boolean mode)
|
void |
setApplicationObject(E4ApplObj_Intf applobj)
Set the application object. |
void |
setClientObject(E4ClientObject_Intf obj)
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. |
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. |
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. |
boolean |
setClientValue(java.lang.String id,
boolean val)
Set a value, associated with an client and identified by a key. |
boolean |
setClientValue(java.lang.String id,
java.util.Date val)
Set a value, associated with an client and identified by a key. |
boolean |
setClientValue(java.lang.String id,
E4String val)
Set a value, associated with an client and identified by a key. |
boolean |
setClientValue(java.lang.String id,
float val)
Set a value, associated with an client and identified by a key. |
boolean |
setClientValue(java.lang.String id,
int val)
Set a value, associated with an client and identified by a key. |
boolean |
setClientValue(java.lang.String id,
long val)
Set a value, associated with an client and identified by a key. |
boolean |
setClientValue(java.lang.String id,
java.lang.String val)
Set a value, associated with an client and identified by a key. |
void |
setCookie(java.lang.String name,
boolean val)
Store a value in a cookie. |
void |
setCookie(java.lang.String name,
java.util.Date val)
Store a value in a cookie. |
void |
setCookie(java.lang.String name,
E4Long val)
Store a value in a cookie. |
void |
setCookie(java.lang.String name,
E4String val)
Store a value in a cookie. |
void |
setCookie(java.lang.String name,
int val)
Store a value in a cookie. |
void |
setCookie(java.lang.String name,
long val)
Store a value in a cookie. |
void |
setCookie(java.lang.String name,
java.lang.String val)
Store a value in a cookie. |
void |
setCookie(java.lang.String name,
java.lang.String[] val)
Store an array of values in a cookie. |
void |
setPersistantParameter(java.lang.String paramname,
java.lang.String paramvalue)
Save a user dependent parameter in the user value settings. |
void |
setSessionObject(E4SessionObject_Intf obj)
Set a session object for the current user session. |
void |
setSessionObject(java.lang.String obj_id,
boolean val)
Set a session object for the current user session. |
void |
setSessionObject(java.lang.String obj_id,
long val)
Set a session object for the current user session. |
void |
setSessionObject(java.lang.String obj_id,
java.lang.Object obj)
Set a session object for the current user session. |
void |
setUserValue(java.lang.String id,
boolean val)
Set a value, associated with a userand identified by a key. |
void |
setUserValue(java.lang.String id,
java.util.Date val)
Set a value, associated with a userand identified by a key. |
void |
setUserValue(java.lang.String id,
E4Long val)
Set a value, associated with a userand identified by a key. |
void |
setUserValue(java.lang.String id,
E4String val)
Set a value, associated with a userand identified by a key. |
void |
setUserValue(java.lang.String id,
int val)
Set a value, associated with a userand identified by a key. |
void |
setUserValue(java.lang.String id,
long val)
Set a value, associated with a userand identified by a key. |
void |
setUserValue(java.lang.String id,
java.lang.String val)
Set a value, associated with a userand identified by a key. |
void |
SystemError(E4DBException dbe)
|
void |
SystemError(int errortype,
java.lang.Throwable t,
java.lang.String txt)
|
void |
SystemError(java.io.IOException ioe)
|
void |
SystemError(java.lang.String errormsg)
|
void |
SystemError(java.lang.Throwable t)
|
void |
write(E4HtmlElement element)
Execute the E4HtmlElement_Intf.toHtml(e4s.util.E4StringBufferHtml, e4s.servlet.E4ServletImplementation_Intf) functions for this element
and append the HTML content generated to the current output buffer. |
void |
write(java.lang.String s)
|
void |
writeln(java.lang.String s)
|
void |
writePreserved(java.lang.String id,
E4HtmlElement_Intf element)
Store any (typically frame) content for later output by the function writePreservedOut(). |
boolean |
writePreservedOut()
Process (write out) any prestored output. |
| Field Detail |
|---|
static final java.lang.String PARAM_FUNCTION
E4Method object that contains an
alias code (E4Method.getAlias(). When a function
is called, this is done by referencing the E4Method object in the
program first (e.g. by a A object), then the alias code is passed
throught E4CgiParams to the servlet. The servlet looks in the alias
table using the E4Method.findMethod(int)
method and invoces the method using invoceFunction().
This constant defines the parameter name used in the E4CgiParams
for the calling alias code.
E4Method_Intf.getAlias(),
e4s.html.E4Method#findAlias(int),
Constant Field Valuesstatic final java.lang.String PARAM_PRESERVED
FRAMESET,
FRAME,
Constant Field Values| Method Detail |
|---|
void openHtmlOutput()
java.lang.String closeHtmlOutput()
void writeln(java.lang.String s)
void write(java.lang.String s)
void write(E4HtmlElement element)
throws java.lang.Exception
E4HtmlElement_Intf.toHtml(e4s.util.E4StringBufferHtml, e4s.servlet.E4ServletImplementation_Intf) functions for this element
and append the HTML content generated to the current output buffer.
element - the HTML element to be rendered
java.lang.ExceptionE4HtmlElement_Intf.toHtml(e4s.util.E4StringBufferHtml, e4s.servlet.E4ServletImplementation_Intf)void rem(java.lang.String s)
java.lang.String getUrl()
java.text.SimpleDateFormat getDateFormat()
getTimeFormat(),
T_E4S_COMPANY_USER_Sel.CI_DATEFORMATjava.text.SimpleDateFormat getTimeFormat()
getTimeFormat(),
T_E4S_COMPANY_USER_Sel.CI_TIMEFORMATjava.text.SimpleDateFormat getDateTimeFormat()
TimeZone getTimeZone()
boolean isRunningServer()
E4ServletImplementation_Servlet,
isRunningClient()boolean isRunningClient()
isRunningServer()
void writePreserved(java.lang.String id,
E4HtmlElement_Intf element)
writePreservedOut().
id - the value of the PARAM_PRESERVED parameter as generated by the FRAMESET.toHtml(e4s.util.E4StringBufferHtml, e4s.servlet.E4ServletImplementation_Intf) function.element - the element to convert into plain HtmlgetPreserved( String ),
writePreservedOut()boolean writePreservedOut()
FRAMESET and writePreserved(java.lang.String, e4s.html.E4HtmlElement_Intf).
This function needs to be placed in doPost() or doGet() before any other
actions take place.
PARAM_PRESERVED parameter.
In this case, no further output or action is needed.
false, no preserved requested ID available, normal proceeding recommended.writePreserved( String, E4HtmlElement_Intf ),
getPreserved( String )E4StringBufferHtml getPreserved(java.lang.String preservedId)
writePreservedOut(),
writePreserved( String, E4HtmlElement_Intf ),
e4s.E4Constants#PARAM_PRESERVEDboolean invoceFunction()
HTML invoceFunctionHTML(E4Method_Intf mref)
HTML invoceFunctionHTML(E4Method_Intf mref,
E4CgiParams params)
E4CgiParams getParameters()
throws java.lang.Exception
java.lang.Exceptionvoid SystemError(java.lang.Throwable t)
void SystemError(E4DBException dbe)
void SystemError(java.io.IOException ioe)
void SystemError(int errortype,
java.lang.Throwable t,
java.lang.String txt)
void SystemError(java.lang.String errormsg)
E4DocumentBase defaultE4DocumentBase()
E4PersistantBase defaultPersistantBase()
java.lang.String getSessionId()
invalidateSession(boolean),
getSession()HttpSession getSession()
invalidateSession(boolean),
getSessionId()java.lang.Object getSessionObject(java.lang.String obj_id)
obj_id - identifyer for the object
removeSessionObject( String ),
setSessionObject( String, Object ),
getSessionObjects(),
getSessionObject( String, boolean ),
setSessionObject( String, boolean ),
setSessionObject( String, long ),
getSessionObject_String( String ),
getSessionObject_Long( String ),
getSessionObject_Boolean( String )
java.lang.Object getSessionObject(java.lang.String obj_id,
boolean exception_not_found)
throws E4Exception
obj_id - identifyer for the objectexception_not_found - throw an exception if the object can't be found
E4ExceptiongetSessionObject( String ),
removeSessionObject( String ),
setSessionObject( String, Object ),
getSessionObjects(),
setSessionObject( String, boolean ),
setSessionObject( String, long ),
getSessionObject_String( String ),
getSessionObject_Long( String ),
getSessionObject_Boolean( String )java.lang.String getSessionObject_String(java.lang.String obj_id)
obj_id - identifyer for the object
removeSessionObject( String ),
setSessionObject( String, Object ),
getSessionObjects()long getSessionObject_Long(java.lang.String obj_id)
obj_id - identifyer for the object
removeSessionObject( String ),
setSessionObject( String, long ),
getSessionObjects()boolean getSessionObject_Boolean(java.lang.String obj_id)
obj_id - identifyer for the object
removeSessionObject( String ),
setSessionObject( String, boolean ),
getSessionObjects()
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 )void setSessionObject(E4SessionObject_Intf obj)
obj - the object to be storedremoveSessionObject( String ),
getSessionObject( String ),
getSessionObjects(),
setSessionObject( String, boolean ),
setSessionObject( String, long ),
getSessionObject_String( String ),
getSessionObject_Long( String ),
getSessionObject_Boolean( String )
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 )
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 )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 )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 )void removeSessionObject(E4SessionObject_Intf obj)
obj_id - identifyer for the object#getSessionObject( e4s.servlet.E4SessionObject_Intf ),
setSessionObject( String, boolean )
void setPersistantParameter(java.lang.String paramname,
java.lang.String paramvalue)
paramname - name of the parameterparamvalue - value for this parametergetPersistantParameter(java.lang.String),
#getSystemParameterjava.lang.String getPersistantParameter(java.lang.String paramname)
paramname - name of the parameter
setPersistantParameter(java.lang.String, java.lang.String),
#setSystemParameter,
getPersistantParameterIntArr(java.lang.String)int[] getPersistantParameterIntArr(java.lang.String paramname)
paramname - name of the parameter
getPersistantParameter(java.lang.String),
getPersistantParameterIntArr(java.lang.String)boolean isRunningWindow()
e4s.E4Constants#PARAM_ISWINDOW,
A.openInNewWindow(),
A.openInNewWindow(String)E4MethodPickup.PickParams getPickParams()
e4s.E4Constants#PARAM_ISPICKUP,
E4MethodPickup
void assignCSS(int level,
CSS_Name name)
throws E4Exception
name - the name of the E4CSS to be associated with this session
E4ExceptionE4CssFile,
getCSS(int)CSS_Name getCSS(int level)
E4CssFile,
CSS_Name.DEFAULT(int),
#assignCSS(int)E4ApplObj_Intf getApplObj()
setApplicationObject(E4ApplObj_Intf),
removeApplicationObject()void setApplicationObject(E4ApplObj_Intf applobj)
applobj - the application objectgetApplObj(),
removeApplicationObject()void removeApplicationObject()
setApplicationObject(E4ApplObj_Intf),
getApplObj()boolean sessionCanEditStyles()
void sessionCanEditStyles(boolean mode)
boolean sessionCanEditTranslations()
void sessionCanEditTranslations(boolean mode)
boolean sessionCanEditHints()
void sessionCanEditHints(boolean mode)
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
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
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),
E4Clientvoid setClientObject(E4ClientObject_Intf obj)
id - a unique identifier associated with the objectgetClientObject(String),
removeClientObject(e4s.servlet.E4ClientObject_Intf)
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),
E4Clientvoid removeClientObject(java.lang.String id)
id - a unique identifier associated with the objectremoveClientObject(e4s.application.E4Client,String),
getClientObject(String),
setClientObject(String,Object),
E4Client
void removeClientObject(E4Client client,
java.lang.String id)
client - a client identifierid - a unique identifier associated with the objectremoveClientObject(String),
getClientObject(String),
setClientObject(String,Object),
E4Clientvoid removeClientObject(E4ClientObject_Intf obj)
obj - the object to be removedsetClientObject(e4s.servlet.E4ClientObject_Intf)
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
E4DBException#setClientValue(String),
getClientValue(String),
setCookie(String,String),
setClientObject(String,Object)
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)
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)
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)
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)
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"
E4DBExceptiongetClientValueBool(String),
setCookie(String,String)
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)
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,String),
getClientValueLong(String),
getClientValueInt(String),
getClientValueBool(String),
getClientValueDate(String),
getCookie(String)
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)
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)
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)
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)
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)
boolean removeClientValue(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(java.lang.String, java.lang.String),
getClientValue(java.lang.String)E4DecimalSign getDecimalSign()
e4s.html.input.extended.FLOATFIELD#setDecimalSign(e4s.application.E4DecimalSign),
e4s.html.input.extended.E4Fieldset#setDecimalSign(e4s.application.E4DecimalSign),
E4ApplObj_Intf.getDecimalSign()CountryCode getCountryCode()
E4Client
dependent value, e.g. for a calendar.
E4ApplObj_Intf.getCountryCode()Language getLanguage()
E4Label.
E4ApplObj_Intf.getLanguage(),
E4ModuleImplementation.getLanguage(),
E4ModuleImplementation.getLanguage_Sys(),
E4ModuleImplementation.getLanguage_App()E4Client getClient()
E4Client.
It is important, that an E4ApplObj_Intf has been created
common after a user login.
E4ApplObj_Intf.getClient()
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)
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)
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)
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)
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)
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)
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)
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)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)java.lang.String[] getCookieArr(java.lang.String name)
name - the name of the cookiesetCookie(String,String[])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)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)
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)java.lang.String getRemoteAddr()
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
E4DBExceptiongetUserValue(String),
setCookie(String,String),
setClientObject(String,Object)
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)
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)
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)
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)
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"
E4DBExceptiongetUserValueBool(String),
setCookie(String,String)
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)
java.lang.String getUserValue(java.lang.String id)
throws E4DBException
T_E4S_USER_VAL_Sel.
id - the id for this value
E4DBExceptionsetUserValue(String,String),
getUserValueLong(String),
getUserValueInt(String),
getUserValueBool(String),
getUserValueDate(String),
getCookie(String)
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),
getCookieLong(String)
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)
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)
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)
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)void invalidateSession(boolean immediatly)
getSession().invalidate().
immediatly - true: immediatly terminates the session now, false: terminates the session an servlet exitgetSession(),
getSessionId()void onExitTask()
void removeSessionObjects()
java.lang.String getHttpAddr()
E4ServletImplementation_Servlet.getHttpAddr(),
e4s.E4Settings#getHttpAddr()
|
www.element4solution.com | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||