Package org.alfresco.repo.node
Class GetNodesWithAspectCannedQueryFactory
- java.lang.Object
-
- org.alfresco.query.AbstractCannedQueryFactory<NodeRef>
-
- org.alfresco.repo.node.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 Summary
Constructors Constructor Description GetNodesWithAspectCannedQueryFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidafterPropertiesSet()CannedQuery<NodeRef>getCannedQuery(CannedQueryParameters parameters)CannedQuery<NodeRef>getCannedQuery(StoreRef storeRef, Set<QName> aspectQNames, 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
-
-
-
-
Method Detail
-
setNodeDAO
public void setNodeDAO(NodeDAO nodeDAO)
-
setTenantService
public void setTenantService(TenantService tenantService)
-
setMethodSecurity
public void setMethodSecurity(MethodSecurityBean<NodeRef> methodSecurity)
-
getCannedQuery
public CannedQuery<NodeRef> getCannedQuery(CannedQueryParameters parameters)
-
getCannedQuery
public CannedQuery<NodeRef> getCannedQuery(StoreRef storeRef, Set<QName> aspectQNames, 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
public void afterPropertiesSet() throws Exception- Specified by:
afterPropertiesSetin interfaceorg.springframework.beans.factory.InitializingBean- Overrides:
afterPropertiesSetin classAbstractCannedQueryFactory<NodeRef>- Throws:
Exception
-
-