Package javax.jcr.security
Interface AccessControlPolicyIterator
- All Superinterfaces:
Iterator
,RangeIterator
- All Known Implementing Classes:
AccessControlPolicyIteratorAdapter
Allows easy iteration through a list of
AccessControlPolicy
s
with nextAccessControlPolicy
as well as a skip
method inherited from RangeIterator
.- Since:
- JCR 2.0
-
Method Summary
Modifier and TypeMethodDescriptionReturns the nextAccessControlPolicy
in the iteration.Methods inherited from interface java.util.Iterator
forEachRemaining, hasNext, next, remove
Methods inherited from interface javax.jcr.RangeIterator
getPosition, getSize, skip
-
Method Details
-
nextAccessControlPolicy
AccessControlPolicy nextAccessControlPolicy()Returns the nextAccessControlPolicy
in the iteration.- Returns:
- the next
AccessControlPolicy
in the iteration. - Throws:
NoSuchElementException
- if iteration has no moreAccessControlPolicy
s.
-