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 aNodeEntitywhich 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
- Author:
- Nick Burch
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classNodeWithChildrenEntity.NameAndCreatedAt
-
Constructor Summary
Constructors Constructor Description NodeWithChildrenEntity()Default constructorNodeWithChildrenEntity(Long parentNodeId, Long nameQNameId, Long contentTypeQNameId, Long childrenTypeQNameId)Query constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<NodeWithChildrenEntity.NameAndCreatedAt>getChildren()LonggetChildrenTypeQNameId()If set, the ID of the children's content type to limit the children too.voidsetChildren(List<NodeWithChildrenEntity.NameAndCreatedAt> children)-
Methods inherited from class org.alfresco.repo.query.NodeBackedEntity
getContentTypeQNameId, getCreatedDate, getCreator, getId, getModifiedDate, getModifier, getName, getNameQNameId, getNode, getNodeRef, getParentNodeId, setId, setName, setNode
-
-
-
-
Method Detail
-
getChildren
public List<NodeWithChildrenEntity.NameAndCreatedAt> getChildren()
- Returns:
- Child Node name+created at
-
setChildren
public void setChildren(List<NodeWithChildrenEntity.NameAndCreatedAt> children)
-
getChildrenTypeQNameId
public Long getChildrenTypeQNameId()
If set, the ID of the children's content type to limit the children too.
-
-