Package org.alfresco.repo.node.archive
Class GetArchivedNodesCannedQuery
- java.lang.Object
-
- org.alfresco.query.AbstractCannedQuery<R>
-
- org.alfresco.repo.security.permissions.impl.acegi.AbstractCannedQueryPermissions<ArchivedNodeEntity>
-
- org.alfresco.repo.node.archive.GetArchivedNodesCannedQuery
-
- All Implemented Interfaces:
CannedQuery<ArchivedNodeEntity>
public class GetArchivedNodesCannedQuery extends AbstractCannedQueryPermissions<ArchivedNodeEntity>
Canned query for archived nodes.- Since:
- 4.2
- Author:
- Jamal Kaabi-Mofrad
-
-
Constructor Summary
Constructors Constructor Description GetArchivedNodesCannedQuery(CannedQueryDAO cannedQueryDAO, NodeDAO nodeDAO, MethodSecurityBean<ArchivedNodeEntity> methodSecurity, CannedQueryParameters params)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected Pair<Integer,Integer>getTotalResultCount(List<ArchivedNodeEntity> 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 booleanisApplyPostQueryPaging()protected List<ArchivedNodeEntity>queryAndFilter(CannedQueryParameters parameters)-
Methods inherited from class org.alfresco.repo.security.permissions.impl.acegi.AbstractCannedQueryPermissions
applyPostQueryPermissions, isApplyPostQueryPermissions
-
Methods inherited from class org.alfresco.query.AbstractCannedQuery
applyPostQueryPaging, applyPostQuerySorting, execute, getParameters, isApplyPostQuerySorting, toString
-
-
-
-
Constructor Detail
-
GetArchivedNodesCannedQuery
public GetArchivedNodesCannedQuery(CannedQueryDAO cannedQueryDAO, NodeDAO nodeDAO, MethodSecurityBean<ArchivedNodeEntity> methodSecurity, CannedQueryParameters params)
-
-
Method Detail
-
queryAndFilter
protected List<ArchivedNodeEntity> queryAndFilter(CannedQueryParameters parameters)
- Specified by:
queryAndFilterin classAbstractCannedQuery<ArchivedNodeEntity>
-
getTotalResultCount
protected Pair<Integer,Integer> getTotalResultCount(List<ArchivedNodeEntity> results)
Description copied from class:AbstractCannedQueryPermissionsOverrides 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.- Overrides:
getTotalResultCountin classAbstractCannedQueryPermissions<ArchivedNodeEntity>
-
isApplyPostQueryPaging
protected boolean isApplyPostQueryPaging()
- Overrides:
isApplyPostQueryPagingin classAbstractCannedQuery<ArchivedNodeEntity>
-
-