Class GetPeopleCannedQuery
- java.lang.Object
-
- org.alfresco.query.AbstractCannedQuery<org.alfresco.service.cmr.repository.NodeRef>
-
- org.alfresco.repo.security.person.GetPeopleCannedQuery
-
- All Implemented Interfaces:
org.alfresco.query.CannedQuery<org.alfresco.service.cmr.repository.NodeRef>
public class GetPeopleCannedQuery extends org.alfresco.query.AbstractCannedQuery<org.alfresco.service.cmr.repository.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, org.alfresco.repo.tenant.TenantService tenantService, org.alfresco.service.cmr.repository.NodeService nodeService, AuthorityService authorityService, org.alfresco.query.CannedQueryParameters params)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected org.alfresco.util.Pair<java.lang.Integer,java.lang.Integer>getTotalResultCount(java.util.List<org.alfresco.service.cmr.repository.NodeRef> results)protected booleanisApplyPostQueryPaging()protected booleanisApplyPostQueryPermissions()protected booleanisApplyPostQuerySorting()protected java.util.List<org.alfresco.service.cmr.repository.NodeRef>queryAndFilter(org.alfresco.query.CannedQueryParameters parameters)
-
-
-
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, org.alfresco.repo.tenant.TenantService tenantService, org.alfresco.service.cmr.repository.NodeService nodeService, AuthorityService authorityService, org.alfresco.query.CannedQueryParameters params)
-
-
Method Detail
-
queryAndFilter
protected java.util.List<org.alfresco.service.cmr.repository.NodeRef> queryAndFilter(org.alfresco.query.CannedQueryParameters parameters)
- Specified by:
queryAndFilterin classorg.alfresco.query.AbstractCannedQuery<org.alfresco.service.cmr.repository.NodeRef>
-
isApplyPostQuerySorting
protected boolean isApplyPostQuerySorting()
- Overrides:
isApplyPostQuerySortingin classorg.alfresco.query.AbstractCannedQuery<org.alfresco.service.cmr.repository.NodeRef>
-
isApplyPostQueryPermissions
protected boolean isApplyPostQueryPermissions()
- Overrides:
isApplyPostQueryPermissionsin classorg.alfresco.query.AbstractCannedQuery<org.alfresco.service.cmr.repository.NodeRef>
-
isApplyPostQueryPaging
protected boolean isApplyPostQueryPaging()
- Overrides:
isApplyPostQueryPagingin classorg.alfresco.query.AbstractCannedQuery<org.alfresco.service.cmr.repository.NodeRef>
-
getTotalResultCount
protected org.alfresco.util.Pair<java.lang.Integer,java.lang.Integer> getTotalResultCount(java.util.List<org.alfresco.service.cmr.repository.NodeRef> results)
- Overrides:
getTotalResultCountin classorg.alfresco.query.AbstractCannedQuery<org.alfresco.service.cmr.repository.NodeRef>
-
-