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(java.lang.Long parentNodeId,
java.lang.Long nameQNameId,
java.lang.Long contentTypeQNameId,
java.lang.Long childrenTypeQNameId)
Query constructor
|
| Modifier and Type | Method and Description |
|---|---|
java.util.List |
getChildren() |
java.lang.Long |
getChildrenTypeQNameId()
If set, the ID of the children's content type to limit
the children too.
|
void |
setChildren(java.util.List children) |
getContentTypeQNameId, getCreatedDate, getCreator, getId, getModifiedDate, getModifier, getName, getNameQNameId, getNode, getNodeRef, getParentNodeId, setId, setName, setNodepublic NodeWithChildrenEntity()
public NodeWithChildrenEntity(java.lang.Long parentNodeId,
java.lang.Long nameQNameId,
java.lang.Long contentTypeQNameId,
java.lang.Long childrenTypeQNameId)
public java.util.List getChildren()
public void setChildren(java.util.List children)
public java.lang.Long getChildrenTypeQNameId()
Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.