public class GetPeopleCannedQueryFactory
extends org.alfresco.query.AbstractCannedQueryFactory<org.alfresco.service.cmr.repository.NodeRef>
Modifier and Type | Field and Description |
---|---|
protected AuthorityService |
authorityService |
protected CannedQueryDAO |
cannedQueryDAO |
protected NodeDAO |
nodeDAO |
protected org.alfresco.service.cmr.repository.NodeService |
nodeService |
protected QNameDAO |
qnameDAO |
protected org.alfresco.repo.tenant.TenantService |
tenantService |
Constructor and Description |
---|
GetPeopleCannedQueryFactory() |
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.NodeRef parentRef,
String pattern,
List<org.alfresco.service.namespace.QName> filterProps,
Set<org.alfresco.service.namespace.QName> inclusiveAspects,
Set<org.alfresco.service.namespace.QName> exclusiveAspects,
boolean includeAdministrators,
List<org.alfresco.util.Pair<org.alfresco.service.namespace.QName,Boolean>> sortProps,
org.alfresco.query.PagingRequest pagingRequest)
Retrieve an optionally filtered/sorted instance of a
CannedQuery based on parameters including request for a total count (up to a given max)
Note: if both filtering and sorting is required then the combined total of unique QName properties should be the 0 to 3. |
void |
setAuthorityService(AuthorityService authorityService) |
void |
setCannedQueryDAO(CannedQueryDAO cannedQueryDAO) |
void |
setNodeDAO(NodeDAO nodeDAO) |
void |
setNodeService(org.alfresco.service.cmr.repository.NodeService nodeService) |
void |
setQnameDAO(QNameDAO qnameDAO) |
void |
setTenantService(org.alfresco.repo.tenant.TenantService tenantService) |
protected NodeDAO nodeDAO
protected QNameDAO qnameDAO
protected CannedQueryDAO cannedQueryDAO
protected org.alfresco.repo.tenant.TenantService tenantService
protected org.alfresco.service.cmr.repository.NodeService nodeService
protected AuthorityService authorityService
public void setNodeDAO(NodeDAO nodeDAO)
public void setQnameDAO(QNameDAO qnameDAO)
public void setCannedQueryDAO(CannedQueryDAO cannedQueryDAO)
public void setTenantService(org.alfresco.repo.tenant.TenantService tenantService)
public void setNodeService(org.alfresco.service.cmr.repository.NodeService nodeService)
public void setAuthorityService(AuthorityService authorityService)
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.NodeRef parentRef, String pattern, List<org.alfresco.service.namespace.QName> filterProps, Set<org.alfresco.service.namespace.QName> inclusiveAspects, Set<org.alfresco.service.namespace.QName> exclusiveAspects, boolean includeAdministrators, List<org.alfresco.util.Pair<org.alfresco.service.namespace.QName,Boolean>> sortProps, org.alfresco.query.PagingRequest pagingRequest)
CannedQuery
based on parameters including request for a total count (up to a given max)
Note: if both filtering and sorting is required then the combined total of unique QName properties should be the 0 to 3.parentRef
- parent node refpattern
- the pattern to use to filter children (wildcard character is '*')filterProps
- filter propsinclusiveAspects
- If not null, only child nodes with any aspect in this collection will be included in the results.exclusiveAspects
- If not null, any child nodes with any aspect in this collection will be excluded in the results.includeAdministrators
- include administrators in the returned resultssortProps
- sort property pairs (QName and Boolean - true if ascending)pagingRequest
- 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.