public interface UserStatisticsAgent
SpecialistsBroker
Modifier and Type | Field and Description |
---|---|
static SpecialistType<UserStatisticsAgent> |
TYPE
An agent providing access to user statistics.
|
Modifier and Type | Method and Description |
---|---|
Optional<LocalDate> |
getLastLogin(long userId)
Returns the date of the last login to the FirstSpirit server performed by this user.
|
Date |
getLastLoginAsDate(long userId)
Deprecated.
since 5.2.180703 - use
getLastLogin(long) instead |
static final SpecialistType<UserStatisticsAgent> TYPE
@Deprecated @Nullable Date getLastLoginAsDate(long userId)
getLastLogin(long)
insteaduserId
- the id of the user to retrieve the login date for.null
if unknown.Optional<LocalDate> getLastLogin(long userId)
userId
- the id of the user to retrieve the login date for.Optional
if unknown.Copyright © 2021 e-Spirit AG. All Rights Reserved. Build 5.2.210210