Klasse LoggedOnUsers
java.lang.Object
de.uplanet.lucy.server.portalserver.LoggedOnUsers
-
Feldübersicht
FelderModifizierer und TypFeldBeschreibung -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungstatic intGet the number of active sessions.getLoggedOnUsers(boolean p_bIncludeAnonymous) Get a list of users that are currently logged in.getLoggedOnUsers(boolean p_bIncludeAnonymous, groovy.lang.Closure<?> p_closure) Get a list of users that are currently logged in.getLoggedOnUsers(IFilter<IUser> p_filter, boolean p_bIncludeAnonymous) Get a list of users that are currently logged in.Get a distinct list of non-anonymous users that are currently logged in.getLoggedOnUsersDistinct(IFilter<IUser> p_filter) Get a distinct list of non-anonymous users that pass the given filter and that are currently logged in.getLoggedOnUsersDistinct(groovy.lang.Closure<?> p_closure) Get a distinct list of non-anonymous users that pass the given filter and that are currently logged in.static intGet the number of non-anonymous active sessions.static booleanisUserOnline(String p_strUserId) Test if the specified user is online, i.e. if she or he has an associated session.
-
Felddetails
-
FILTER_ACCEPT_ALL
-
FILTER_ACCEPT_ANONYMOUS
-
-
Methodendetails
-
getActiveSessionCount
public static int getActiveSessionCount()Get the number of active sessions.- Gibt zurück:
- The number of active sessions.
-
getNonAnonymousActiveSessionCount
public static int getNonAnonymousActiveSessionCount()Get the number of non-anonymous active sessions.- Gibt zurück:
- The number of active sessions.
-
isUserOnline
Test if the specified user is online, i.e. if she or he has an associated session.- Parameter:
p_strUserId- The user's unique identifier.- Gibt zurück:
trueif the user is online,falseotherwise.
-
getLoggedOnUsers
Get a list of users that are currently logged in.If a user is logged in multiple times, the list contains an entry for each active user session.
- Parameter:
p_bIncludeAnonymous-trueif the list should include anonymous users, orfalseotherwise.- Gibt zurück:
- The (possibly empty) list of requested users.
-
getLoggedOnUsers
public static List<IUser> getLoggedOnUsers(boolean p_bIncludeAnonymous, groovy.lang.Closure<?> p_closure) Get a list of users that are currently logged in.If a user is logged in multiple times, the list contains an entry for each active user session.
- Parameter:
p_bIncludeAnonymous-trueif the list should include anonymous users, orfalseotherwise.p_closure- A closure that filters users.- Gibt zurück:
- The (possibly empty) list of requested users.
-
getLoggedOnUsers
Get a list of users that are currently logged in.If a user is logged in multiple times, the list contains an entry for each active user session.
- Parameter:
p_filter- A filter for users.p_bIncludeAnonymous-trueif the list should include anonymous users, orfalseotherwise.- Gibt zurück:
- The (possibly empty) list of requested users.
-
getLoggedOnUsersDistinct
Get a distinct list of non-anonymous users that are currently logged in.- Gibt zurück:
- The (possibly empty) list of requested users.
-
getLoggedOnUsersDistinct
Get a distinct list of non-anonymous users that pass the given filter and that are currently logged in.- Parameter:
p_closure- A closure that filters users.- Gibt zurück:
- The (possibly empty) list of requested users.
-
getLoggedOnUsersDistinct
Get a distinct list of non-anonymous users that pass the given filter and that are currently logged in.- Parameter:
p_filter- A filter for users.- Gibt zurück:
- The (possibly empty) list of requested users.
-