Class LocalizedPropertiesEntity


  • public class LocalizedPropertiesEntity
    extends Object
    Class holding properties associated with the sys:localized aspect. This aspect is common enough to warrant direct inclusion on the Node entity.
    Since:
    4.0
    Author:
    Derek Hulley
    • Constructor Detail

      • LocalizedPropertiesEntity

        public LocalizedPropertiesEntity()
    • Method Detail

      • isLocalizedProperty

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

        public static void removeLocalizedProperties​(Node node,
                                                     Map<org.alfresco.service.namespace.QName,​Serializable> properties)
        Remove all localized properties
      • removeLocalizedProperties

        public static void removeLocalizedProperties​(Set<org.alfresco.service.namespace.QName> propertyQNames)
        Remove all localized properties
      • addLocalizedProperties

        public static void addLocalizedProperties​(LocaleDAO localeDAO,
                                                  Node node,
                                                  Map<org.alfresco.service.namespace.QName,​Serializable> properties)
        Adds all localized properties.
      • getLocalizedProperty

        public static Serializable getLocalizedProperty​(LocaleDAO localeDAO,
                                                        Node node,
                                                        org.alfresco.service.namespace.QName qname)