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
All Methods Instance Methods Abstract Methods Deprecated 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.lang.String
getSessionId()
current session idjava.lang.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.java.lang.String
getUserLogin()
returns the string literal the user used to login.java.lang.String
getUserName()
Deprecated.usegetUserLogin()
instead
-
-
-
Method Detail
-
getUserName
@Deprecated java.lang.String 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
java.lang.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
java.lang.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
java.lang.String generateUuid()
- Returns:
- UUID v4
-
getSessionId
java.lang.String getSessionId()
current session id- Returns:
- session id or null
-
getCurrentTimestampUtc
java.lang.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
-
-