Class GetChildrenCannedQuery
java.lang.Object
org.alfresco.query.AbstractCannedQuery<R>
org.alfresco.repo.security.permissions.impl.acegi.AbstractCannedQueryPermissions<NodeRef>
org.alfresco.repo.node.getchildren.GetChildrenCannedQuery
org.alfresco.repo.model.filefolder.GetChildrenCannedQuery
- All Implemented Interfaces:
org.alfresco.query.CannedQuery<NodeRef>
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
ConstructorsConstructorDescriptionGetChildrenCannedQuery(NodeDAO nodeDAO, QNameDAO qnameDAO, CannedQueryDAO cannedQueryDAO, NodePropertyHelper nodePropertyHelper, TenantService tenantService, NodeService nodeService, MethodSecurityBean<NodeRef> methodSecurity, org.alfresco.query.CannedQueryParameters params, HiddenAspect hiddenAspect, DictionaryService dictionaryService, Set<QName> ignoreAspectQNames) -
Method Summary
Modifier and TypeMethodDescriptiongetFilterSortChildQuery(List<GetChildrenCannedQuery.FilterSortNode> children, List<FilterProp> filterProps, GetChildrenCannedQueryParams paramBean) getUnsortedChildQueryCallback(List<NodeRef> rawResult, int requestedCount, GetChildrenCannedQueryParams paramBean) protected booleanincludeImpl(boolean ret, NodeRef nodeRef) Methods inherited from class org.alfresco.repo.node.getchildren.GetChildrenCannedQuery
applyPostQueryPermissions, isApplyPostQueryPermissions, isApplyPostQuerySorting, queryAndFilterMethods inherited from class org.alfresco.repo.security.permissions.impl.acegi.AbstractCannedQueryPermissions
getTotalResultCountMethods inherited from class org.alfresco.query.AbstractCannedQuery
applyPostQueryPaging, applyPostQuerySorting, execute, getParameters, isApplyPostQueryPaging, toString
-
Constructor Details
-
GetChildrenCannedQuery
public GetChildrenCannedQuery(NodeDAO nodeDAO, QNameDAO qnameDAO, CannedQueryDAO cannedQueryDAO, NodePropertyHelper nodePropertyHelper, TenantService tenantService, NodeService nodeService, MethodSecurityBean<NodeRef> methodSecurity, org.alfresco.query.CannedQueryParameters params, HiddenAspect hiddenAspect, DictionaryService dictionaryService, Set<QName> ignoreAspectQNames)
-
-
Method Details
-
getUnsortedChildQueryCallback
protected GetChildrenCannedQuery.UnsortedChildQueryCallback getUnsortedChildQueryCallback(List<NodeRef> rawResult, int requestedCount, GetChildrenCannedQueryParams paramBean) - Overrides:
getUnsortedChildQueryCallbackin classGetChildrenCannedQuery
-
getFilterSortChildQuery
protected GetChildrenCannedQuery.FilterSortChildQueryCallback getFilterSortChildQuery(List<GetChildrenCannedQuery.FilterSortNode> children, List<FilterProp> filterProps, GetChildrenCannedQueryParams paramBean) - Overrides:
getFilterSortChildQueryin classGetChildrenCannedQuery
-
includeImpl
-