Package org.alfresco.repo.node
Class GetNodesWithAspectCannedQueryFactory
java.lang.Object
org.alfresco.query.AbstractCannedQueryFactory<NodeRef>
org.alfresco.repo.node.GetNodesWithAspectCannedQueryFactory
- All Implemented Interfaces:
org.alfresco.query.CannedQueryFactory<NodeRef>,org.springframework.beans.factory.Aware,org.springframework.beans.factory.BeanNameAware,org.springframework.beans.factory.InitializingBean
public class GetNodesWithAspectCannedQueryFactory
extends org.alfresco.query.AbstractCannedQueryFactory<NodeRef>
GetNodesWithAspectCannedQuery canned query factory - to get paged list of
Nodes with a given Aspect
- Since:
- 4.1
- Author:
- Nick Burch
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidorg.alfresco.query.CannedQuery<NodeRef>getCannedQuery(org.alfresco.query.CannedQueryParameters parameters) org.alfresco.query.CannedQuery<NodeRef>getCannedQuery(StoreRef storeRef, Set<QName> aspectQNames, org.alfresco.query.PagingRequest pagingRequest) Retrieve an unsorted instance of aCannedQuerybased on parameters including request for a total count (up to a given max)voidsetMethodSecurity(MethodSecurityBean<NodeRef> methodSecurity) voidsetNodeDAO(NodeDAO nodeDAO) voidsetTenantService(TenantService tenantService) Methods inherited from class org.alfresco.query.AbstractCannedQueryFactory
getCannedQuery, getQueryExecutionId, setBeanName, setRegistry
-
Constructor Details
-
GetNodesWithAspectCannedQueryFactory
public GetNodesWithAspectCannedQueryFactory()
-
-
Method Details
-
setNodeDAO
-
setTenantService
-
setMethodSecurity
-
getCannedQuery
public org.alfresco.query.CannedQuery<NodeRef> getCannedQuery(org.alfresco.query.CannedQueryParameters parameters) -
getCannedQuery
public org.alfresco.query.CannedQuery<NodeRef> getCannedQuery(StoreRef storeRef, Set<QName> aspectQNames, org.alfresco.query.PagingRequest pagingRequest) Retrieve an unsorted instance of aCannedQuerybased on parameters including request for a total count (up to a given max)- Parameters:
storeRef- the store to search in, if requestedaspectQNames- qnames of aspects to search forpagingRequest- skipCount, maxItems - optionally queryExecutionId and requestTotalCountMax- Returns:
- an implementation that will execute the query
-
afterPropertiesSet
-