Class ClientAccessControlPolicyIterator

  extended by org.apache.jackrabbit.rmi.client.ClientObject
      extended by org.apache.jackrabbit.rmi.client.iterator.ClientIterator
          extended by
All Implemented Interfaces:
Iterator, RangeIterator, AccessControlPolicyIterator

public class ClientAccessControlPolicyIterator
extends ClientIterator
implements AccessControlPolicyIterator

A ClientIterator for iterating remote access control policies.

Constructor Summary
ClientAccessControlPolicyIterator(RemoteIterator iterator, LocalAdapterFactory factory)
Method Summary
protected  Object getObject(Object remote)
          Returns a local adapter for the given remote object.
 AccessControlPolicy nextAccessControlPolicy()
Methods inherited from class org.apache.jackrabbit.rmi.client.iterator.ClientIterator
getPosition, getSize, hasNext, next, remove, skip
Methods inherited from class org.apache.jackrabbit.rmi.client.ClientObject
getFactory, getItem, getNode, getNodeTypeArray
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface javax.jcr.RangeIterator
getPosition, getSize, skip
Methods inherited from interface java.util.Iterator
hasNext, next, remove

Constructor Detail


public ClientAccessControlPolicyIterator(RemoteIterator iterator,
                                         LocalAdapterFactory factory)
Method Detail


protected Object getObject(Object remote)
Returns a local adapter for the given remote object. This abstract method is used by to convert the remote references returned by the remote iterator to local adapters.

Subclasses should implement this method to use the local adapter factory to create local adapters of the specific element type.

Specified by:
getObject in class ClientIterator
remote - remote object
local adapter


public AccessControlPolicy nextAccessControlPolicy()

Specified by:
nextAccessControlPolicy in interface AccessControlPolicyIterator

Copyright © 2004-2010 The Apache Software Foundation. All Rights Reserved.