Package org.nemesis.forum

Examples of org.nemesis.forum.ProfileManager.groups()


        int nb=manager.getGroupCount();
       
       
        GroupBean gb=null;
        Group group = null
        Iterator groupIterator = manager.groups(start,maxPageItems);
        while( groupIterator.hasNext() ) {
          group = (Group)groupIterator.next();
         
          if(!SecurityTools.isGroupAdmin(getAuthToken(request),group)){
            nb--;
View Full Code Here


  public static boolean isGroupAdmin(Authorization authToken) {
    if(isSystemAdmin(authToken)) return true;
   
    ForumFactory forumFactory = ForumFactory.getInstance(authToken);
    ProfileManager manager = forumFactory.getProfileManager();
    Iterator groupIterator = manager.groups();
    if (!groupIterator.hasNext()) {
      return false;
    }
    while (groupIterator.hasNext()) {
      Group group = (Group) groupIterator.next();
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.