public class GetChildrenCannedQueryFactory
extends org.alfresco.query.AbstractCannedQueryFactory
| 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 |
methodSecurity |
protected NodeDAO |
nodeDAO |
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 |
getCannedQuery(org.alfresco.query.CannedQueryParameters parameters) |
org.alfresco.query.CannedQuery |
getCannedQuery(org.alfresco.service.cmr.repository.NodeRef parentRef,
java.lang.String pattern,
java.util.Set assocTypeQNames,
java.util.Set childTypeQNames,
java.util.List filterProps,
java.util.List 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 |
getCannedQuery(org.alfresco.service.cmr.repository.NodeRef parentRef,
java.lang.String pattern,
java.util.Set assocTypeQNames,
java.util.Set 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) |
void |
setCannedQueryDAO(CannedQueryDAO cannedQueryDAO) |
void |
setContentDataDAO(ContentDataDAO contentDataDAO) |
void |
setDictionaryService(org.alfresco.service.cmr.dictionary.DictionaryService dictionaryService) |
void |
setLocaleDAO(LocaleDAO localeDAO) |
void |
setMethodSecurity(MethodSecurityBean methodSecurity) |
void |
setNodeDAO(NodeDAO nodeDAO) |
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 MethodSecurityBean 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 setMethodSecurity(MethodSecurityBean methodSecurity)
public org.alfresco.query.CannedQuery getCannedQuery(org.alfresco.query.CannedQueryParameters parameters)
public org.alfresco.query.CannedQuery getCannedQuery(org.alfresco.service.cmr.repository.NodeRef parentRef,
java.lang.String pattern,
java.util.Set assocTypeQNames,
java.util.Set childTypeQNames,
java.util.List filterProps,
java.util.List 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 getCannedQuery(org.alfresco.service.cmr.repository.NodeRef parentRef,
java.lang.String pattern,
java.util.Set assocTypeQNames,
java.util.Set 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 java.lang.Exception
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBeanafterPropertiesSet in class org.alfresco.query.AbstractCannedQueryFactoryjava.lang.ExceptionCopyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.