org.alfresco.opencmis.search
Class CMISResultSetRowIterator

java.lang.Object
  extended by org.alfresco.opencmis.search.CMISResultSetRowIterator
All Implemented Interfaces:
java.util.Iterator, java.util.ListIterator

public class CMISResultSetRowIterator
extends java.lang.Object
implements java.util.ListIterator


Constructor Summary
CMISResultSetRowIterator(CMISResultSet resultSet)
          Create an iterator over the result set.
 
Method Summary
 void add(CMISResultSetRow o)
           
 boolean allowsReverse()
           
 CMISResultSet getResultSet()
           
 boolean hasNext()
           
 boolean hasPrevious()
           
protected  int moveToNextPosition()
           
protected  int moveToPreviousPosition()
           
 CMISResultSetRow next()
           
 int nextIndex()
           
 CMISResultSetRow previous()
           
 int previousIndex()
           
 void remove()
           
 void set(CMISResultSetRow o)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CMISResultSetRowIterator

public CMISResultSetRowIterator(CMISResultSet resultSet)
Create an iterator over the result set. Follows stadard ListIterator conventions

Parameters:
resultSet -
Method Detail

getResultSet

public CMISResultSet getResultSet()

hasNext

public boolean hasNext()
Specified by:
hasNext in interface java.util.Iterator
Specified by:
hasNext in interface java.util.ListIterator

allowsReverse

public boolean allowsReverse()

hasPrevious

public boolean hasPrevious()
Specified by:
hasPrevious in interface java.util.ListIterator

next

public CMISResultSetRow next()
Specified by:
next in interface java.util.Iterator
Specified by:
next in interface java.util.ListIterator

moveToNextPosition

protected int moveToNextPosition()

previous

public CMISResultSetRow previous()
Specified by:
previous in interface java.util.ListIterator

moveToPreviousPosition

protected int moveToPreviousPosition()

nextIndex

public int nextIndex()
Specified by:
nextIndex in interface java.util.ListIterator

previousIndex

public int previousIndex()
Specified by:
previousIndex in interface java.util.ListIterator

remove

public void remove()
Specified by:
remove in interface java.util.Iterator
Specified by:
remove in interface java.util.ListIterator

set

public void set(CMISResultSetRow o)
Specified by:
set in interface java.util.ListIterator

add

public void add(CMISResultSetRow o)
Specified by:
add in interface java.util.ListIterator


Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.