public class GetChildrenCannedQueryFactory
extends org.alfresco.query.AbstractCannedQueryFactory<org.alfresco.service.cmr.repository.NodeRef>
Modifier and Type | Field and Description |
---|---|
protected CannedQueryDAO |
cannedQueryDAO |
protected ContentDataDAO |
contentDataDAO |
protected org.alfresco.service.cmr.dictionary.DictionaryService |
dictionaryService |
protected LocaleDAO |
localeDAO |
protected MethodSecurityBean<org.alfresco.service.cmr.repository.NodeRef> |
methodSecurity |
protected NodeDAO |
nodeDAO |
protected org.alfresco.service.cmr.repository.NodeService |
nodeService |
protected QNameDAO |
qnameDAO |
protected org.alfresco.repo.tenant.TenantService |
tenantService |
Constructor and Description |
---|
GetChildrenCannedQueryFactory() |
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,
Set<org.alfresco.service.namespace.QName> assocTypeQNames,
Set<org.alfresco.service.namespace.QName> childTypeQNames,
List<FilterProp> filterProps,
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. |
org.alfresco.query.CannedQuery<org.alfresco.service.cmr.repository.NodeRef> |
getCannedQuery(org.alfresco.service.cmr.repository.NodeRef parentRef,
String pattern,
Set<org.alfresco.service.namespace.QName> assocTypeQNames,
Set<org.alfresco.service.namespace.QName> childTypeQNames,
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) |
org.alfresco.query.CannedQuery<org.alfresco.service.cmr.repository.NodeRef> |
getCannedQuery(org.alfresco.service.cmr.repository.NodeRef parentRef,
String pattern,
Set<org.alfresco.service.namespace.QName> assocTypeQNames,
Set<org.alfresco.service.namespace.QName> childTypeQNames,
Set<org.alfresco.service.namespace.QName> inclusiveAspects,
Set<org.alfresco.service.namespace.QName> exclusiveAspects,
List<FilterProp> filterProps,
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 |
setCannedQueryDAO(CannedQueryDAO cannedQueryDAO) |
void |
setContentDataDAO(ContentDataDAO contentDataDAO) |
void |
setDictionaryService(org.alfresco.service.cmr.dictionary.DictionaryService dictionaryService) |
void |
setLocaleDAO(LocaleDAO localeDAO) |
void |
setMethodSecurity(MethodSecurityBean<org.alfresco.service.cmr.repository.NodeRef> methodSecurity) |
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 org.alfresco.service.cmr.dictionary.DictionaryService dictionaryService
protected NodeDAO nodeDAO
protected QNameDAO qnameDAO
protected LocaleDAO localeDAO
protected ContentDataDAO contentDataDAO
protected CannedQueryDAO cannedQueryDAO
protected org.alfresco.repo.tenant.TenantService tenantService
protected org.alfresco.service.cmr.repository.NodeService nodeService
protected MethodSecurityBean<org.alfresco.service.cmr.repository.NodeRef> methodSecurity
public void setDictionaryService(org.alfresco.service.cmr.dictionary.DictionaryService dictionaryService)
public void setNodeDAO(NodeDAO nodeDAO)
public void setQnameDAO(QNameDAO qnameDAO)
public void setLocaleDAO(LocaleDAO localeDAO)
public void setContentDataDAO(ContentDataDAO contentDataDAO)
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 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.NodeRef parentRef, String pattern, Set<org.alfresco.service.namespace.QName> assocTypeQNames, Set<org.alfresco.service.namespace.QName> childTypeQNames, List<FilterProp> filterProps, 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 '*')assocTypeQNames
- qnames of assocs to include (may be null)childTypeQNames
- type qnames of children nodes (pre-filter)filterProps
- filter propertiessortProps
- sort property pairs (QName and Boolean - true if ascending)pagingRequest
- skipCount, maxItems - optionally queryExecutionId and requestTotalCountMaxpublic org.alfresco.query.CannedQuery<org.alfresco.service.cmr.repository.NodeRef> getCannedQuery(org.alfresco.service.cmr.repository.NodeRef parentRef, String pattern, Set<org.alfresco.service.namespace.QName> assocTypeQNames, Set<org.alfresco.service.namespace.QName> childTypeQNames, Set<org.alfresco.service.namespace.QName> inclusiveAspects, Set<org.alfresco.service.namespace.QName> exclusiveAspects, List<FilterProp> filterProps, 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 '*')assocTypeQNames
- qnames of assocs to include (may be null)childTypeQNames
- type qnames of children nodes (pre-filter)inclusiveAspects
- 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.filterProps
- filter propertiessortProps
- sort property pairs (QName and Boolean - true if ascending)pagingRequest
- skipCount, maxItems - optionally queryExecutionId and requestTotalCountMaxpublic org.alfresco.query.CannedQuery<org.alfresco.service.cmr.repository.NodeRef> getCannedQuery(org.alfresco.service.cmr.repository.NodeRef parentRef, String pattern, Set<org.alfresco.service.namespace.QName> assocTypeQNames, Set<org.alfresco.service.namespace.QName> childTypeQNames, org.alfresco.query.PagingRequest pagingRequest)
CannedQuery
based on parameters including request for a total count (up to a given max)parentRef
- parent node refpattern
- the pattern to use to filter children (wildcard character is '*')assocTypeQNames
- qnames of assocs to include (may be null)childTypeQNames
- type qnames of children nodespagingRequest
- 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.