Package org.apache.jackrabbit.commons.iterator

Examples of org.apache.jackrabbit.commons.iterator.RangeIteratorAdapter


     * Creates an iterator for the given collection of <code>Principal</code>s.
     *
     * @param collection collection of {@link Principal} objects.
     */
    public PrincipalIteratorAdapter(Collection collection) {
        super(new RangeIteratorAdapter(collection));
    }
View Full Code Here


     * Creates an adapter for the given {@link Iterator}.
     *
     * @param iterator iterator of {@link AccessControlPolicy access control policies}.
     */
    public AccessControlPolicyIteratorAdapter(Iterator iterator) {
        super(new RangeIteratorAdapter(iterator));
    }
View Full Code Here

     * Creates an iterator for the given collection.
     *
     * @param collection collection of {@link AccessControlPolicy} objects.
     */
    public AccessControlPolicyIteratorAdapter(Collection collection) {
        super(new RangeIteratorAdapter(collection));
    }
View Full Code Here

            NodeEntry entry = childIter.next();
            if (!NameConstants.JCR_VERSIONLABELS.equals(entry.getName())) {
                versionEntries.add(entry);
            }
        }
        return new LazyItemIterator(getItemManager(), new RangeIteratorAdapter(versionEntries));
    }
View Full Code Here

            NodeEntry entry = it.next();
            if (EntryValidation.isValidNodeEntry(entry)) {
                entries.add(entry);
            }
        }
        return new RangeIteratorAdapter(Collections.unmodifiableCollection(entries));
    }
View Full Code Here

            }
        } else {
            // no need to filter out properties, there are no removed properties
            props = properties.getPropertyEntries();
        }
        return new RangeIteratorAdapter(Collections.unmodifiableCollection(props));
    }
View Full Code Here

    /**
     * @see QueryInfo#getRows()
     */
    public RangeIterator getRows() {
        return new RangeIteratorAdapter(results);
    }
View Full Code Here

            NodeEntry entry = (NodeEntry) childIter.next();
            if (!NameConstants.JCR_VERSIONLABELS.equals(entry.getName())) {
                versionEntries.add(entry);
            }
        }
        return new LazyItemIterator(getItemManager(), new RangeIteratorAdapter(versionEntries));
    }
View Full Code Here

            NodeEntry entry = (NodeEntry) it.next();
            if (EntryValidation.isValidNodeEntry(entry)) {
                entries.add(entry);
            }
        }
        return new RangeIteratorAdapter(Collections.unmodifiableCollection(entries));
    }
View Full Code Here

            }
        } else {
            // no need to filter out properties, there are no removed properties
            props = properties.getPropertyEntries();
        }
        return new RangeIteratorAdapter(Collections.unmodifiableCollection(props));
    }
View Full Code Here

TOP

Related Classes of org.apache.jackrabbit.commons.iterator.RangeIteratorAdapter

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.