|
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.util.E4String
e4s.application.E4Client
public class E4Client
The client is part of the application object data, and it is used to distinct between different companies or solutions, building some kind of a "chineese wall" between data of different entities.
E4User,
E4DBTable._XML_ATTR_CLIENT,
T_E4S_CLIENT_Sel,
E4ApplObj_Intf.getClient()| Field Summary | |
|---|---|
static E4DBColumnInfo |
CI_CLIENT
|
static E4DBColumnType |
COLUMN_DATATYPE
|
static E4DBColumnInfo |
COLUMN_INFO
|
static int |
COLUMN_LEN
|
static E4DBColumnName |
COLUMN_NAME
|
static java.lang.String |
TEMPLATE
|
| Fields inherited from class e4s.util.E4String |
|---|
CLASSNAME, m_maxsize, m_nullable, m_string |
| Fields inherited from class e4s.util.E4Object |
|---|
CRLF, E4S_CORE_SYSTEM_LANGUAGE, NBSP, NULLSTR, URL_ENCODING_CHARSET |
| Method Summary | |
|---|---|
static java.lang.String |
_getSVNVersionString()
Get version info string from subversion. |
java.lang.String |
getClient_URL()
Complete URL address for client specific data. |
java.lang.String |
getClient()
Get E4Client value as String. |
static E4Client |
getInstance(java.lang.String client)
|
java.lang.String |
getRootPathAbsolute()
Get the root path as absolute path for the server. |
java.lang.String |
getRootPathRelative()
Get the root path as relative path for the server. |
java.lang.String |
getScrambledDirectoryName()
This is a combination of the client and optionally a random number to make access to client data within the scope of the httproot path more difficult. |
java.lang.String |
getTemporaryDirectoryAbs()
|
java.lang.String |
getTemporaryDirectoryAbs(boolean visible_to_httproot)
Get temporary directory for that client (absolute path) to be used for file I/O, either visible to the web server (Apache) or not. |
java.lang.String |
getTemporaryDirectoryRel()
Get temporary directory for that client (relative path) to be used as URL. |
| Methods inherited from class e4s.util.E4String |
|---|
_equals, charAt, clone, compareTo, compareTo, compareTo, compareToIgnoreCase, compareToIgnoreCase, concat, concat, concat, concat, concat, cut, cut, endsWith, endsWith, equals, equals, equalsIgnoreCase, equalsIgnoreCase, fixed, fixedRight, getMaxSize, getNullable, getString, hashCode, indexOf, indexOf, indexOf, indexOf, indexOf, indexOf, lastIndexOf, lastIndexOf, lastIndexOf, lastIndexOf, lastIndexOf, lastIndexOf, left, left, length, matches, matchesIgnoreCase, regionMatches, regionMatches, regionMatches, regionMatches, remove, removeSpaces, removeSpaces, replace, replace, replace, replace, replace, replaceIgnoreCase, right, right, setMaxSize, setNullable, setString, startsWith, startsWith, startsWith, startsWith, substring, substring, toCharArray, toLowerCase, toLowerCase, toString, toUpperCase, toUpperCase, trim, validate |
| 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, TRACE_CALLS, TRACE, TRACE, TRACE, TRACE, TRACE, TRACE, TRACE, TRACE, TRACE, TRACE, TRACE, TRACE, wait |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final E4DBColumnName COLUMN_NAME
public static final int COLUMN_LEN
public static final E4DBColumnInfo CI_CLIENT
public static final java.lang.String TEMPLATE
public static final E4DBColumnType COLUMN_DATATYPE
public static final E4DBColumnInfo COLUMN_INFO
| Method Detail |
|---|
public static E4Client getInstance(java.lang.String client)
public java.lang.String getClient()
public java.lang.String getClient_URL()
E4Settings.getDocBase() + RELATIVE_ROOT_PATH + getClient()getRootPathAbsolute(),
getRootPathRelative()public java.lang.String getRootPathAbsolute()
#getRootPath(boolean),
getRootPathRelative()public java.lang.String getRootPathRelative()
#getRootPath(boolean),
getRootPathAbsolute()public java.lang.String getScrambledDirectoryName()
RELATIVE_ROOT_PATH is not part of this value.
RELATIVE_ROOT_PATHpublic java.lang.String getTemporaryDirectoryAbs(boolean visible_to_httproot)
visible_to_httproot - if true, uses a temporary directory that is within the scope of the httpserver, can be used for e.g. scaled images that must be transparent to the webserver. But this
also indicates the risk, that someone knowing the exact url can access this data. if false, and if defined under E4Settings.getSysTempPath() a non visible directory will
be used instead.
getRootPathAbsolute() and "temp", if not: a concatenation of E4Settings.getSysTempPath() and "client" and E4String.getString().getRootPathAbsolute(),
getTemporaryDirectoryRel(),
E4Settings.getSysTempPath()public java.lang.String getTemporaryDirectoryAbs()
public java.lang.String getTemporaryDirectoryRel()
getRootPathRelative() and "temp".getRootPathRelative(),
getTemporaryDirectoryAbs()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 | ||||||||