Package org.exoplatform.commons.utils

Examples of org.exoplatform.commons.utils.LazyPageList


   /**
    * {@inheritDoc}
    */
   public LazyPageList findUsers(org.exoplatform.services.organization.Query query) throws Exception
   {
      return new LazyPageList(new UserByQueryJCRUserListAccess(service, query), 10);
   }
View Full Code Here


   /**
    * {@inheritDoc}
    */
   public LazyPageList findUsersByGroup(String groupId) throws Exception
   {
      return new LazyPageList(new UserByGroupJCRUserListAccess(service, groupId), 10);
   }
View Full Code Here

   /**
    * {@inheritDoc}
    */
   public LazyPageList getUserPageList(int pageSize) throws Exception
   {
      return new LazyPageList(new SimpleJCRUserListAccess(service), pageSize);
   }
View Full Code Here

   /**
    * {@inheritDoc}
    */
   public LazyPageList findUsers(org.exoplatform.services.organization.Query query) throws Exception
   {
      return query.isEmpty() ? new LazyPageList(new SimpleJCRUserListAccess(service), 10) : new LazyPageList(
         new UserByQueryJCRUserListAccess(service, query), 10);
   }
View Full Code Here

   /**
    * {@inheritDoc}
    */
   public LazyPageList findUsersByGroup(String groupId) throws Exception
   {
      return new LazyPageList(new UserByGroupJCRUserListAccess(service, groupId), 10);
   }
View Full Code Here

   /**
    * {@inheritDoc}
    */
   public LazyPageList getUserPageList(int pageSize) throws Exception
   {
      return new LazyPageList(new SimpleJCRUserListAccess(service), pageSize);
   }
View Full Code Here

            Tools.logMethodIn(log, LogLevel.TRACE, "getUserPagetList", new Object[] { "pageSize", pageSize });
        }

        UserQueryBuilder qb = service_.getIdentitySession().createUserQueryBuilder();

        return new LazyPageList(new IDMUserListAccess(qb, pageSize, true), pageSize);
    }
View Full Code Here

            Tools.logMethodIn(log, LogLevel.TRACE, "findUsers", new Object[] { "q", q });
        }

        ListAccess list = findUsersByQuery(q);

        return new LazyPageList(list, 20);
    }
View Full Code Here

    public LazyPageList findUsersByGroup(String groupId) throws Exception {
        if (log.isTraceEnabled()) {
            Tools.logMethodIn(log, LogLevel.TRACE, "findUsersByGroup", new Object[] { "groupId", groupId });
        }

        return new LazyPageList(findUsersByGroupId(groupId), 20);
    }
View Full Code Here

   public LazyPageList getUserPageList(int pageSize) throws Exception
   {
      UserQueryBuilder qb = service_.getIdentitySession().createUserQueryBuilder();

      return new LazyPageList(new IDMUserListAccess(this, service_, qb, pageSize, true), pageSize);
   }
View Full Code Here

TOP

Related Classes of org.exoplatform.commons.utils.LazyPageList

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.