public class DraftsAndPublishedBlogPostsCannedQuery extends AbstractCannedQueryPermissions<BlogEntity>
CannedQuery
for the rather particular 'get my drafts and all published' blog-post query.BlogService.getMyDraftsAndAllPublished(NodeRef, Date, Date, org.alfresco.query.PagingRequest)
Constructor and Description |
---|
DraftsAndPublishedBlogPostsCannedQuery(CannedQueryDAO cannedQueryDAO,
MethodSecurityBean<BlogEntity> methodSecurity,
org.alfresco.query.CannedQueryParameters params) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
isApplyPostQuerySorting() |
protected List<BlogEntity> |
queryAndFilter(org.alfresco.query.CannedQueryParameters parameters) |
applyPostQueryPermissions, getTotalResultCount, isApplyPostQueryPermissions
public DraftsAndPublishedBlogPostsCannedQuery(CannedQueryDAO cannedQueryDAO, MethodSecurityBean<BlogEntity> methodSecurity, org.alfresco.query.CannedQueryParameters params)
protected List<BlogEntity> queryAndFilter(org.alfresco.query.CannedQueryParameters parameters)
queryAndFilter
in class org.alfresco.query.AbstractCannedQuery<BlogEntity>
protected boolean isApplyPostQuerySorting()
isApplyPostQuerySorting
in class org.alfresco.query.AbstractCannedQuery<BlogEntity>
Copyright © 2005–2017 Alfresco Software. All rights reserved.