Class DraftsAndPublishedBlogPostsCannedQuery
- java.lang.Object
-
- org.alfresco.query.AbstractCannedQuery<R>
-
- org.alfresco.repo.security.permissions.impl.acegi.AbstractCannedQueryPermissions<BlogEntity>
-
- org.alfresco.repo.blog.cannedqueries.DraftsAndPublishedBlogPostsCannedQuery
-
- All Implemented Interfaces:
CannedQuery<BlogEntity>
public class DraftsAndPublishedBlogPostsCannedQuery extends AbstractCannedQueryPermissions<BlogEntity>
This is aCannedQueryfor the rather particular 'get my drafts and all published' blog-post query.- Since:
- 4.0
- Author:
- Neil Mc Erlean
- See Also:
BlogService.getMyDraftsAndAllPublished(NodeRef, Date, Date, org.alfresco.query.PagingRequest)
-
-
Constructor Summary
Constructors Constructor Description DraftsAndPublishedBlogPostsCannedQuery(CannedQueryDAO cannedQueryDAO, MethodSecurityBean<BlogEntity> methodSecurity, CannedQueryParameters params)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected booleanisApplyPostQuerySorting()protected List<BlogEntity>queryAndFilter(CannedQueryParameters parameters)-
Methods inherited from class org.alfresco.repo.security.permissions.impl.acegi.AbstractCannedQueryPermissions
applyPostQueryPermissions, getTotalResultCount, isApplyPostQueryPermissions
-
Methods inherited from class org.alfresco.query.AbstractCannedQuery
applyPostQueryPaging, applyPostQuerySorting, execute, getParameters, isApplyPostQueryPaging, toString
-
-
-
-
Constructor Detail
-
DraftsAndPublishedBlogPostsCannedQuery
public DraftsAndPublishedBlogPostsCannedQuery(CannedQueryDAO cannedQueryDAO, MethodSecurityBean<BlogEntity> methodSecurity, CannedQueryParameters params)
-
-
Method Detail
-
queryAndFilter
protected List<BlogEntity> queryAndFilter(CannedQueryParameters parameters)
- Specified by:
queryAndFilterin classAbstractCannedQuery<BlogEntity>
-
isApplyPostQuerySorting
protected boolean isApplyPostQuerySorting()
- Overrides:
isApplyPostQuerySortingin classAbstractCannedQuery<BlogEntity>
-
-