Interface AccessControlPolicyIterator

  • All Superinterfaces:
    java.util.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 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.