Copyright© 2008-2012 SiteVision AB, all rights reserved.



javax.jcr.security
Interface PrincipalIterator

All Superinterfaces:
Iterator, RangeIterator

public interface PrincipalIterator
extends RangeIterator

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

SiteVision note: Unsupported operation

Since:
JCR 2.0

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

Method Detail

nextPrincipal

Principal nextPrincipal()
Returns the next Principal in the iteration.

Returns:
the next Principal in the iteration.
Throws:
NoSuchElementException - if iteration has no more Principals.


SiteVision - Portal and Content Management Made Easy
SiteVision is an advanced Java enterprise portal product and a portlet container (JSR 168) that implements Java Content Repository (JSR 283).

Copyright© 2008-2012 SiteVision AB, all rights reserved.