Package org.alfresco.repo.template
Interface TemplateProperties
-
- All Superinterfaces:
java.io.Serializable,TemplateNodeRef
- All Known Subinterfaces:
TemplateContent
- All Known Implementing Classes:
BaseContentNode,BasePermissionsNode,CategoryTemplateNode,TemplateNode,VersionHistoryNode
@AlfrescoPublicApi public interface TemplateProperties extends TemplateNodeRef
Contract for Template API objects that have properties, aspects and children.- Author:
- Kevin Roast
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.Set<org.alfresco.service.namespace.QName>getAspects()java.util.List<TemplateProperties>getChildren()TemplatePropertiesgetParent()java.util.Map<java.lang.String,java.io.Serializable>getProperties()booleanhasAspect(java.lang.String aspect)-
Methods inherited from interface org.alfresco.repo.template.TemplateNodeRef
getId, getName, getNodeRef, getType
-
-
-
-
Method Detail
-
getProperties
java.util.Map<java.lang.String,java.io.Serializable> getProperties()
- Returns:
- The properties available on this node.
-
getAspects
java.util.Set<org.alfresco.service.namespace.QName> 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<TemplateProperties> getChildren()
- Returns:
- The children of this Node as TemplateNode wrappers
-
getParent
TemplateProperties getParent()
- Returns:
- the primary parent of this node
-
-