|
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.servlet.E4ServletImplementation
public abstract class E4ServletImplementation
Covers functionality used in all implementations for E4ServletImplementation_Intf
| Field Summary | |
|---|---|
static java.lang.String |
COOKIE_PREFIX
This name is appended to cookies |
static char |
COOKIE_SEPERATOR
Seperator for array cookies. |
protected int |
m_last_alias
|
protected E4Method_Intf |
m_last_mref
|
| Fields inherited from class e4s.util.E4Object |
|---|
CRLF, E4S_CORE_SYSTEM_LANGUAGE, NBSP, NULLSTR, URL_ENCODING_CHARSET |
| Constructor Summary | |
|---|---|
E4ServletImplementation()
|
|
| Method Summary | |
|---|---|
static java.lang.String |
_getSVNVersionString()
Get version info string from subversion. |
static java.lang.String |
getApplication()
Get the name of the application currently running in. |
E4ApplObj_Intf |
getApplObj()
Get the application object. |
E4Client |
getClient()
Get the current E4Client. |
static java.lang.Object |
getClientObject(E4ApplObj_Intf applobj,
java.lang.String id)
|
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. |
java.lang.Object |
getClientObject(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. |
static java.lang.String |
getClientValue(E4ApplObj_Intf applobj,
java.lang.String id)
Get a value, associated with an client and identified by a key. |
java.lang.String |
getClientValue(java.lang.String id)
Get a value, associated with an client and identified by a key. |
static java.lang.String |
getClientValue(java.lang.String id,
E4ApplObj_Intf applobj)
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. |
static boolean |
getClientValueBool(java.lang.String id,
E4ApplObj_Intf applobj)
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. |
static java.util.Date |
getClientValueDate(java.lang.String id,
E4ApplObj_Intf applobj)
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. |
static float |
getClientValueFloat(java.lang.String id,
E4ApplObj_Intf applobj)
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. |
static int |
getClientValueInt(java.lang.String id,
E4ApplObj_Intf applobj)
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. |
static long |
getClientValueLong(java.lang.String id,
E4ApplObj_Intf applobj)
Get a value, associated with an client and identified by a key. |
E4CompanyGroup |
getCompany_Group()
Get the group of the company currently running. |
abstract 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. |
java.text.SimpleDateFormat |
getDateFormat()
Get the date format (depending on the current logged in user). |
E4DecimalSign |
getDecimalSign()
Get the decimal sign, as to be used for float representation. |
Language |
getLanguage()
Get the user's language. |
E4MethodPickup.PickParams |
getPickParams()
This is more an internal function, not recommended for usage within applications. |
java.lang.String |
getRemoteAddr()
Returns the Internet Protocol (IP) address of the client or last proxy that sent the request. |
abstract java.lang.String |
getSessionId()
|
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. |
abstract java.lang.Object |
getSessionObject(java.lang.String obj_id)
|
abstract java.util.Hashtable |
getSessionObjects()
|
static java.util.Date |
getStartupTime()
|
java.text.SimpleDateFormat |
getTimeFormat()
Get the time format (depending on the current logged in user). |
TimeZone |
getTimeZone()
Get the date format (depending on the current logged in user). |
E4User |
getUser()
Get the user running the application. |
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. |
java.lang.String[] |
getUserValueIDs()
|
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. |
protected HTML |
invoceFunctionHTML(E4Method_Intf mref,
E4CgiParams cgiParams,
E4ServletImplementation_Intf servlet)
Get an enumeration of all system parameter's ID. |
boolean |
isRunningWindow()
Check, if the current context is running within a window. |
void |
removeApplicationObject()
Set the application object. |
static void |
removeClientObject(E4ApplObj_Intf applobj,
java.lang.String id)
|
void |
removeClientObject(E4ClientObject_Intf obj)
Remove an object, 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(E4Client client,
java.lang.String id)
Remove an object, 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, 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. |
static boolean |
removeClientValue(E4ApplObj_Intf applobj,
java.lang.String id)
Remove a value, associated with an client and identified by a key. |
boolean |
removeClientValue(java.lang.String id)
Remove a value, associated with an client and identified by a key. |
void |
removeSessionObject(E4SessionObject_Intf obj)
|
abstract void |
removeSessionObject(java.lang.String obj_id)
|
void |
removeUserValue(java.lang.String id)
Remove a value, associated with the current user and identified by a key. |
boolean |
sessionCanEditHints()
Can the user (administraor) within the current session edit hints? |
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. |
static void |
setClientObject(E4ApplObj_Intf applobj,
java.lang.String id,
java.lang.Object obj)
|
void |
setClientObject(E4ClientObject_Intf obj)
|
void |
setClientObject(E4Client client,
java.lang.String id,
java.lang.Object obj)
Set an object, 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, identified by a specified id, which is common and shared to all instances running the same current client. |
static boolean |
setClientValue(E4ApplObj_Intf applobj,
java.lang.String id,
boolean val)
Set a value, associated with an client and identified by a key. |
static boolean |
setClientValue(E4ApplObj_Intf applobj,
java.lang.String id,
java.util.Date val)
Set a value, associated with an client and identified by a key. |
static boolean |
setClientValue(E4ApplObj_Intf applobj,
java.lang.String id,
E4Date val)
Set a value, associated with an client and identified by a key. |
static boolean |
setClientValue(E4ApplObj_Intf applobj,
java.lang.String id,
float val)
Set a value, associated with an client and identified by a key. |
static boolean |
setClientValue(E4ApplObj_Intf applobj,
java.lang.String id,
long val)
Set a value, associated with an client and identified by a key. |
static boolean |
setClientValue(E4ApplObj_Intf applobj,
java.lang.String id,
java.lang.String val)
Set a value, associated with an client and identified by a key. |
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. |
static boolean |
setClientValue(java.lang.String id,
java.lang.String val,
E4ApplObj_Intf applobj)
Deprecated. |
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. |
abstract 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 |
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. |
abstract void |
setSessionObject(java.lang.String obj_id,
java.lang.Object obj)
|
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. |
| 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, isok, lastCallingFunction, lastCallingFunction, lastCallingFunction, lastCallingFunction, lastCallingStack, mkdirs, null2nbsp, null2nbsp, null2nbsp, ok, 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 |
|---|
protected int m_last_alias
protected E4Method_Intf m_last_mref
public static final java.lang.String COOKIE_PREFIX
public static final char COOKIE_SEPERATOR
#getCookieArr(),
Constant Field Values| Constructor Detail |
|---|
public E4ServletImplementation()
| Method Detail |
|---|
public boolean isRunningWindow()
A.openInNewWindow(),
e4s.E4Constants#PARAM_ISWINDOWpublic E4MethodPickup.PickParams getPickParams()
e4s.E4Constants#PARAM_ISPICKUP,
E4MethodPickup
protected HTML invoceFunctionHTML(E4Method_Intf mref,
E4CgiParams cgiParams,
E4ServletImplementation_Intf servlet)
throws E4ServletInvocationError,
E4DBException,
java.io.IOException,
org.xml.sax.SAXParseException
#getSystemParameter(String).
E4ServletInvocationError
E4DBException
java.io.IOException
org.xml.sax.SAXParseException#setSystemParameter,
#getSystemParameterpublic boolean sessionCanEditStyles()
public void sessionCanEditStyles(boolean mode)
public boolean sessionCanEditTranslations()
public void sessionCanEditTranslations(boolean mode)
public boolean sessionCanEditHints()
E4HintID,
T_E4S_HINT_Sel,
T_E4S_HINT_READ_Sel,
E4Hint,
E4ModuleHintEdit,
e4s.Html.HtmlContentElement#Hint(e4s.db.systabledef.E4HintID,e4s.servlet.E4ServletImplementation_Intf)public void sessionCanEditHints(boolean mode)
public 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 )
public 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 )public java.lang.String getSessionObject_String(java.lang.String obj_id)
obj_id - identifyer for the object
removeSessionObject( String ),
setSessionObject( String, Object ),
getSessionObjects()public long getSessionObject_Long(java.lang.String obj_id)
obj_id - identifyer for the object
removeSessionObject( String ),
setSessionObject( String, long ),
getSessionObjects()public boolean getSessionObject_Boolean(java.lang.String obj_id)
obj_id - identifyer for the object
removeSessionObject( String ),
setSessionObject( String, boolean ),
getSessionObjects()public static java.util.Date getStartupTime()
public E4ApplObj_Intf getApplObj()
E4ServletImplementation_Intf.getApplObj(),
E4ServletImplementation_Intf.setApplicationObject(E4ApplObj_Intf),
removeApplicationObject(),
setApplicationObject(e4s.application.E4ApplObj_Intf)public void setApplicationObject(E4ApplObj_Intf applobj)
applobj - the application objectgetApplObj(),
removeApplicationObject()public void removeApplicationObject()
getApplObj(),
setApplicationObject(e4s.application.E4ApplObj_Intf)public abstract java.lang.Object getSessionObject(java.lang.String obj_id)
public abstract void setSessionObject(java.lang.String obj_id,
java.lang.Object obj)
public abstract java.util.Hashtable getSessionObjects()
public abstract void removeSessionObject(java.lang.String obj_id)
public abstract java.lang.String getSessionId()
public static java.lang.String getApplication()
E4ModuleImplementation.getApplication(),
E4ModuleImplementation.setApplication(java.lang.String)
public static boolean getClientValueBool(java.lang.String id,
E4ApplObj_Intf applobj)
throws E4DBException
E4Client. E4Client values are stored
in a database table T_E4S_CLIENT_VAL_Sel.
applobj - a valid application objectid - the id for this value
E4DBExceptionsetClientValue(String,String),
getClientValueLong(String),
getClientValueInt(String),
getClientValueBool(String),
getClientValueDate(String),
getCookie(String)
public static java.util.Date getClientValueDate(java.lang.String id,
E4ApplObj_Intf applobj)
throws E4DBException
E4Client. E4Client values are stored
in a database table T_E4S_CLIENT_VAL_Sel.
applobj - a valid application objectid - the id for this value
E4DBExceptionsetClientValue(String,String),
getClientValueLong(String),
getClientValueInt(String),
getClientValueBool(String),
getClientValueDate(String),
getCookie(String)
public static int getClientValueInt(java.lang.String id,
E4ApplObj_Intf applobj)
throws E4DBException
E4Client. E4Client values are stored
in a database table T_E4S_CLIENT_VAL_Sel.
applobj - a valid application objectid - the id for this value
E4DBExceptionsetClientValue(String,String),
getClientValueLong(String),
getClientValueInt(String),
getClientValueBool(String),
getClientValueDate(String),
getCookie(String)
public static long getClientValueLong(java.lang.String id,
E4ApplObj_Intf applobj)
throws E4DBException
E4Client. E4Client values are stored
in a database table T_E4S_CLIENT_VAL_Sel.
applobj - a valid application objectid - the id for this value
E4DBExceptionsetClientValue(String,String),
getClientValueLong(String),
getClientValueInt(String),
getClientValueBool(String),
getClientValueDate(String),
getCookie(String)
public static float getClientValueFloat(java.lang.String id,
E4ApplObj_Intf applobj)
throws E4DBException
E4Client. E4Client values are stored
in a database table T_E4S_CLIENT_VAL_Sel.
applobj - a valid application objectid - the id for this value
E4DBExceptionsetClientValue(String,String),
getClientValueLong(String),
getClientValueInt(String),
getClientValueBool(String),
getClientValueDate(String)
public static java.lang.String getClientValue(java.lang.String id,
E4ApplObj_Intf applobj)
throws E4DBException
E4Client. E4Client values are stored
in a database table T_E4S_CLIENT_VAL_Sel.
applobj - a valid application objectid - the id for this value
E4DBExceptionsetClientValue(String,String),
getClientValueLong(String),
getClientValueInt(String),
getClientValueBool(String),
getClientValueDate(String),
getCookie(String)
public 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)
public static java.lang.String getClientValue(E4ApplObj_Intf applobj,
java.lang.String id)
throws E4DBException
E4Client. E4Client values are stored
in a database table T_E4S_CLIENT_VAL_Sel.
applobj - a valid application objectid - the id for this value
E4DBExceptionsetClientValue(String,String),
getClientValueLong(String),
getClientValueInt(String),
getClientValueBool(String),
getClientValueDate(String),
getCookie(String)
public 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),
#getCookieInt(String)
public 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),
#getCookieInt(String)
public 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),
getCookieLong(String)
public 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)
public 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)
public 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),
setClientObject(String,Object)
public static boolean setClientValue(java.lang.String id,
java.lang.String val,
E4ApplObj_Intf applobj)
throws E4DBException
E4DBException
public static boolean setClientValue(E4ApplObj_Intf applobj,
java.lang.String id,
float val)
throws E4DBException
E4Client. E4Client values are stored
in a database table T_E4S_CLIENT_VAL_Sel.
applobj - a valid application objectid - the id for this valueval - the value to be stored, a value of null will cause deletion
E4DBExceptiongetClientValue(e4s.application.E4ApplObj_Intf,String),
#getClientValue(e4s.application.E4ApplObj_Intf,String,String)
public static boolean setClientValue(E4ApplObj_Intf applobj,
java.lang.String id,
boolean val)
throws E4DBException
E4Client. E4Client values are stored
in a database table T_E4S_CLIENT_VAL_Sel.
applobj - a valid application objectid - the id for this valueval - the value to be stored, a value of null will cause deletion
E4DBExceptiongetClientValue(e4s.application.E4ApplObj_Intf,String),
#getClientValue(e4s.application.E4ApplObj_Intf,String,String)
public static boolean setClientValue(E4ApplObj_Intf applobj,
java.lang.String id,
long val)
throws E4DBException
E4Client. E4Client values are stored
in a database table T_E4S_CLIENT_VAL_Sel.
applobj - a valid application objectid - the id for this valueval - the value to be stored, a value of null will cause deletion
E4DBExceptiongetClientValue(e4s.application.E4ApplObj_Intf,String),
#getClientValue(e4s.application.E4ApplObj_Intf,String,String)
public static boolean setClientValue(E4ApplObj_Intf applobj,
java.lang.String id,
java.util.Date val)
throws E4DBException
E4Client. E4Client values are stored
in a database table T_E4S_CLIENT_VAL_Sel.
applobj - a valid application objectid - the id for this valueval - the value to be stored, a value of null will cause deletion
E4DBExceptiongetClientValue(e4s.application.E4ApplObj_Intf,String),
#getClientValue(e4s.application.E4ApplObj_Intf,String,String)
public static boolean setClientValue(E4ApplObj_Intf applobj,
java.lang.String id,
E4Date val)
throws E4DBException
E4Client. E4Client values are stored
in a database table T_E4S_CLIENT_VAL_Sel.
applobj - a valid application objectid - the id for this valueval - the value to be stored, a value of null will cause deletion
E4DBExceptiongetClientValue(e4s.application.E4ApplObj_Intf,String),
#getClientValue(e4s.application.E4ApplObj_Intf,String,String)
public static boolean setClientValue(E4ApplObj_Intf applobj,
java.lang.String id,
java.lang.String val)
throws E4DBException
E4Client. E4Client values are stored
in a database table T_E4S_CLIENT_VAL_Sel.
applobj - a valid application objectid - the id for this valueval - the value to be stored, a value of null will cause deletion
E4DBExceptiongetClientValue(e4s.application.E4ApplObj_Intf,String),
setCookie(String,String),
setClientObject(String,Object)
public 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)
public 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)
public 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)
public 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)
public 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)
public 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)
public 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, e4s.application.E4ApplObj_Intf)
public static boolean removeClientValue(E4ApplObj_Intf applobj,
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, e4s.application.E4ApplObj_Intf)
public 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
public static void setClientObject(E4ApplObj_Intf applobj,
java.lang.String id,
java.lang.Object obj)
public void setClientObject(E4ClientObject_Intf obj)
public 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.
client - the current or another clientid - 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),
E4Clientpublic java.lang.Object getClientObject(java.lang.String id)
id - a unique identifier associated with the object
getClientObject(e4s.application.E4Client,String),
removeClientObject(String),
setClientObject(String,Object),
E4Client
public java.lang.Object getClientObject(E4Client client,
java.lang.String id)
throws E4ObjectNotAvailableException
client - the current or another clientid - a unique identifier associated with the object
E4ObjectNotAvailableExceptiongetClientObject(String),
removeClientObject(String),
setClientObject(String,Object),
E4Client
public static java.lang.Object getClientObject(E4ApplObj_Intf applobj,
java.lang.String id)
throws E4ObjectNotAvailableException
E4ObjectNotAvailableException
public static void removeClientObject(E4ApplObj_Intf applobj,
java.lang.String id)
public void removeClientObject(E4ClientObject_Intf obj)
id - a unique identifier associated with the objectremoveClientObject(e4s.application.E4Client,String),
getClientObject(String),
setClientObject(String,Object),
E4Clientpublic void removeClientObject(java.lang.String id)
id - a unique identifier associated with the objectremoveClientObject(e4s.application.E4Client,String),
getClientObject(String),
setClientObject(String,Object),
E4Client
public void removeClientObject(E4Client client,
java.lang.String id)
client - the current or any other clientid - a unique identifier associated with the objectremoveClientObject(String),
getClientObject(String),
setClientObject(String,Object),
E4Clientpublic E4DecimalSign getDecimalSign()
e4s.html.input.extended.FLOATFIELD#setDecimalSign(),
E4ApplObj_Intf.getDecimalSign()public java.text.SimpleDateFormat getDateFormat()
getTimeFormat(),
E4ApplObj_Intf.getDateFormat(),
T_E4S_COMPANY_USER_Sel.CI_DATEFORMATpublic java.text.SimpleDateFormat getTimeFormat()
getTimeFormat(),
E4ApplObj_Intf.getTimeFormat(),
T_E4S_COMPANY_USER_Sel.CI_DATEFORMATpublic TimeZone getTimeZone()
getTimeFormat(),
E4ApplObj_Intf.getDateFormat(),
T_E4S_COMPANY_USER_Sel.CI_DATEFORMATpublic CountryCode getCountryCode()
E4Client
dependent value, e.g. for a calendar.
E4ApplObj_Intf.getCountryCode()public Language getLanguage()
Language.ENGLISHE4ApplObj_Intf.getLanguage()public E4Client getClient()
E4Client.
It is important, that an E4ApplObj_Intf has been created
common after a user login.
E4ApplObj_Intf.getClient()public E4CompanyGroup getCompany_Group()
E4User.getGroup(),
getUser()public E4User getUser()
E4ApplObj_Intf.getUser()
public abstract 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)public abstract 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)
public 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)
public 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)
public 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)
public 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)
public 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)
public 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)
public void setCookie(java.lang.String name,
java.lang.String[] val)
COOKIE_SEPERATOR.
name - the name of the cookieval - the values of the cookiesetCookie(String,String),
getCookieArr(String)public 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)public 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)
public 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)public java.lang.String[] getCookieArr(java.lang.String name)
name - the name of the cookiesetCookie(String,String[])public java.lang.String getRemoteAddr()
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
E4DBExceptiongetUserValue(String),
setCookie(String,String),
setClientObject(String,Object)
public 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)
public 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)
public 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)
public 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)
public 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)
public 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)
public 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)
public java.lang.String[] getUserValueIDs()
throws E4DBException
E4DBException
public 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)
public 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)
public 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)
public 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)
public 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)public void removeSessionObject(E4SessionObject_Intf obj)
public 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 | ||||||||