public class GetNodesWithAspectCannedQueryFactory
extends org.alfresco.query.AbstractCannedQueryFactory<org.alfresco.service.cmr.repository.NodeRef>
Constructor and Description |
---|
GetNodesWithAspectCannedQueryFactory() |
Modifier and Type | Method and Description |
---|---|
void |
afterPropertiesSet() |
org.alfresco.query.CannedQuery<org.alfresco.service.cmr.repository.NodeRef> |
getCannedQuery(org.alfresco.query.CannedQueryParameters parameters) |
org.alfresco.query.CannedQuery<org.alfresco.service.cmr.repository.NodeRef> |
getCannedQuery(org.alfresco.service.cmr.repository.StoreRef storeRef,
Set<org.alfresco.service.namespace.QName> aspectQNames,
org.alfresco.query.PagingRequest pagingRequest)
Retrieve an unsorted instance of a
CannedQuery based on parameters including
request for a total count (up to a given max) |
void |
setMethodSecurity(MethodSecurityBean<org.alfresco.service.cmr.repository.NodeRef> methodSecurity) |
void |
setNodeDAO(NodeDAO nodeDAO) |
void |
setTenantService(org.alfresco.repo.tenant.TenantService tenantService) |
public GetNodesWithAspectCannedQueryFactory()
public void setNodeDAO(NodeDAO nodeDAO)
public void setTenantService(org.alfresco.repo.tenant.TenantService tenantService)
public void setMethodSecurity(MethodSecurityBean<org.alfresco.service.cmr.repository.NodeRef> methodSecurity)
public org.alfresco.query.CannedQuery<org.alfresco.service.cmr.repository.NodeRef> getCannedQuery(org.alfresco.query.CannedQueryParameters parameters)
public org.alfresco.query.CannedQuery<org.alfresco.service.cmr.repository.NodeRef> getCannedQuery(org.alfresco.service.cmr.repository.StoreRef storeRef, Set<org.alfresco.service.namespace.QName> aspectQNames, org.alfresco.query.PagingRequest pagingRequest)
CannedQuery
based on parameters including
request for a total count (up to a given max)storeRef
- the store to search in, if requestedaspectQNames
- qnames of aspects to search forpagingRequest
- skipCount, maxItems - optionally queryExecutionId and requestTotalCountMaxpublic void afterPropertiesSet() throws Exception
afterPropertiesSet
in interface org.springframework.beans.factory.InitializingBean
afterPropertiesSet
in class org.alfresco.query.AbstractCannedQueryFactory<org.alfresco.service.cmr.repository.NodeRef>
Exception
Copyright © 2005–2017 Alfresco Software. All rights reserved.