public class NodeWithChildrenEntity extends NodeBackedEntity
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.Modifier and Type | Class and Description |
---|---|
static class |
NodeWithChildrenEntity.NameAndCreatedAt |
Constructor and Description |
---|
NodeWithChildrenEntity()
Default constructor
|
NodeWithChildrenEntity(Long parentNodeId,
Long nameQNameId,
Long contentTypeQNameId,
Long childrenTypeQNameId)
Query constructor
|
Modifier and Type | Method and Description |
---|---|
List<NodeWithChildrenEntity.NameAndCreatedAt> |
getChildren() |
Long |
getChildrenTypeQNameId()
If set, the ID of the children's content type to limit
the children too.
|
void |
setChildren(List<NodeWithChildrenEntity.NameAndCreatedAt> children) |
getContentTypeQNameId, getCreatedDate, getCreator, getId, getModifiedDate, getModifier, getName, getNameQNameId, getNode, getNodeRef, getParentNodeId, setId, setName, setNode
public List<NodeWithChildrenEntity.NameAndCreatedAt> getChildren()
public void setChildren(List<NodeWithChildrenEntity.NameAndCreatedAt> children)
public Long getChildrenTypeQNameId()
Copyright © 2005–2017 Alfresco Software. All rights reserved.