info.magnolia.module.workflow.jcr
Class JCRExpressionStore.StoreIterator

java.lang.Object
  extended by info.magnolia.module.workflow.jcr.JCRExpressionStore.StoreIterator
All Implemented Interfaces:
Iterator
Enclosing class:
JCRExpressionStore

protected final class JCRExpressionStore.StoreIterator
extends Object
implements Iterator

'lightweight' storeIterator. The previous version were stuffing all the expression within a collection and returning an iterator on it.

The remaining question is : what's behind Magnolia's Content.iterator() method ?


Constructor Summary
JCRExpressionStore.StoreIterator(Class assignClass)
           
 
Method Summary
 openwfe.org.engine.expressions.FlowExpression fetchNext()
           
 boolean hasNext()
           
 Object next()
           
 void remove()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JCRExpressionStore.StoreIterator

public JCRExpressionStore.StoreIterator(Class assignClass)
                                 throws Exception
Throws:
Exception
Method Detail

hasNext

public boolean hasNext()
Specified by:
hasNext in interface Iterator

fetchNext

public openwfe.org.engine.expressions.FlowExpression fetchNext()

next

public Object next()
            throws NoSuchElementException
Specified by:
next in interface Iterator
Throws:
NoSuchElementException

remove

public void remove()
Specified by:
remove in interface Iterator


Copyright © 2003-2011 Magnolia International Ltd.. All Rights Reserved.