org.alfresco.repo.node.getchildren
Class GetChildrenCannedQuery
java.lang.Object
org.alfresco.query.AbstractCannedQuery
org.alfresco.repo.security.permissions.impl.acegi.AbstractCannedQueryPermissions
org.alfresco.repo.node.getchildren.GetChildrenCannedQuery
- All Implemented Interfaces:
- org.alfresco.query.CannedQuery
public class GetChildrenCannedQuery
- extends AbstractCannedQueryPermissions
GetChidren canned query
To get paged list of children of a parent node filtered by child type.
Also optionally filtered and/or sorted by one or more properties (up to three).
- Since:
- 4.0
Methods inherited from class org.alfresco.query.AbstractCannedQuery |
applyPostQueryPaging, applyPostQuerySorting, execute, getParameters, isApplyPostQueryPaging, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
MAX_FILTER_SORT_PROPS
public static final int MAX_FILTER_SORT_PROPS
- See Also:
- Constant Field Values
SORT_QNAME_CONTENT_SIZE
public static final org.alfresco.service.namespace.QName SORT_QNAME_CONTENT_SIZE
SORT_QNAME_CONTENT_MIMETYPE
public static final org.alfresco.service.namespace.QName SORT_QNAME_CONTENT_MIMETYPE
SORT_QNAME_NODE_TYPE
public static final org.alfresco.service.namespace.QName SORT_QNAME_NODE_TYPE
GetChildrenCannedQuery
public GetChildrenCannedQuery(NodeDAO nodeDAO,
QNameDAO qnameDAO,
CannedQueryDAO cannedQueryDAO,
NodePropertyHelper nodePropertyHelper,
org.alfresco.repo.tenant.TenantService tenantService,
MethodSecurityBean methodSecurity,
org.alfresco.query.CannedQueryParameters params)
queryAndFilter
protected java.util.List queryAndFilter(org.alfresco.query.CannedQueryParameters parameters)
- Specified by:
queryAndFilter
in class org.alfresco.query.AbstractCannedQuery
isApplyPostQuerySorting
protected boolean isApplyPostQuerySorting()
- Overrides:
isApplyPostQuerySorting
in class org.alfresco.query.AbstractCannedQuery
isApplyPostQueryPermissions
protected boolean isApplyPostQueryPermissions()
- Description copied from class:
AbstractCannedQueryPermissions
-
By default, the is a permission checking class. Override the method if you wish to
switch the behaviour at runtime.
- Overrides:
isApplyPostQueryPermissions
in class AbstractCannedQueryPermissions
- Returns:
- true always
applyPostQueryPermissions
protected java.util.List applyPostQueryPermissions(java.util.List results,
int requestedCount)
- Overrides:
applyPostQueryPermissions
in class AbstractCannedQueryPermissions
Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.