org.alfresco.repo.template
Interface TemplateProperties
- All Superinterfaces:
- java.io.Serializable, TemplateNodeRef
- All Known Subinterfaces:
- TemplateContent
- All Known Implementing Classes:
- AVMTemplateNode, BaseContentNode, BasePermissionsNode, CategoryTemplateNode, TemplateNode, VersionHistoryNode
public interface TemplateProperties
- extends TemplateNodeRef
Contract for Template API objects that have properties, aspects and children.
getProperties
java.util.Map getProperties()
- Returns:
- The properties available on this node.
getAspects
java.util.Set getAspects()
- Returns:
- The list of aspects applied to this node
hasAspect
boolean hasAspect(java.lang.String aspect)
- Parameters:
aspect
- The aspect name to test for
- Returns:
- true if the node has the aspect false otherwise
getChildren
java.util.List getChildren()
- Returns:
- The children of this Node as TemplateNode wrappers
getParent
TemplateProperties getParent()
- Returns:
- the primary parent of this node
Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.