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.


Method Summary
 java.util.Set getAspects()
           
 java.util.List getChildren()
           
 TemplateProperties getParent()
           
 java.util.Map getProperties()
           
 boolean hasAspect(java.lang.String aspect)
           
 
Methods inherited from interface org.alfresco.repo.template.TemplateNodeRef
getId, getName, getNodeRef, getType
 

Method Detail

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.