org.apache.jackrabbit.api.jsr283.security
Interface AccessControlPolicyIterator

All Superinterfaces:
Iterator, RangeIterator
All Known Implementing Classes:
AccessControlPolicyIteratorAdapter

public interface AccessControlPolicyIterator
extends RangeIterator

Allows easy iteration through a list of AccessControlPolicys with nextAccessControlPolicy as well as a skip method inherited from RangeIterator.

Since:
JCR 2.0

Method Summary
 AccessControlPolicy nextAccessControlPolicy()
          Returns the next AccessControlPolicy in the iteration.
 
Methods inherited from interface javax.jcr.RangeIterator
getPosition, getSize, skip
 
Methods inherited from interface java.util.Iterator
hasNext, next, remove
 

Method Detail

nextAccessControlPolicy

AccessControlPolicy nextAccessControlPolicy()
Returns the next AccessControlPolicy in the iteration.

Returns:
the next AccessControlPolicy in the iteration.
Throws:
NoSuchElementException - if iteration has no more AccessControlPolicys.


Copyright © 2004-2009 The Apache Software Foundation. All Rights Reserved.