java.lang.Object
org.alfresco.repo.security.permissions.impl.acegi.WrappedList<T>
All Implemented Interfaces:
Iterable<T>, Collection<T>, List<T>, org.alfresco.query.PermissionedResults

public class WrappedList<T> extends Object implements List<T>, org.alfresco.query.PermissionedResults
Wrapped list for permission checking (eg. used by canned queries) which can be used to indicate that: - input results should be optionally permission checked up to a given maximum number of items (and then cutoff - ie. hasMoreItems = true) - have permission been applied to output results and were the permission checks cut-off (ie. hasMoreItems = true) either due to max items or system-wide time limit
Since:
4.0
Author:
janv
  • Constructor Details

    • WrappedList

      public WrappedList(List<T> wrapped, int maxChecks)
    • WrappedList

      public WrappedList(List<T> wrapped, boolean permissionsApplied, boolean hasMoreItems)
  • Method Details