public class GetChildrenCannedQuery extends AbstractCannedQueryPermissions<org.alfresco.service.cmr.repository.NodeRef>
Modifier and Type | Class and Description |
---|---|
protected class |
GetChildrenCannedQuery.DefaultFilterSortChildQueryCallback |
protected class |
GetChildrenCannedQuery.DefaultUnsortedChildQueryCallback |
protected static interface |
GetChildrenCannedQuery.FilterSortChildQueryCallback |
protected class |
GetChildrenCannedQuery.FilterSortNode |
protected class |
GetChildrenCannedQuery.FilterSortResultHandler |
protected static interface |
GetChildrenCannedQuery.UnsortedChildQueryCallback |
Modifier and Type | Field and Description |
---|---|
static org.alfresco.service.namespace.QName |
FILTER_QNAME_NODE_IS_PRIMARY |
static int |
MAX_FILTER_SORT_PROPS |
protected org.alfresco.service.cmr.repository.NodeService |
nodeService |
static org.alfresco.service.namespace.QName |
SORT_QNAME_CONTENT_MIMETYPE |
static org.alfresco.service.namespace.QName |
SORT_QNAME_CONTENT_SIZE |
static org.alfresco.service.namespace.QName |
SORT_QNAME_NODE_IS_FOLDER |
static org.alfresco.service.namespace.QName |
SORT_QNAME_NODE_TYPE |
Constructor and 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) |
Modifier and Type | Method and Description |
---|---|
protected List<org.alfresco.service.cmr.repository.NodeRef> |
applyPostQueryPermissions(List<org.alfresco.service.cmr.repository.NodeRef> results,
int requestedCount) |
protected GetChildrenCannedQuery.FilterSortChildQueryCallback |
getFilterSortChildQuery(List<GetChildrenCannedQuery.FilterSortNode> children,
List<FilterProp> filterProps,
GetChildrenCannedQueryParams paramBean) |
protected GetChildrenCannedQuery.UnsortedChildQueryCallback |
getUnsortedChildQueryCallback(List<org.alfresco.service.cmr.repository.NodeRef> rawResult,
int requestedCount,
GetChildrenCannedQueryParams paramBean) |
protected boolean |
isApplyPostQueryPermissions()
By default, the is a permission checking class.
|
protected boolean |
isApplyPostQuerySorting() |
protected List<org.alfresco.service.cmr.repository.NodeRef> |
queryAndFilter(org.alfresco.query.CannedQueryParameters parameters) |
getTotalResultCount
public static final int MAX_FILTER_SORT_PROPS
public static final org.alfresco.service.namespace.QName SORT_QNAME_CONTENT_SIZE
public static final org.alfresco.service.namespace.QName SORT_QNAME_CONTENT_MIMETYPE
public static final org.alfresco.service.namespace.QName SORT_QNAME_NODE_TYPE
public static final org.alfresco.service.namespace.QName SORT_QNAME_NODE_IS_FOLDER
public static final org.alfresco.service.namespace.QName FILTER_QNAME_NODE_IS_PRIMARY
protected org.alfresco.service.cmr.repository.NodeService nodeService
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)
protected GetChildrenCannedQuery.FilterSortChildQueryCallback getFilterSortChildQuery(List<GetChildrenCannedQuery.FilterSortNode> children, List<FilterProp> filterProps, GetChildrenCannedQueryParams paramBean)
protected GetChildrenCannedQuery.UnsortedChildQueryCallback getUnsortedChildQueryCallback(List<org.alfresco.service.cmr.repository.NodeRef> rawResult, int requestedCount, GetChildrenCannedQueryParams paramBean)
protected List<org.alfresco.service.cmr.repository.NodeRef> queryAndFilter(org.alfresco.query.CannedQueryParameters parameters)
queryAndFilter
in class org.alfresco.query.AbstractCannedQuery<org.alfresco.service.cmr.repository.NodeRef>
protected boolean isApplyPostQuerySorting()
isApplyPostQuerySorting
in class org.alfresco.query.AbstractCannedQuery<org.alfresco.service.cmr.repository.NodeRef>
protected boolean isApplyPostQueryPermissions()
AbstractCannedQueryPermissions
isApplyPostQueryPermissions
in class AbstractCannedQueryPermissions<org.alfresco.service.cmr.repository.NodeRef>
protected List<org.alfresco.service.cmr.repository.NodeRef> applyPostQueryPermissions(List<org.alfresco.service.cmr.repository.NodeRef> results, int requestedCount)
applyPostQueryPermissions
in class AbstractCannedQueryPermissions<org.alfresco.service.cmr.repository.NodeRef>
Copyright © 2005–2017 Alfresco Software. All rights reserved.