mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
ALF-9347 (SVC 42) - Blog CQ impl
- initial refactor - we have the option to push-down some of the prop filtering - note: BlogServiceImpl did not need to change - TODO: review tag req w/ Neil (either remove and/or push down) git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@28728 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -20,40 +20,36 @@ package org.alfresco.repo.blog.cannedqueries;
|
||||
|
||||
import java.util.Date;
|
||||
|
||||
import org.alfresco.service.cmr.repository.NodeRef;
|
||||
|
||||
/**
|
||||
* Parameters for {@link DraftsAndPublishedBlogPostsCannedQuery}.
|
||||
*
|
||||
* @author Neil Mc Erlean
|
||||
* @since 4.0
|
||||
*/
|
||||
public class DraftsAndPublishedBlogPostsCannedQueryParams
|
||||
public class DraftsAndPublishedBlogPostsCannedQueryParams extends BlogEntity
|
||||
{
|
||||
private final NodeRef blogContainerNode;
|
||||
private final String cmCreator;
|
||||
private final Date createdFromDate;
|
||||
private final Date createdToDate;
|
||||
private final String tag;
|
||||
|
||||
public DraftsAndPublishedBlogPostsCannedQueryParams(NodeRef blogContainerNodeRef,
|
||||
String cmCreator,
|
||||
Date createdFromDate,
|
||||
Date createdToDate,
|
||||
String tag)
|
||||
public DraftsAndPublishedBlogPostsCannedQueryParams(Long blogContainerNodeId,
|
||||
Long nameQNameId,
|
||||
Long publishedQNameId,
|
||||
Long contentTypeQNameId,
|
||||
String cmCreator,
|
||||
Date createdFromDate,
|
||||
Date createdToDate,
|
||||
String tag)
|
||||
{
|
||||
this.blogContainerNode = blogContainerNodeRef;
|
||||
super(blogContainerNodeId, nameQNameId, publishedQNameId, contentTypeQNameId, null, null);
|
||||
|
||||
this.cmCreator = cmCreator;
|
||||
this.createdFromDate = createdFromDate;
|
||||
this.createdToDate = createdToDate;
|
||||
this.tag = tag;
|
||||
}
|
||||
|
||||
public NodeRef getBlogContainerNode()
|
||||
{
|
||||
return blogContainerNode;
|
||||
}
|
||||
|
||||
public String getCmCreator()
|
||||
{
|
||||
return cmCreator;
|
||||
|
Reference in New Issue
Block a user