Class SPlatformSessionImpl

    • Constructor Detail

      • SPlatformSessionImpl

        public SPlatformSessionImpl​(long id,
                                    java.lang.String username)
      • SPlatformSessionImpl

        public SPlatformSessionImpl​(SPlatformSession session)
    • Method Detail

      • getUserName

        public java.lang.String getUserName()
        Description copied from interface: SPlatformSession
        Gets the user name associated to this session
        Specified by:
        getUserName in interface SPlatformSession
        Returns:
      • getUserId

        public long getUserId()
        Description copied from interface: SPlatformSession
        Gets the user id associated to this session
        Specified by:
        getUserId in interface SPlatformSession
        Returns:
        the user Id for this session
      • setLastRenewDate

        public void setLastRenewDate​(java.util.Date lastRenewDate)
      • setDuration

        public void setDuration​(long duration)
      • setCreationDate

        public void setCreationDate​(java.util.Date creationDate)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object