javax.jcr.security
Interface AccessControlPolicyIterator

All Superinterfaces:
java.util.Iterator, RangeIterator

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:
java.util.NoSuchElementException - if iteration has no more AccessControlPolicys.


Copyright © 2009 Day Software. All Rights Reserved.