org.exoplatform.clouddrive.cmis
Class CMISAPI.ChildrenIterator
java.lang.Object
org.exoplatform.clouddrive.utils.ChunkIterator<org.apache.chemistry.opencmis.client.api.CmisObject>
org.exoplatform.clouddrive.cmis.CMISAPI.ChildrenIterator
- Enclosing class:
- CMISAPI
protected class CMISAPI.ChildrenIterator
- extends org.exoplatform.clouddrive.utils.ChunkIterator<org.apache.chemistry.opencmis.client.api.CmisObject>
Iterator over whole set of items from cloud service. This iterator hides next-chunk logic on
request to the service.
Iterator methods can throw CloudDriveException in case of remote or communication errors.
|
Field Summary |
protected org.apache.chemistry.opencmis.client.api.ItemIterable<org.apache.chemistry.opencmis.client.api.CmisObject> |
children
Parent's children objects. |
protected String |
folderId
|
protected org.apache.chemistry.opencmis.client.api.Folder |
parent
Parent folder. |
| Fields inherited from class org.exoplatform.clouddrive.utils.ChunkIterator |
available, fetched, iter, next |
| Methods inherited from class org.exoplatform.clouddrive.utils.ChunkIterator |
available, getAvailable, getFetched, hasNext, next |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
folderId
protected final String folderId
parent
protected org.apache.chemistry.opencmis.client.api.Folder parent
- Parent folder.
children
protected org.apache.chemistry.opencmis.client.api.ItemIterable<org.apache.chemistry.opencmis.client.api.CmisObject> children
- Parent's children objects.
CMISAPI.ChildrenIterator
protected CMISAPI.ChildrenIterator(String folderId)
throws org.exoplatform.clouddrive.CloudDriveException
- Throws:
org.exoplatform.clouddrive.CloudDriveException
nextChunk
protected Iterator<org.apache.chemistry.opencmis.client.api.CmisObject> nextChunk()
throws org.exoplatform.clouddrive.CloudDriveException
- Specified by:
nextChunk in class org.exoplatform.clouddrive.utils.ChunkIterator<org.apache.chemistry.opencmis.client.api.CmisObject>
- Throws:
org.exoplatform.clouddrive.CloudDriveException
hasNextChunk
protected boolean hasNextChunk()
- Specified by:
hasNextChunk in class org.exoplatform.clouddrive.utils.ChunkIterator<org.apache.chemistry.opencmis.client.api.CmisObject>
Copyright © 2003–2015 eXo Platform SAS. All rights reserved.