org.alfresco.repo.domain.node
Class LocalizedPropertiesEntity

java.lang.Object
  extended by org.alfresco.repo.domain.node.LocalizedPropertiesEntity

public class LocalizedPropertiesEntity
extends java.lang.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

Constructor Summary
LocalizedPropertiesEntity()
           
 
Method Summary
static void addLocalizedProperties(LocaleDAO localeDAO, Node node, java.util.Map properties)
          Adds all localized properties.
static java.io.Serializable getLocalizedProperty(LocaleDAO localeDAO, Node node, org.alfresco.service.namespace.QName qname)
           
static boolean isLocalizedProperty(org.alfresco.service.namespace.QName qname)
           
static void removeLocalizedProperties(Node node, java.util.Map properties)
          Remove all localized properties
static void removeLocalizedProperties(java.util.Set propertyQNames)
          Remove all localized properties
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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,
                                             java.util.Map properties)
Remove all localized properties


removeLocalizedProperties

public static void removeLocalizedProperties(java.util.Set propertyQNames)
Remove all localized properties


addLocalizedProperties

public static void addLocalizedProperties(LocaleDAO localeDAO,
                                          Node node,
                                          java.util.Map properties)
Adds all localized properties.


getLocalizedProperty

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


Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.