Package org.jivesoftware.openfire.user

Examples of org.jivesoftware.openfire.user.UserCollection


     *
     * @return a list of all users
     */
    public Collection<User> getUsers() {
        Collection<String> usernames = getUsernames();
        return new UserCollection(usernames.toArray(new String[usernames.size()]));
    }
View Full Code Here


        // Filters the user
        for (int i = startIndex; (i < startIndex + numResults) && (i < usernamesAll.length); i++) {
            usernames.add(usernamesAll[i]);
        }

        return new UserCollection(usernames.toArray(new String[usernames.size()]));
    }
View Full Code Here

                usernames.add(username);
            }
        } catch (Exception e) {
            Log.error(e.getMessage(), e);
        }
        return new UserCollection(usernames.toArray(new String[usernames.size()]));
    }
View Full Code Here

            }

        } catch (Exception e) {
            Log.error(e.getMessage(), e);
        }
        return new UserCollection(usernames.toArray(new String[usernames.size()]));
    }
View Full Code Here

                MessageFormat.format(manager.getSearchFilter(), "*"),
                startIndex,
                numResults,
                manager.getUsernameSuffix()
        );
        return new UserCollection(userlist.toArray(new String[userlist.size()]));
    }
View Full Code Here

                filter.toString(),
                startIndex,
                numResults,
                manager.getUsernameSuffix()
        );
        return new UserCollection(userlist.toArray(new String[userlist.size()]));
    }
View Full Code Here

TOP

Related Classes of org.jivesoftware.openfire.user.UserCollection

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.