Class ClientVersionIterator
- java.lang.Object
-
- org.apache.jackrabbit.rmi.client.ClientObject
-
- org.apache.jackrabbit.rmi.client.iterator.ClientIterator
-
- org.apache.jackrabbit.rmi.client.iterator.ClientVersionIterator
-
- All Implemented Interfaces:
Iterator
,RangeIterator
,VersionIterator
@Deprecated(forRemoval=true) public class ClientVersionIterator extends ClientIterator implements VersionIterator
Deprecated, for removal: This API element is subject to removal in a future version.RMI support is deprecated and will be removed in a future version of Jackrabbit; see Jira ticket JCR-4972 for more information.A ClientIterator for iterating remote versions.
-
-
Constructor Summary
Constructors Constructor Description ClientVersionIterator(RemoteIterator iterator, Session session, LocalAdapterFactory factory)
Deprecated, for removal: This API element is subject to removal in a future version.Creates a ClientVersionIterator instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description protected Object
getObject(Object remote)
Deprecated, for removal: This API element is subject to removal in a future version.Creates and returns a local adapter for the given remote version.Version
nextVersion()
Deprecated, for removal: This API element is subject to removal in a future version.Returns the next version in this iteration.-
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 java.util.Iterator
forEachRemaining, hasNext, next, remove
-
Methods inherited from interface javax.jcr.RangeIterator
getPosition, getSize, skip
-
-
-
-
Constructor Detail
-
ClientVersionIterator
public ClientVersionIterator(RemoteIterator iterator, Session session, LocalAdapterFactory factory)
Deprecated, for removal: This API element is subject to removal in a future version.Creates a ClientVersionIterator instance.- Parameters:
iterator
- remote iteratorsession
- current sessionfactory
- local adapter factory
-
-
Method Detail
-
getObject
protected Object getObject(Object remote)
Deprecated, for removal: This API element is subject to removal in a future version.Creates and returns a local adapter for the given remote version.- Specified by:
getObject
in classClientIterator
- Parameters:
remote
- remote referecne- Returns:
- local adapter
- See Also:
ClientIterator.getObject(Object)
-
nextVersion
public Version nextVersion()
Deprecated, for removal: This API element is subject to removal in a future version.Returns the next version in this iteration.- Specified by:
nextVersion
in interfaceVersionIterator
- Returns:
- next version
- See Also:
VersionIterator.nextVersion()
-
-