org.alfresco.repo.discussion.cannedqueries
Class NodeWithChildrenEntity
java.lang.Object
org.alfresco.repo.query.NodeBackedEntity
org.alfresco.repo.discussion.cannedqueries.NodeWithChildrenEntity
- All Implemented Interfaces:
- PermissionCheckValue
- Direct Known Subclasses:
- GetDiscussionTopcisWithPostsCannedQueryParams
public class NodeWithChildrenEntity
- extends NodeBackedEntity
An extension of a NodeEntity
which has the name
of all children of it, used with the discussions
canned queries.
As well as the name comes some auditable information, but
not full nodes as we don't do permissions checking on
the children.
- Since:
- 4.0
Constructor Summary |
NodeWithChildrenEntity()
Default constructor |
NodeWithChildrenEntity(java.lang.Long parentNodeId,
java.lang.Long nameQNameId,
java.lang.Long contentTypeQNameId,
java.lang.Long childrenTypeQNameId)
Query constructor |
Methods inherited from class org.alfresco.repo.query.NodeBackedEntity |
getContentTypeQNameId, getCreatedDate, getCreator, getId, getModifiedDate, getModifier, getName, getNameQNameId, getNode, getNodeRef, getParentNodeId, setId, setName, setNode |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NodeWithChildrenEntity
public NodeWithChildrenEntity()
- Default constructor
NodeWithChildrenEntity
public NodeWithChildrenEntity(java.lang.Long parentNodeId,
java.lang.Long nameQNameId,
java.lang.Long contentTypeQNameId,
java.lang.Long childrenTypeQNameId)
- Query constructor
getChildren
public java.util.List getChildren()
- Returns:
- Child Node name+created at
setChildren
public void setChildren(java.util.List children)
getChildrenTypeQNameId
public java.lang.Long getChildrenTypeQNameId()
- If set, the ID of the children's content type to limit
the children too.
Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.