|
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.application.E4ApplObjBasic
e4s.db.E4DBApplObjectTemporary
public class E4DBApplObjectTemporary
This temporary application object is used, when access to data from another client is required. In this case, there will be a current application object where all data will be overtaken except the client itself. Usage of this class is not necessary in common project, usage only to advanced programmers because this "breaks" the client distinction mechanism. But there are cases (e.g. overtaking data from other clients) where this will be required.
| Field Summary |
|---|
| Fields inherited from class e4s.application.E4ApplObjBasic |
|---|
m_created, m_language, m_permissions, PERMISSION_REASON_ADDED, PERMISSION_REASON_AND, PERMISSION_REASON_COMPANY, PERMISSION_REASON_GROUP, PERMISSION_REASON_INITIALIZED, PERMISSION_REASON_OR, PERMISSION_REASON_USER |
| Fields inherited from class e4s.util.E4Object |
|---|
CRLF, E4S_CORE_SYSTEM_LANGUAGE, NBSP, NULLSTR, URL_ENCODING_CHARSET |
| Fields inherited from interface e4s.application.E4ApplObj_Intf |
|---|
SESSION_OBJ_ID |
| Constructor Summary | |
|---|---|
E4DBApplObjectTemporary(E4ApplObj_Intf currentE4ApplObj,
E4Client newClient)
|
|
E4DBApplObjectTemporary(E4Client newClient)
|
|
E4DBApplObjectTemporary(E4Client newClient,
Language language)
|
|
| Method Summary | |
|---|---|
static java.lang.String |
_getSVNVersionString()
|
boolean |
canBeUsedForSystemLogin()
This application object is not intended to be used as system login |
boolean |
canDo(E4Permission_Intf perm)
No permissions provided for this class. |
java.lang.String |
getClient_Name()
Get the name of the client. |
E4Client |
getClient()
Get the E4Client of the user running the application. |
java.lang.String |
getCompany_Name()
Get the name of the company. |
CountryCode |
getCountryCode()
Get the country-code which depends on the client. |
java.lang.String |
getUser_Name()
Get the name of the user. |
E4User |
getUser()
|
| Methods inherited from class e4s.application.E4ApplObjBasic |
|---|
canDo_Reason, canDo_Reason, getClient_RootPath, getClient_URL, getDateFormat, getDecimalSign, getLanguage, getLoginTime, getPermissions, getScreenHeight, getScreenWidth, getSession, getTimeFormat, getTimeZone, grantPermission, readPermission, readPermission, readPermissions, readPermissions, setLanguage, setScreenHeight, setScreenWidth, setSession |
| 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 |
| Methods inherited from interface e4s.application.E4ApplObj_Intf |
|---|
getClient_RootPath, getClient_URL, getDateFormat, getDecimalSign, getLanguage, getLoginTime, getPermissions, getScreenHeight, getScreenWidth, getSession, getTimeFormat, getTimeZone, setLanguage |
| Constructor Detail |
|---|
public E4DBApplObjectTemporary(E4ApplObj_Intf currentE4ApplObj,
E4Client newClient)
throws E4DBException
E4DBException
public E4DBApplObjectTemporary(E4Client newClient,
Language language)
throws E4DBException
E4DBException
public E4DBApplObjectTemporary(E4Client newClient)
throws E4DBException
E4DBException| Method Detail |
|---|
public boolean canBeUsedForSystemLogin()
canBeUsedForSystemLogin in interface E4ApplObj_Intfpublic E4User getUser()
getUser in interface E4ApplObj_IntfgetUser in class E4ApplObjBasicpublic E4Client getClient()
E4ApplObjBasic
getClient in interface E4ApplObj_IntfgetClient in class E4ApplObjBasicpublic CountryCode getCountryCode()
E4ApplObj_IntfE4Client
dependent value, e.g. for a calendar.
getCountryCode in interface E4ApplObj_IntfgetCountryCode in class E4ApplObjBasicpublic java.lang.String getUser_Name()
E4ApplObj_Intf
getUser_Name in interface E4ApplObj_IntfgetUser_Name in class E4ApplObjBasicE4ApplObj_Intf.getUser()public java.lang.String getCompany_Name()
E4ApplObj_Intf
getCompany_Name in interface E4ApplObj_IntfgetCompany_Name in class E4ApplObjBasicE4ApplObj_Intf.getUser()public java.lang.String getClient_Name()
E4ApplObj_Intf
getClient_Name in interface E4ApplObj_IntfgetClient_Name in class E4ApplObjBasicE4ApplObj_Intf.getClient()public boolean canDo(E4Permission_Intf perm)
canDo in interface E4ApplObj_IntfcanDo in class E4ApplObjBasicperm - the permission to be tested
E4ModuleEditPermissions,
E4PermissionRegistry,
E4ModuleImplementation.getApplication_Permissions(),
E4ModuleImplementation.getE4S_Permissions(),
#canDo_Reason(e4s.db.systabledef.E4Permission),
E4ApplObjBasic.readPermissions()public static java.lang.String _getSVNVersionString()
|
www.element4solution.com | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||