Package org.alfresco.repo.domain.node
Class LocalizedPropertiesEntity
- java.lang.Object
-
- org.alfresco.repo.domain.node.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 Summary
Constructors Constructor Description LocalizedPropertiesEntity()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidaddLocalizedProperties(LocaleDAO localeDAO, Node node, Map<QName,Serializable> properties)Adds alllocalizedproperties.static SerializablegetLocalizedProperty(LocaleDAO localeDAO, Node node, QName qname)static booleanisLocalizedProperty(QName qname)static voidremoveLocalizedProperties(Set<QName> propertyQNames)Remove alllocalizedpropertiesstatic voidremoveLocalizedProperties(Node node, Map<QName,Serializable> properties)Remove alllocalizedproperties
-
-
-
Method Detail
-
isLocalizedProperty
public static boolean isLocalizedProperty(QName qname)
- Returns:
- Returns true if the property belongs to the sys:localized aspect
-
removeLocalizedProperties
public static void removeLocalizedProperties(Node node, Map<QName,Serializable> properties)
Remove alllocalizedproperties
-
removeLocalizedProperties
public static void removeLocalizedProperties(Set<QName> propertyQNames)
Remove alllocalizedproperties
-
addLocalizedProperties
public static void addLocalizedProperties(LocaleDAO localeDAO, Node node, Map<QName,Serializable> properties)
Adds alllocalizedproperties.
-
getLocalizedProperty
public static Serializable getLocalizedProperty(LocaleDAO localeDAO, Node node, QName qname)
-
-