Class 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
    • Field Detail

    • 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:
        queryAndFilter in class org.alfresco.query.AbstractCannedQuery<org.alfresco.service.cmr.repository.NodeRef>
      • isApplyPostQuerySorting

        protected boolean isApplyPostQuerySorting()
        Overrides:
        isApplyPostQuerySorting in class org.alfresco.query.AbstractCannedQuery<org.alfresco.service.cmr.repository.NodeRef>
      • isApplyPostQueryPermissions

        protected boolean isApplyPostQueryPermissions()
        Overrides:
        isApplyPostQueryPermissions in class org.alfresco.query.AbstractCannedQuery<org.alfresco.service.cmr.repository.NodeRef>
      • isApplyPostQueryPaging

        protected boolean isApplyPostQueryPaging()
        Overrides:
        isApplyPostQueryPaging in class org.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:
        getTotalResultCount in class org.alfresco.query.AbstractCannedQuery<org.alfresco.service.cmr.repository.NodeRef>