Class ReferenceablePropertiesEntity


  • public class ReferenceablePropertiesEntity
    extends java.lang.Object
    Class holding properties associated with the sys:referenceable aspect. This aspect is common enough to warrant direct inclusion on the Node entity.
    Since:
    3.4
    Author:
    Derek Hulley
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static void addReferenceableProperties​(Node node, java.util.Map<org.alfresco.service.namespace.QName,​java.io.Serializable> properties)
      Adds all referencable properties.
      static java.io.Serializable getReferenceableProperty​(Node node, org.alfresco.service.namespace.QName qname)  
      static boolean isReferenceableProperty​(org.alfresco.service.namespace.QName qname)  
      static void removeReferenceableProperties​(java.util.Set<org.alfresco.service.namespace.QName> propertyQNames)
      Remove all referencable properties
      static void removeReferenceableProperties​(Node node, java.util.Map<org.alfresco.service.namespace.QName,​java.io.Serializable> properties)
      Remove all referencable properties
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ReferenceablePropertiesEntity

        public ReferenceablePropertiesEntity()
    • Method Detail

      • isReferenceableProperty

        public static boolean isReferenceableProperty​(org.alfresco.service.namespace.QName qname)
        Returns:
        Returns true if the property belongs to the sys:referenceable aspect
      • removeReferenceableProperties

        public static void removeReferenceableProperties​(Node node,
                                                         java.util.Map<org.alfresco.service.namespace.QName,​java.io.Serializable> properties)
        Remove all referencable properties
      • removeReferenceableProperties

        public static void removeReferenceableProperties​(java.util.Set<org.alfresco.service.namespace.QName> propertyQNames)
        Remove all referencable properties
      • addReferenceableProperties

        public static void addReferenceableProperties​(Node node,
                                                      java.util.Map<org.alfresco.service.namespace.QName,​java.io.Serializable> properties)
        Adds all referencable properties.
      • getReferenceableProperty

        public static java.io.Serializable getReferenceableProperty​(Node node,
                                                                    org.alfresco.service.namespace.QName qname)