Class AliasableAspectCopyBehaviourCallback

    • Constructor Detail

      • AliasableAspectCopyBehaviourCallback

        public AliasableAspectCopyBehaviourCallback()
    • Method Detail

      • getCopyProperties

        public java.util.Map<org.alfresco.service.namespace.QName,​java.io.Serializable> getCopyProperties​(org.alfresco.service.namespace.QName classQName,
                                                                                                                CopyDetails copyDetails,
                                                                                                                java.util.Map<org.alfresco.service.namespace.QName,​java.io.Serializable> properties)
        Prevents copying off the cm:name property.
        Specified by:
        getCopyProperties in interface CopyBehaviourCallback
        Overrides:
        getCopyProperties in class DefaultCopyBehaviourCallback
        Parameters:
        classQName - the name of the class that this is being invoked for
        copyDetails - the source node's copy details for quick reference
        properties - the type- or aspect-specific properties that can be copied. The map can be manipulated and returned as required.
        Returns:
        Returns all the properties passes in