Package org.alfresco.repo.template
Interface TemplateProperties
- All Superinterfaces:
Serializable,TemplateNodeRef
- All Known Subinterfaces:
TemplateContent
- All Known Implementing Classes:
BaseContentNode,BasePermissionsNode,CategoryTemplateNode,TemplateNode,VersionHistoryNode
Contract for Template API objects that have properties, aspects and children.
- Author:
- Kevin Roast
-
Method Summary
Modifier and TypeMethodDescriptionbooleanMethods inherited from interface org.alfresco.repo.template.TemplateNodeRef
getId, getName, getNodeRef, getType
-
Method Details
-
getProperties
Map<String,Serializable> getProperties()- Returns:
- The properties available on this node.
-
getAspects
- Returns:
- The list of aspects applied to this node
-
hasAspect
- Parameters:
aspect- The aspect name to test for- Returns:
- true if the node has the aspect false otherwise
-
getChildren
List<TemplateProperties> getChildren()- Returns:
- The children of this Node as TemplateNode wrappers
-
getParent
TemplateProperties getParent()- Returns:
- the primary parent of this node
-