Class GetChildrenCannedQuery
- java.lang.Object
-
- org.alfresco.query.AbstractCannedQuery<R>
-
- org.alfresco.repo.security.permissions.impl.acegi.AbstractCannedQueryPermissions<org.alfresco.service.cmr.repository.NodeRef>
-
- org.alfresco.repo.node.getchildren.GetChildrenCannedQuery
-
- org.alfresco.repo.model.filefolder.GetChildrenCannedQuery
-
- All Implemented Interfaces:
org.alfresco.query.CannedQuery<org.alfresco.service.cmr.repository.NodeRef>
public class GetChildrenCannedQuery extends GetChildrenCannedQuery
GetChidren canned query for files and folders. To get paged list of files and folders of a parent folder filtered by child type. Also optionally filtered and/or sorted by one or more properties (up to three). This is the same as the nodes getchildren canned query, except it takes into account hidden files and folders (with respect to client visibility) and other aspect(s) to ignore - eg. optionally "cm:checkedOut" in case of Share DocLib.- Since:
- 4.1.1
- Author:
- steveglover, janv
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.alfresco.repo.node.getchildren.GetChildrenCannedQuery
GetChildrenCannedQuery.DefaultFilterSortChildQueryCallback, GetChildrenCannedQuery.DefaultUnsortedChildQueryCallback, GetChildrenCannedQuery.FilterSortChildQueryCallback, GetChildrenCannedQuery.FilterSortNode, GetChildrenCannedQuery.FilterSortResultHandler, GetChildrenCannedQuery.UnsortedChildQueryCallback
-
-
Field Summary
-
Fields inherited from class org.alfresco.repo.node.getchildren.GetChildrenCannedQuery
FILTER_QNAME_NODE_IS_PRIMARY, MAX_FILTER_SORT_PROPS, SORT_QNAME_CONTENT_MIMETYPE, SORT_QNAME_CONTENT_SIZE, SORT_QNAME_NODE_IS_FOLDER, SORT_QNAME_NODE_TYPE
-
-
Constructor Summary
Constructors Constructor Description GetChildrenCannedQuery(NodeDAO nodeDAO, QNameDAO qnameDAO, CannedQueryDAO cannedQueryDAO, NodePropertyHelper nodePropertyHelper, org.alfresco.repo.tenant.TenantService tenantService, org.alfresco.service.cmr.repository.NodeService nodeService, MethodSecurityBean<org.alfresco.service.cmr.repository.NodeRef> methodSecurity, org.alfresco.query.CannedQueryParameters params, HiddenAspect hiddenAspect, org.alfresco.service.cmr.dictionary.DictionaryService dictionaryService, java.util.Set<org.alfresco.service.namespace.QName> ignoreAspectQNames)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected GetChildrenCannedQuery.FilterSortChildQueryCallbackgetFilterSortChildQuery(java.util.List<GetChildrenCannedQuery.FilterSortNode> children, java.util.List<FilterProp> filterProps, GetChildrenCannedQueryParams paramBean)protected GetChildrenCannedQuery.UnsortedChildQueryCallbackgetUnsortedChildQueryCallback(java.util.List<org.alfresco.service.cmr.repository.NodeRef> rawResult, int requestedCount, GetChildrenCannedQueryParams paramBean)protected booleanincludeImpl(boolean ret, org.alfresco.service.cmr.repository.NodeRef nodeRef)-
Methods inherited from class org.alfresco.repo.node.getchildren.GetChildrenCannedQuery
applyPostQueryPermissions, isApplyPostQueryPermissions, isApplyPostQuerySorting, queryAndFilter
-
Methods inherited from class org.alfresco.repo.security.permissions.impl.acegi.AbstractCannedQueryPermissions
getTotalResultCount
-
-
-
-
Constructor Detail
-
GetChildrenCannedQuery
public GetChildrenCannedQuery(NodeDAO nodeDAO, QNameDAO qnameDAO, CannedQueryDAO cannedQueryDAO, NodePropertyHelper nodePropertyHelper, org.alfresco.repo.tenant.TenantService tenantService, org.alfresco.service.cmr.repository.NodeService nodeService, MethodSecurityBean<org.alfresco.service.cmr.repository.NodeRef> methodSecurity, org.alfresco.query.CannedQueryParameters params, HiddenAspect hiddenAspect, org.alfresco.service.cmr.dictionary.DictionaryService dictionaryService, java.util.Set<org.alfresco.service.namespace.QName> ignoreAspectQNames)
-
-
Method Detail
-
getUnsortedChildQueryCallback
protected GetChildrenCannedQuery.UnsortedChildQueryCallback getUnsortedChildQueryCallback(java.util.List<org.alfresco.service.cmr.repository.NodeRef> rawResult, int requestedCount, GetChildrenCannedQueryParams paramBean)
- Overrides:
getUnsortedChildQueryCallbackin classGetChildrenCannedQuery
-
getFilterSortChildQuery
protected GetChildrenCannedQuery.FilterSortChildQueryCallback getFilterSortChildQuery(java.util.List<GetChildrenCannedQuery.FilterSortNode> children, java.util.List<FilterProp> filterProps, GetChildrenCannedQueryParams paramBean)
- Overrides:
getFilterSortChildQueryin classGetChildrenCannedQuery
-
includeImpl
protected boolean includeImpl(boolean ret, org.alfresco.service.cmr.repository.NodeRef nodeRef)
-
-