eXo JCR :: Ext :: Services 1.16.0-Alpha1

org.exoplatform.services.jcr.ext.organization
Class UserByGroupJCRUserListAccess

java.lang.Object
  extended by org.exoplatform.services.jcr.ext.organization.JCRUserListAccess
      extended by org.exoplatform.services.jcr.ext.organization.UserByGroupJCRUserListAccess
All Implemented Interfaces:
org.exoplatform.commons.utils.ListAccess<org.exoplatform.services.organization.User>

public class UserByGroupJCRUserListAccess
extends JCRUserListAccess

Created by The eXo Platform SAS.

Version:
$Id: UserByGroupJCRUserListAccess.java 111 2008-11-11 11:11:11Z $
Author:
Anatoliy Bazko

Field Summary
 
Fields inherited from class org.exoplatform.services.jcr.ext.organization.JCRUserListAccess
DEFAULT_PAGE_SIZE, enabledOnly, iterator, LOG, service, uHandler, utils
 
Constructor Summary
UserByGroupJCRUserListAccess(JCROrganizationServiceImpl service, String groupId, boolean enabledOnly)
          UserByGroupJCRUserListAccess constructor.
 
Method Summary
protected  javax.jcr.NodeIterator createIterator(javax.jcr.Session session)
          Returns iterator over entities.
protected  int getSize(javax.jcr.Session session)
          Determines the count of available users.
protected  Object readObject(javax.jcr.Node node)
          Reads entity from node.
 
Methods inherited from class org.exoplatform.services.jcr.ext.organization.JCRUserListAccess
accept, canReuseIterator, getSize, load, reuseIterator
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UserByGroupJCRUserListAccess

public UserByGroupJCRUserListAccess(JCROrganizationServiceImpl service,
                                    String groupId,
                                    boolean enabledOnly)
                             throws javax.jcr.RepositoryException
UserByGroupJCRUserListAccess constructor.

Throws:
javax.jcr.RepositoryException
Method Detail

getSize

protected int getSize(javax.jcr.Session session)
               throws Exception
Determines the count of available users.

Specified by:
getSize in class JCRUserListAccess
Throws:
Exception

readObject

protected Object readObject(javax.jcr.Node node)
                     throws Exception
Reads entity from node.

Specified by:
readObject in class JCRUserListAccess
Throws:
Exception

createIterator

protected javax.jcr.NodeIterator createIterator(javax.jcr.Session session)
                                         throws javax.jcr.RepositoryException
Returns iterator over entities.

Specified by:
createIterator in class JCRUserListAccess
Throws:
javax.jcr.RepositoryException

eXo JCR :: Ext :: Services 1.16.0-Alpha1

Copyright © 2013 eXo Platform SAS. All Rights Reserved.