Class GetPeopleCannedQuery
- java.lang.Object
-
- org.alfresco.query.AbstractCannedQuery<NodeRef>
-
- org.alfresco.repo.security.person.GetPeopleCannedQuery
-
- All Implemented Interfaces:
CannedQuery<NodeRef>
public class GetPeopleCannedQuery extends AbstractCannedQuery<NodeRef>
GetPeople canned query To get paged list of children of a parent node filtered by child type. Also optionally filtered and/or sorted by one or more properties (up to three).- Since:
- 4.1.2
- Author:
- janv
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description protected classGetPeopleCannedQuery.DefaultPersonQueryCallbackprotected static interfaceGetPeopleCannedQuery.PersonQueryCallbackprotected classGetPeopleCannedQuery.PersonResultHandler
-
Field Summary
Fields Modifier and Type Field Description static intMAX_FILTER_SORT_PROPS
-
Constructor Summary
Constructors Constructor Description GetPeopleCannedQuery(NodeDAO nodeDAO, QNameDAO qnameDAO, CannedQueryDAO cannedQueryDAO, TenantService tenantService, NodeService nodeService, AuthorityService authorityService, CannedQueryParameters params)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected Pair<Integer,Integer>getTotalResultCount(List<NodeRef> results)protected booleanisApplyPostQueryPaging()protected booleanisApplyPostQueryPermissions()protected booleanisApplyPostQuerySorting()protected List<NodeRef>queryAndFilter(CannedQueryParameters parameters)-
Methods inherited from class org.alfresco.query.AbstractCannedQuery
applyPostQueryPaging, applyPostQueryPermissions, applyPostQuerySorting, execute, getParameters, toString
-
-
-
-
Field Detail
-
MAX_FILTER_SORT_PROPS
public static final int MAX_FILTER_SORT_PROPS
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
GetPeopleCannedQuery
public GetPeopleCannedQuery(NodeDAO nodeDAO, QNameDAO qnameDAO, CannedQueryDAO cannedQueryDAO, TenantService tenantService, NodeService nodeService, AuthorityService authorityService, CannedQueryParameters params)
-
-
Method Detail
-
queryAndFilter
protected List<NodeRef> queryAndFilter(CannedQueryParameters parameters)
- Specified by:
queryAndFilterin classAbstractCannedQuery<NodeRef>
-
isApplyPostQuerySorting
protected boolean isApplyPostQuerySorting()
- Overrides:
isApplyPostQuerySortingin classAbstractCannedQuery<NodeRef>
-
isApplyPostQueryPermissions
protected boolean isApplyPostQueryPermissions()
- Overrides:
isApplyPostQueryPermissionsin classAbstractCannedQuery<NodeRef>
-
isApplyPostQueryPaging
protected boolean isApplyPostQueryPaging()
- Overrides:
isApplyPostQueryPagingin classAbstractCannedQuery<NodeRef>
-
getTotalResultCount
protected Pair<Integer,Integer> getTotalResultCount(List<NodeRef> results)
- Overrides:
getTotalResultCountin classAbstractCannedQuery<NodeRef>
-
-