Class GetNodesWithAspectCannedQueryFactory

  • All Implemented Interfaces:
    CannedQueryFactory<NodeRef>, org.springframework.beans.factory.Aware, org.springframework.beans.factory.BeanNameAware, org.springframework.beans.factory.InitializingBean

    public class GetNodesWithAspectCannedQueryFactory
    extends AbstractCannedQueryFactory<NodeRef>
    GetNodesWithAspectCannedQuery canned query factory - to get paged list of Nodes with a given Aspect
    Since:
    4.1
    Author:
    Nick Burch
    • Constructor Detail

      • GetNodesWithAspectCannedQueryFactory

        public GetNodesWithAspectCannedQueryFactory()
    • Method Detail

      • setNodeDAO

        public void setNodeDAO​(NodeDAO nodeDAO)
      • setTenantService

        public void setTenantService​(TenantService tenantService)
      • getCannedQuery

        public CannedQuery<NodeRef> getCannedQuery​(StoreRef storeRef,
                                                   Set<QName> aspectQNames,
                                                   PagingRequest pagingRequest)
        Retrieve an unsorted instance of a CannedQuery based on parameters including request for a total count (up to a given max)
        Parameters:
        storeRef - the store to search in, if requested
        aspectQNames - qnames of aspects to search for
        pagingRequest - skipCount, maxItems - optionally queryExecutionId and requestTotalCountMax
        Returns:
        an implementation that will execute the query