public abstract class AbstractCannedQueryPermissions<R>
extends org.alfresco.query.AbstractCannedQuery<R>
Modifier | Constructor and Description |
---|---|
protected |
AbstractCannedQueryPermissions(org.alfresco.query.CannedQueryParameters parameters,
MethodSecurityBean<R> methodSecurity) |
Modifier and Type | Method and Description |
---|---|
protected List<R> |
applyPostQueryPermissions(List<R> results,
int requestedCount) |
protected org.alfresco.util.Pair<Integer,Integer> |
getTotalResultCount(List<R> results)
Overrides the default implementation to check for the permission data
that will allow a good guess as to the maximum number of results in
the event of a permission-based cut-off.
|
protected boolean |
isApplyPostQueryPermissions()
By default, the is a permission checking class.
|
protected AbstractCannedQueryPermissions(org.alfresco.query.CannedQueryParameters parameters, MethodSecurityBean<R> methodSecurity)
protected boolean isApplyPostQueryPermissions()
isApplyPostQueryPermissions
in class org.alfresco.query.AbstractCannedQuery<R>
protected List<R> applyPostQueryPermissions(List<R> results, int requestedCount)
applyPostQueryPermissions
in class org.alfresco.query.AbstractCannedQuery<R>
protected org.alfresco.util.Pair<Integer,Integer> getTotalResultCount(List<R> results)
getTotalResultCount
in class org.alfresco.query.AbstractCannedQuery<R>
Copyright © 2005–2017 Alfresco Software. All rights reserved.