Interface TemplateProperties

All Superinterfaces:
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 Details

    • getProperties

      Map<String,Serializable> getProperties()
      Returns:
      The properties available on this node.
    • getAspects

      Set<QName> getAspects()
      Returns:
      The list of aspects applied to this node
    • hasAspect

      boolean hasAspect(String aspect)
      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