Package de.businesscode.bcdui.wrs.save
Class DefaultColumnValueBean
- java.lang.Object
-
- de.businesscode.bcdui.wrs.save.DefaultColumnValueBean
-
- All Implemented Interfaces:
ServerSideValueBean
public class DefaultColumnValueBean extends java.lang.Object implements ServerSideValueBean
this bean is target of evaluation in WRS updates, is not thread-safe and this bean is used on per-request level
-
-
Constructor Summary
Constructors Constructor Description DefaultColumnValueBean(IRequestOptions requestOptions, org.apache.logging.log4j.Logger log)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
generateUuid()
java.lang.String
getCurrentTimestampUtc()
the current stamp of the value bean, this stamp remains stable during lifecycle of this beanjava.util.Date
getDate()
java.lang.String
getPageHash()
java.lang.String
getRefererGuiStatusDoc()
java.lang.String
getRefererUrl()
url initiated the calljava.lang.String
getRequestHash()
java.lang.String
getSessionId()
current session idjava.util.Date
getSqlDate()
java.sql.Timestamp
getSqlTimestamp()
java.lang.String
getUserId()
returns technical user identifier, it does not necessarily is the literal used by user to login into his account, seeServerSideValueBean.getUserLogin()
for this case.java.lang.String
getUserLogin()
returns the string literal the user used to login.java.lang.String
getUserName()
returns the principal username (as token known to the system user has used for authentication)
-
-
-
Constructor Detail
-
DefaultColumnValueBean
public DefaultColumnValueBean(IRequestOptions requestOptions, org.apache.logging.log4j.Logger log)
-
-
Method Detail
-
getRefererUrl
public java.lang.String getRefererUrl()
url initiated the call- Returns:
-
getUserName
public java.lang.String getUserName()
Description copied from interface:ServerSideValueBean
returns the principal username (as token known to the system user has used for authentication)- Specified by:
getUserName
in interfaceServerSideValueBean
- Returns:
- the username the user has authenticated with or null
-
getRefererGuiStatusDoc
public java.lang.String getRefererGuiStatusDoc()
-
getPageHash
public java.lang.String getPageHash()
-
getRequestHash
public java.lang.String getRequestHash()
-
getSessionId
public java.lang.String getSessionId()
Description copied from interface:ServerSideValueBean
current session id- Specified by:
getSessionId
in interfaceServerSideValueBean
- Returns:
- session id or null
-
getDate
public java.util.Date getDate()
-
getSqlDate
public java.util.Date getSqlDate()
-
getSqlTimestamp
public java.sql.Timestamp getSqlTimestamp()
-
getCurrentTimestampUtc
public java.lang.String getCurrentTimestampUtc()
Description copied from interface:ServerSideValueBean
the current stamp of the value bean, this stamp remains stable during lifecycle of this bean- Specified by:
getCurrentTimestampUtc
in interfaceServerSideValueBean
- Returns:
- date rendered as ISO12 in UTC timezone: yyyy-MM-dd HH:mm:ss
-
getUserLogin
public java.lang.String getUserLogin()
Description copied from interface:ServerSideValueBean
returns the string literal the user used to login. To retrieve the technical user-id seeServerSideValueBean.getUserId()
- Specified by:
getUserLogin
in interfaceServerSideValueBean
- Returns:
- the user login or null, in case user is not known
-
getUserId
public java.lang.String getUserId()
Description copied from interface:ServerSideValueBean
returns technical user identifier, it does not necessarily is the literal used by user to login into his account, seeServerSideValueBean.getUserLogin()
for this case.- Specified by:
getUserId
in interfaceServerSideValueBean
- Returns:
- the user id or null, in case user is not known
-
generateUuid
public java.lang.String generateUuid()
- Specified by:
generateUuid
in interfaceServerSideValueBean
- Returns:
- UUID v4
-
-