public class GetChildrenCannedQueryFactory extends AbstractCannedQueryFactory<NodeRef>
| Modifier and Type | Field and Description |
|---|---|
protected CannedQueryDAO |
cannedQueryDAO |
protected ContentDataDAO |
contentDataDAO |
protected DictionaryService |
dictionaryService |
protected LocaleDAO |
localeDAO |
protected MethodSecurityBean<NodeRef> |
methodSecurity |
protected NodeDAO |
nodeDAO |
protected NodeService |
nodeService |
protected QNameDAO |
qnameDAO |
protected TenantService |
tenantService |
| Constructor and Description |
|---|
GetChildrenCannedQueryFactory() |
| Modifier and Type | Method and Description |
|---|---|
void |
afterPropertiesSet() |
CannedQuery<NodeRef> |
getCannedQuery(CannedQueryParameters parameters) |
CannedQuery<NodeRef> |
getCannedQuery(NodeRef parentRef,
String pattern,
Set<QName> assocTypeQNames,
Set<QName> childTypeQNames,
List<FilterProp> filterProps,
List<Pair<QName,Boolean>> sortProps,
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. |
CannedQuery<NodeRef> |
getCannedQuery(NodeRef parentRef,
String pattern,
Set<QName> assocTypeQNames,
Set<QName> childTypeQNames,
PagingRequest pagingRequest)
Retrieve an unsorted instance of a
CannedQuery based on parameters including request for a total count (up to a given max) |
CannedQuery<NodeRef> |
getCannedQuery(NodeRef parentRef,
String pattern,
Set<QName> assocTypeQNames,
Set<QName> childTypeQNames,
Set<QName> inclusiveAspects,
Set<QName> exclusiveAspects,
List<FilterProp> filterProps,
List<Pair<QName,Boolean>> sortProps,
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(DictionaryService dictionaryService) |
void |
setLocaleDAO(LocaleDAO localeDAO) |
void |
setMethodSecurity(MethodSecurityBean<NodeRef> methodSecurity) |
void |
setNodeDAO(NodeDAO nodeDAO) |
void |
setNodeService(NodeService nodeService) |
void |
setQnameDAO(QNameDAO qnameDAO) |
void |
setTenantService(TenantService tenantService) |
getCannedQuery, getQueryExecutionId, setBeanName, setRegistryprotected DictionaryService dictionaryService
protected NodeDAO nodeDAO
protected QNameDAO qnameDAO
protected LocaleDAO localeDAO
protected ContentDataDAO contentDataDAO
protected CannedQueryDAO cannedQueryDAO
protected TenantService tenantService
protected NodeService nodeService
protected MethodSecurityBean<NodeRef> methodSecurity
public void setDictionaryService(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(TenantService tenantService)
public void setNodeService(NodeService nodeService)
public void setMethodSecurity(MethodSecurityBean<NodeRef> methodSecurity)
public CannedQuery<NodeRef> getCannedQuery(CannedQueryParameters parameters)
public CannedQuery<NodeRef> getCannedQuery(NodeRef parentRef, String pattern, Set<QName> assocTypeQNames, Set<QName> childTypeQNames, List<FilterProp> filterProps, List<Pair<QName,Boolean>> sortProps, 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 CannedQuery<NodeRef> getCannedQuery(NodeRef parentRef, String pattern, Set<QName> assocTypeQNames, Set<QName> childTypeQNames, Set<QName> inclusiveAspects, Set<QName> exclusiveAspects, List<FilterProp> filterProps, List<Pair<QName,Boolean>> sortProps, 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 CannedQuery<NodeRef> getCannedQuery(NodeRef parentRef, String pattern, Set<QName> assocTypeQNames, Set<QName> childTypeQNames, 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.InitializingBeanafterPropertiesSet in class AbstractCannedQueryFactory<NodeRef>ExceptionCopyright © 2005–2021 Alfresco Software. All rights reserved.