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 Detail

      • getUserName

        @Deprecated
        java.lang.String getUserName()
        Deprecated.
        use getUserLogin() instead
        returns 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 see getUserId()
        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, see getUserLogin() 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