org.alfresco.repo.domain.node
Class ReferenceablePropertiesEntity

java.lang.Object
  extended by org.alfresco.repo.domain.node.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

Constructor Summary
ReferenceablePropertiesEntity()
           
 
Method Summary
static void addReferenceableProperties(Node node, java.util.Map 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(Node node, java.util.Map properties)
          Remove all referencable properties
static void removeReferenceableProperties(java.util.Set propertyQNames)
          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 properties)
Remove all referencable properties


removeReferenceableProperties

public static void removeReferenceableProperties(java.util.Set propertyQNames)
Remove all referencable properties


addReferenceableProperties

public static void addReferenceableProperties(Node node,
                                              java.util.Map properties)
Adds all referencable properties.


getReferenceableProperty

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


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