Package javax.jcr.security
Interface AccessControlPolicyIterator
- All Superinterfaces:
Iterator,RangeIterator
- All Known Implementing Classes:
AccessControlPolicyIteratorAdapter
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
Modifier and TypeMethodDescriptionReturns the nextAccessControlPolicyin the iteration.Methods inherited from interface java.util.Iterator
forEachRemaining, hasNext, next, removeMethods inherited from interface javax.jcr.RangeIterator
getPosition, getSize, skip
-
Method Details
-
nextAccessControlPolicy
AccessControlPolicy nextAccessControlPolicy()Returns the nextAccessControlPolicyin the iteration.- Returns:
- the next
AccessControlPolicyin the iteration. - Throws:
NoSuchElementException- if iteration has no moreAccessControlPolicys.
-