|
www.element4solution.com | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface E4ApplObj_Intf
Holds some general but application specific data, based on the current user running this session. Object will be created after login.
E4Client,
{@tutorial Example_E4ApplObj}| Field Summary | |
|---|---|
static java.lang.String |
SESSION_OBJ_ID
|
| Method Summary | |
|---|---|
boolean |
canBeUsedForSystemLogin()
|
boolean |
canDo(E4Permission_Intf permission)
Checks, if the user is allowed on the specified permission. |
java.lang.String |
getClient_Name()
Get the name of the client. |
java.lang.String |
getClient_RootPath(boolean absolute)
Get the root path for the current E4Client. |
java.lang.String |
getClient_URL()
Get the URL related to 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.text.SimpleDateFormat |
getDateFormat()
Get the date format. |
E4DecimalSign |
getDecimalSign()
Get the decimal sign, as to be used for float representation. |
Language |
getLanguage()
Get the language-code which depends on the client (user). |
java.util.Date |
getLoginTime()
Get the login time (the time this object was instanciated) |
E4Permission[] |
getPermissions()
Get all valid permissions for that user. |
int |
getScreenHeight()
Get Screen Height (if supported by login method) |
int |
getScreenWidth()
Get Screen Width (if supported by login method) |
java.lang.String |
getSession()
|
java.text.SimpleDateFormat |
getTimeFormat()
Get the date format. |
TimeZone |
getTimeZone()
Get the time zone for the current logged in user. |
java.lang.String |
getUser_Name()
Get the name of the user. |
E4User |
getUser()
|
void |
setLanguage(Language language)
Set the language-code which depends on the client (user). |
| Field Detail |
|---|
static final java.lang.String SESSION_OBJ_ID
| Method Detail |
|---|
E4Client getClient()
java.lang.String getClient_RootPath(boolean absolute)
E4Client.
The root path of the client identifies the area where client specific files to be stored. It is based
on the entry E4Settings.getHttpRoot().
absolute - construct an absolute path using the E4Settings.getHttpRoot()getClient_URL(),
E4Settings.getHttpRoot(),
e4s.application.E4Client#getRootPath(boolean),
E4Client.RELATIVE_ROOT_PATHjava.lang.String getClient_URL()
absolute - construct an absolute path using the E4Settings.getHttpRoot()#getClient_RootPath(),
E4Settings.DOCBASE,
e4s.application.E4Client#getClient_URL(boolean),
E4Client.RELATIVE_ROOT_PATHjava.lang.String getClient_Name()
getClient()java.lang.String getCompany_Name()
getUser()java.lang.String getUser_Name()
getUser()E4User getUser()
java.util.Date getLoginTime()
E4DecimalSign getDecimalSign()
java.text.SimpleDateFormat getDateFormat()
getTimeFormat(),
E4ServletImplementation_Intf.getDateFormat(),
T_E4S_COMPANY_USER_Sel.CI_DATEFORMATjava.text.SimpleDateFormat getTimeFormat()
getDateFormat(),
E4ServletImplementation_Intf.getTimeFormat(),
T_E4S_COMPANY_USER_Sel.CI_TIMEFORMATTimeZone getTimeZone()
CountryCode getCountryCode()
E4Client
dependent value, e.g. for a calendar.
Language getLanguage()
getLanguage()
void setLanguage(Language language)
throws java.lang.Exception
language - the language-code, using ISO abbreviations
java.lang.ExceptionsetLanguage(e4s.application.Language)boolean canDo(E4Permission_Intf permission)
E4ModuleEditPermissions,
E4PermissionRegistry,
E4ModuleImplementation.getApplication_Permissions(),
E4ModuleImplementation.getE4S_Permissions()E4Permission[] getPermissions()
int getScreenWidth()
getScreenHeight()int getScreenHeight()
getScreenWidth()java.lang.String getSession()
boolean canBeUsedForSystemLogin()
|
www.element4solution.com | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||