www.element4solution.com

e4s.application
Class E4ApplObjSimple

java.lang.Object
  extended by e4s.util.E4Object
      extended by e4s.application.E4ApplObjBasic
          extended by e4s.application.E4ApplObjSimple
All Implemented Interfaces:
E4ApplObj_Intf

public class E4ApplObjSimple
extends E4ApplObjBasic
implements E4ApplObj_Intf

This is a very simple implementation of an application object, it just holds a client and language which is enought for many E4S operations.

See Also:
E4Client, E4ServletImplementation_Intf.setApplicationObject(e4s.application.E4ApplObj_Intf)

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
E4ApplObjSimple(E4Client client)
           
E4ApplObjSimple(E4Client client, Language language)
           
 
Method Summary
static java.lang.String _getSVNVersionString()
           
 boolean canBeUsedForSystemLogin()
          This application object is not intended to be used as system login
 E4Client getClient()
          Get the client.
 Language getLanguage()
          Get the language.
 E4User getUser()
          No user in this implementation available.
 java.lang.String toString()
           
 
Methods inherited from class e4s.application.E4ApplObjBasic
canDo_Reason, canDo_Reason, canDo, getClient_Name, getClient_RootPath, getClient_URL, getCompany_Name, getCountryCode, getDateFormat, getDecimalSign, getLoginTime, getPermissions, getScreenHeight, getScreenWidth, getSession, getTimeFormat, getTimeZone, getUser_Name, 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, 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
canDo, getClient_Name, getClient_RootPath, getClient_URL, getCompany_Name, getCountryCode, getDateFormat, getDecimalSign, getLoginTime, getPermissions, getScreenHeight, getScreenWidth, getSession, getTimeFormat, getTimeZone, getUser_Name, setLanguage
 

Constructor Detail

E4ApplObjSimple

public E4ApplObjSimple(E4Client client,
                       Language language)

E4ApplObjSimple

public E4ApplObjSimple(E4Client client)
Method Detail

getClient

public E4Client getClient()
Get the client.

Specified by:
getClient in interface E4ApplObj_Intf
Specified by:
getClient in class E4ApplObjBasic
Returns:
the specified client on constructor.

getLanguage

public Language getLanguage()
Get the language.

Specified by:
getLanguage in interface E4ApplObj_Intf
Overrides:
getLanguage in class E4ApplObjBasic
Returns:
the specified language on constructor.
See Also:
E4ApplObjBasic.setLanguage(e4s.application.Language)

getUser

public E4User getUser()
No user in this implementation available.

Specified by:
getUser in interface E4ApplObj_Intf
Specified by:
getUser in class E4ApplObjBasic
Returns:
null

canBeUsedForSystemLogin

public boolean canBeUsedForSystemLogin()
This application object is not intended to be used as system login

Specified by:
canBeUsedForSystemLogin in interface E4ApplObj_Intf

toString

public java.lang.String toString()
Overrides:
toString in class E4Object

_getSVNVersionString

public static java.lang.String _getSVNVersionString()

www.element4solution.com