public abstract class AbstractCannedQueryPermissions<R> extends AbstractCannedQuery<R>
| Modifier | Constructor and Description |
|---|---|
protected |
AbstractCannedQueryPermissions(CannedQueryParameters parameters,
MethodSecurityBean<R> methodSecurity) |
| Modifier and Type | Method and Description |
|---|---|
protected List<R> |
applyPostQueryPermissions(List<R> results,
int requestedCount) |
protected 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.
|
applyPostQueryPaging, applyPostQuerySorting, execute, getParameters, isApplyPostQueryPaging, isApplyPostQuerySorting, queryAndFilter, toStringprotected AbstractCannedQueryPermissions(CannedQueryParameters parameters, MethodSecurityBean<R> methodSecurity)
protected boolean isApplyPostQueryPermissions()
isApplyPostQueryPermissions in class AbstractCannedQuery<R>protected List<R> applyPostQueryPermissions(List<R> results, int requestedCount)
applyPostQueryPermissions in class AbstractCannedQuery<R>protected Pair<Integer,Integer> getTotalResultCount(List<R> results)
getTotalResultCount in class AbstractCannedQuery<R>Copyright © 2005–2021 Alfresco Software. All rights reserved.