|
eXo JCR :: Ext :: Services 1.15.0-CR2 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.exoplatform.services.jcr.ext.organization.JCRUserListAccess
public abstract class JCRUserListAccess
Created by The eXo Platform SAS.
| Field Summary | |
|---|---|
static int |
DEFAULT_PAGE_SIZE
Default value of page size. |
protected javax.jcr.NodeIterator |
iterator
Iterator by children items. |
protected JCROrganizationServiceImpl |
service
JCR implementation of OrganizationService. |
protected UserHandlerImpl |
uHandler
JCR implementation of UserHandler. |
protected Utils |
utils
Utility class. |
| Constructor Summary | |
|---|---|
JCRUserListAccess(JCROrganizationServiceImpl service)
JCRListAccess constructor. |
|
| Method Summary | |
|---|---|
protected boolean |
canReuseIterator()
Indicates if we able to reuse current iterator. |
protected abstract javax.jcr.NodeIterator |
createIterator(javax.jcr.Session session)
Returns iterator over entities. |
int |
getSize()
|
protected abstract int |
getSize(javax.jcr.Session session)
Determines the count of available users. |
org.exoplatform.services.organization.User[] |
load(int index,
int length)
|
protected abstract Object |
readObject(javax.jcr.Node node)
Reads entity from node. |
protected void |
reuseIterator(javax.jcr.Session session,
int newPosition)
Check if possible to reuse current iterator (which means possibility to fetch next nodes in row). |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int DEFAULT_PAGE_SIZE
protected final JCROrganizationServiceImpl service
OrganizationService.
protected final UserHandlerImpl uHandler
UserHandler.
protected final Utils utils
protected javax.jcr.NodeIterator iterator
| Constructor Detail |
|---|
public JCRUserListAccess(JCROrganizationServiceImpl service)
throws javax.jcr.RepositoryException
javax.jcr.RepositoryException| Method Detail |
|---|
public org.exoplatform.services.organization.User[] load(int index,
int length)
throws Exception,
IllegalArgumentException
load in interface org.exoplatform.commons.utils.ListAccess<org.exoplatform.services.organization.User>Exception
IllegalArgumentException
public int getSize()
throws Exception
getSize in interface org.exoplatform.commons.utils.ListAccess<org.exoplatform.services.organization.User>Exception
protected void reuseIterator(javax.jcr.Session session,
int newPosition)
throws javax.jcr.RepositoryException
javax.jcr.RepositoryExceptionprotected boolean canReuseIterator()
protected abstract Object readObject(javax.jcr.Node node)
throws Exception
Exception
protected abstract javax.jcr.NodeIterator createIterator(javax.jcr.Session session)
throws javax.jcr.RepositoryException
javax.jcr.RepositoryException
protected abstract int getSize(javax.jcr.Session session)
throws Exception
Exception
|
eXo JCR :: Ext :: Services 1.15.0-CR2 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||