de.uplanet.lucy.server.portalserver
Class LoggedOnUsers

java.lang.Object
  extended by de.uplanet.lucy.server.portalserver.LoggedOnUsers

@Scriptable
public final class LoggedOnUsers
extends java.lang.Object

Version:
$Revision: 75862 $

Field Summary
static IFilter<IUser> FILTER_ACCEPT_ALL
           
static IFilter<IUser> FILTER_ACCEPT_ANONYMOUS
           
 
Method Summary
static java.util.List<IUser> getLoggedOnUsers(boolean p_bIncludeAnonymous)
          Get a list of users that are currently logged in.
static java.util.List<IUser> getLoggedOnUsers(IFilter<IUser> p_filter, boolean p_bIncludeAnonymous)
          Get a list of users that are currently logged in.
static java.util.List<IUser> getLoggedOnUsersDistinct()
          Get a distinct list of non-anonymous users that are currently logged in.
static java.util.List<IUser> getLoggedOnUsersDistinct(IFilter<IUser> p_filter)
          Get a distinct list of non-anonymous users that pass the given filter and that are currently logged in.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

FILTER_ACCEPT_ALL

public static final IFilter<IUser> FILTER_ACCEPT_ALL

FILTER_ACCEPT_ANONYMOUS

public static final IFilter<IUser> FILTER_ACCEPT_ANONYMOUS
Method Detail

getLoggedOnUsers

public static java.util.List<IUser> getLoggedOnUsers(boolean p_bIncludeAnonymous)
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.

Parameters:
p_bIncludeAnonymous - true if the list should include anonymous users, or false otherwise.
Returns:
The (possibly empty) list of requested users.

getLoggedOnUsers

public static java.util.List<IUser> getLoggedOnUsers(IFilter<IUser> p_filter,
                                                     boolean p_bIncludeAnonymous)
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.

Parameters:
p_bIncludeAnonymous - true if the list should include anonymous users, or false otherwise.
p_filter - A filter for users.
Returns:
The (possibly empty) list of requested users.

getLoggedOnUsersDistinct

public static java.util.List<IUser> getLoggedOnUsersDistinct()
Get a distinct list of non-anonymous users that are currently logged in.

Returns:
The (possibly empty) list of requested users.

getLoggedOnUsersDistinct

public static java.util.List<IUser> getLoggedOnUsersDistinct(IFilter<IUser> p_filter)
Get a distinct list of non-anonymous users that pass the given filter and that are currently logged in.

Parameters:
p_filter - A filter for users.
Returns:
The (possibly empty) list of requested users.


Last updated: 2011-08-11 10-04
Copyright © 2000-2011 United Planet. All Rights Reserved.