public class GetChildrenCannedQuery extends AbstractCannedQueryPermissions<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 QName |
FILTER_QNAME_NODE_IS_PRIMARY |
static int |
MAX_FILTER_SORT_PROPS |
protected NodeService |
nodeService |
static QName |
SORT_QNAME_CONTENT_MIMETYPE |
static QName |
SORT_QNAME_CONTENT_SIZE |
static QName |
SORT_QNAME_NODE_IS_FOLDER |
static QName |
SORT_QNAME_NODE_TYPE |
| Constructor and Description |
|---|
GetChildrenCannedQuery(NodeDAO nodeDAO,
QNameDAO qnameDAO,
CannedQueryDAO cannedQueryDAO,
NodePropertyHelper nodePropertyHelper,
TenantService tenantService,
NodeService nodeService,
MethodSecurityBean<NodeRef> methodSecurity,
CannedQueryParameters params) |
| Modifier and Type | Method and Description |
|---|---|
protected List<NodeRef> |
applyPostQueryPermissions(List<NodeRef> results,
int requestedCount) |
protected GetChildrenCannedQuery.FilterSortChildQueryCallback |
getFilterSortChildQuery(List<GetChildrenCannedQuery.FilterSortNode> children,
List<FilterProp> filterProps,
GetChildrenCannedQueryParams paramBean) |
protected GetChildrenCannedQuery.UnsortedChildQueryCallback |
getUnsortedChildQueryCallback(List<NodeRef> rawResult,
int requestedCount,
GetChildrenCannedQueryParams paramBean) |
protected boolean |
isApplyPostQueryPermissions()
By default, the is a permission checking class.
|
protected boolean |
isApplyPostQuerySorting() |
protected List<NodeRef> |
queryAndFilter(CannedQueryParameters parameters) |
getTotalResultCountapplyPostQueryPaging, applyPostQuerySorting, execute, getParameters, isApplyPostQueryPaging, toStringpublic static final int MAX_FILTER_SORT_PROPS
public static final QName SORT_QNAME_CONTENT_SIZE
public static final QName SORT_QNAME_CONTENT_MIMETYPE
public static final QName SORT_QNAME_NODE_TYPE
public static final QName SORT_QNAME_NODE_IS_FOLDER
public static final QName FILTER_QNAME_NODE_IS_PRIMARY
protected NodeService nodeService
public GetChildrenCannedQuery(NodeDAO nodeDAO, QNameDAO qnameDAO, CannedQueryDAO cannedQueryDAO, NodePropertyHelper nodePropertyHelper, TenantService tenantService, NodeService nodeService, MethodSecurityBean<NodeRef> methodSecurity, CannedQueryParameters params)
protected GetChildrenCannedQuery.FilterSortChildQueryCallback getFilterSortChildQuery(List<GetChildrenCannedQuery.FilterSortNode> children, List<FilterProp> filterProps, GetChildrenCannedQueryParams paramBean)
protected GetChildrenCannedQuery.UnsortedChildQueryCallback getUnsortedChildQueryCallback(List<NodeRef> rawResult, int requestedCount, GetChildrenCannedQueryParams paramBean)
protected List<NodeRef> queryAndFilter(CannedQueryParameters parameters)
queryAndFilter in class AbstractCannedQuery<NodeRef>protected boolean isApplyPostQuerySorting()
isApplyPostQuerySorting in class AbstractCannedQuery<NodeRef>protected boolean isApplyPostQueryPermissions()
AbstractCannedQueryPermissionsisApplyPostQueryPermissions in class AbstractCannedQueryPermissions<NodeRef>protected List<NodeRef> applyPostQueryPermissions(List<NodeRef> results, int requestedCount)
applyPostQueryPermissions in class AbstractCannedQueryPermissions<NodeRef>Copyright © 2005–2021 Alfresco Software. All rights reserved.