Package de.businesscode.bcdui.wrs.save
Interface ServerSideValueBean
- All Known Implementing Classes:
DefaultColumnValueBean
public interface ServerSideValueBean
the interface with required API any serverside value bean has to implement, all the convenient API has to return
a renderered String suitable to write it to database via DatabaseWriter
-
Method Summary
Modifier and TypeMethodDescriptionthe current stamp of the value bean, this stamp remains stable during lifecycle of this beancurrent session idreturns technical user identifier, it does not necessarily is the literal used by user to login into his account, seegetUserLogin()
for this case.returns the string literal the user used to login.Deprecated.
-
Method Details
-
getUserName
Deprecated.usegetUserLogin()
insteadreturns the principal username (as token known to the system user has used for authentication)- Returns:
- username OR null, in case user is not known
-
getUserLogin
String getUserLogin()returns the string literal the user used to login. To retrieve the technical user-id seegetUserId()
- Returns:
- the user login or null, in case user is not known
-
getUserId
String getUserId()returns technical user identifier, it does not necessarily is the literal used by user to login into his account, seegetUserLogin()
for this case.- Returns:
- the user id or null, in case user is not known
-
generateUuid
String generateUuid()- Returns:
- UUID v4
-
getSessionId
String getSessionId()current session id- Returns:
- session id or null
-
getCurrentTimestampUtc
String getCurrentTimestampUtc()the current stamp of the value bean, this stamp remains stable during lifecycle of this bean- Returns:
- date rendered as ISO12 in UTC timezone: yyyy-MM-dd HH:mm:ss
-
getUserLogin()
instead