Class SessionTableEntry


  • public class SessionTableEntry
    extends Object
    Stores detailed information about a single session entry in the session table.
    • Constructor Detail

      • SessionTableEntry

        public SessionTableEntry()
    • Method Detail

      • getAdmin

        @Nullable
        public @Nullable Boolean getAdmin()
        Get admin
        Returns:
        admin
      • setAdmin

        public void setAdmin​(Boolean admin)
      • getFileCount

        @Nullable
        public @Nullable Long getFileCount()
        Number of files saved in the session.
        Returns:
        fileCount
      • setFileCount

        public void setFileCount​(Long fileCount)
      • getFileFolder

        @Nullable
        public @Nullable String getFileFolder()
        Unique name of the session storage folder.
        Returns:
        fileFolder
      • setFileFolder

        public void setFileFolder​(String fileFolder)
      • getFileSize

        @Nullable
        public @Nullable Long getFileSize()
        Total size in bytes of all files saved in the session, excluding history entries.
        Returns:
        fileSize
      • setFileSize

        public void setFileSize​(Long fileSize)
      • getFileSizeHistory

        @Nullable
        public @Nullable Long getFileSizeHistory()
        Total size in bytes of all history files stored in the session, except the active file entry.
        Returns:
        fileSizeHistory
      • setFileSizeHistory

        public void setFileSizeHistory​(Long fileSizeHistory)
      • getIsAdmin

        @Nullable
        public @Nullable Boolean getIsAdmin()
        Set if the user has administrator rights.
        Returns:
        isAdmin
      • setIsAdmin

        public void setIsAdmin​(Boolean isAdmin)
      • getLastAccess

        @Nullable
        public @Nullable Long getLastAccess()
        UTC time of the last access to the session.
        Returns:
        lastAccess
      • setLastAccess

        public void setLastAccess​(Long lastAccess)
      • getProviderId

        @Nullable
        public @Nullable String getProviderId()
        The ID of the external credential provider used to create the session. Empty if local provider was used.
        Returns:
        providerId
      • setProviderId

        public void setProviderId​(String providerId)
      • getSessionExpiration

        @Nullable
        public @Nullable Long getSessionExpiration()
        Time in seconds when the session will expire.
        Returns:
        sessionExpiration
      • setSessionExpiration

        public void setSessionExpiration​(Long sessionExpiration)
      • getSessionId

        @Nullable
        public @Nullable String getSessionId()
        Unique id of the session.
        Returns:
        sessionId
      • setSessionId

        public void setSessionId​(String sessionId)
      • getSessionState

        @Nullable
        public @Nullable SessionState getSessionState()
        Get sessionState
        Returns:
        sessionState
      • setSessionState

        public void setSessionState​(SessionState sessionState)
      • getUserName

        @Nullable
        public @Nullable String getUserName()
        Username of the authenticated user or empty if unknown or it is an anonymous session.
        Returns:
        userName
      • setUserName

        public void setUserName​(String userName)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object