Class NodeWithChildrenEntity
java.lang.Object
org.alfresco.repo.query.NodeBackedEntity
org.alfresco.repo.discussion.cannedqueries.NodeWithChildrenEntity
- All Implemented Interfaces:
PermissionCheckValue
- Direct Known Subclasses:
GetDiscussionTopcisWithPostsCannedQueryParams
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
- Author:
- Nick Burch
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionDefault constructorNodeWithChildrenEntity(Long parentNodeId, Long nameQNameId, Long contentTypeQNameId, Long childrenTypeQNameId) Query constructor -
Method Summary
Modifier and TypeMethodDescriptionIf set, the ID of the children's content type to limit the children too.voidMethods inherited from class org.alfresco.repo.query.NodeBackedEntity
getContentTypeQNameId, getCreatedDate, getCreator, getId, getModifiedDate, getModifier, getName, getNameQNameId, getNode, getNodeRef, getParentNodeId, setId, setName, setNode
-
Constructor Details
-
Method Details
-
getChildren
- Returns:
- Child Node name+created at
-
setChildren
-
getChildrenTypeQNameId
If set, the ID of the children's content type to limit the children too.
-