Class GetDiscussionTopcisWithPostsCannedQueryFactory
java.lang.Object
org.alfresco.query.AbstractCannedQueryFactory<R>
org.alfresco.repo.query.AbstractQNameAwareCannedQueryFactory<NodeWithChildrenEntity>
org.alfresco.repo.discussion.cannedqueries.GetDiscussionTopcisWithPostsCannedQueryFactory
- All Implemented Interfaces:
org.alfresco.query.CannedQueryFactory<NodeWithChildrenEntity>,org.springframework.beans.factory.Aware,org.springframework.beans.factory.BeanNameAware,org.springframework.beans.factory.InitializingBean
public class GetDiscussionTopcisWithPostsCannedQueryFactory
extends AbstractQNameAwareCannedQueryFactory<NodeWithChildrenEntity>
A
CannedQueryFactory for various queries relating to getting
Topics with some information on their Posts- Since:
- 4.0
- Author:
- Nick Burch
-
Nested Class Summary
Nested classes/interfaces inherited from class org.alfresco.repo.query.AbstractQNameAwareCannedQueryFactory
AbstractQNameAwareCannedQueryFactory.NestedComparator<R>, AbstractQNameAwareCannedQueryFactory.NodeBackedEntityComparator, AbstractQNameAwareCannedQueryFactory.PropertyBasedComparator<R> -
Field Summary
Fields inherited from class org.alfresco.repo.query.AbstractQNameAwareCannedQueryFactory
cannedQueryDAO, methodSecurity, nodeDAO, qnameDAO, tenantService -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidorg.alfresco.query.CannedQuery<NodeWithChildrenEntity>getCannedQuery(org.alfresco.query.CannedQueryParameters parameters) org.alfresco.query.CannedQuery<NodeWithChildrenEntity>getCannedQuery(NodeRef parentNodeRef, Date topicCreatedFrom, Date postCreatedFrom, boolean excludePrimaryPosts, org.alfresco.query.CannedQuerySortDetails sortDetails, org.alfresco.query.PagingRequest pagingReq) Methods inherited from class org.alfresco.repo.query.AbstractQNameAwareCannedQueryFactory
createCQPageDetails, createCQSortDetails, createDateAscendingCQSortDetails, createDateDescendingCQSortDetails, getNodeId, getQNameId, setCannedQueryDAO, setMethodSecurity, setNodeDAO, setQnameDAO, setTenantServiceMethods inherited from class org.alfresco.query.AbstractCannedQueryFactory
getCannedQuery, getQueryExecutionId, setBeanName, setRegistry
-
Constructor Details
-
GetDiscussionTopcisWithPostsCannedQueryFactory
public GetDiscussionTopcisWithPostsCannedQueryFactory()
-
-
Method Details
-
afterPropertiesSet
- Specified by:
afterPropertiesSetin interfaceorg.springframework.beans.factory.InitializingBean- Overrides:
afterPropertiesSetin classAbstractQNameAwareCannedQueryFactory<NodeWithChildrenEntity>- Throws:
Exception
-
getCannedQuery
public org.alfresco.query.CannedQuery<NodeWithChildrenEntity> getCannedQuery(org.alfresco.query.CannedQueryParameters parameters) -
getCannedQuery
public org.alfresco.query.CannedQuery<NodeWithChildrenEntity> getCannedQuery(NodeRef parentNodeRef, Date topicCreatedFrom, Date postCreatedFrom, boolean excludePrimaryPosts, org.alfresco.query.CannedQuerySortDetails sortDetails, org.alfresco.query.PagingRequest pagingReq)
-