<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Difference between setProperties and addProperties in nodeService? in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/difference-between-setproperties-and-addproperties-in/m-p/294721#M247851</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Add properties allows you to leave some properties alone and untouched.&amp;nbsp;&amp;nbsp;&amp;nbsp; For a situation, for example add aspect, it is better fit since you don't need to worry about the other stuff on the node.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'd not expect much difference in performance, under the covers its pretty much identical.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 07 Oct 2013 10:48:39 GMT</pubDate>
    <dc:creator>mrogers</dc:creator>
    <dc:date>2013-10-07T10:48:39Z</dc:date>
    <item>
      <title>Difference between setProperties and addProperties in nodeService?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/difference-between-setproperties-and-addproperties-in/m-p/294720#M247850</link>
      <description>Is there any? From what I see (with regards to performance) there is none.Basically, I see no difference in number of inserts into the DB, when I use one or the other. I'd expect addProperties to only insert properties that I've actually set, and all the other properties to be left out. On the other</description>
      <pubDate>Mon, 07 Oct 2013 10:19:41 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/difference-between-setproperties-and-addproperties-in/m-p/294720#M247850</guid>
      <dc:creator>lista</dc:creator>
      <dc:date>2013-10-07T10:19:41Z</dc:date>
    </item>
    <item>
      <title>Re: Difference between setProperties and addProperties in nodeService?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/difference-between-setproperties-and-addproperties-in/m-p/294721#M247851</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Add properties allows you to leave some properties alone and untouched.&amp;nbsp;&amp;nbsp;&amp;nbsp; For a situation, for example add aspect, it is better fit since you don't need to worry about the other stuff on the node.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'd not expect much difference in performance, under the covers its pretty much identical.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Oct 2013 10:48:39 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/difference-between-setproperties-and-addproperties-in/m-p/294721#M247851</guid>
      <dc:creator>mrogers</dc:creator>
      <dc:date>2013-10-07T10:48:39Z</dc:date>
    </item>
    <item>
      <title>Re: Difference between setProperties and addProperties in nodeService?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/difference-between-setproperties-and-addproperties-in/m-p/294722#M247852</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I get that - the problem is - I call addProperties with a map that contains say 10 values; and I see 20 inserts into alf_node_properties table, 10 of which are with null values. That's the part that's bugging me. I'd like to avoid those inserts if possible.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'll take another look if I'm doing something stupid.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Oct 2013 11:26:00 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/difference-between-setproperties-and-addproperties-in/m-p/294722#M247852</guid>
      <dc:creator>lista</dc:creator>
      <dc:date>2013-10-07T11:26:00Z</dc:date>
    </item>
    <item>
      <title>Re: Difference between setProperties and addProperties in nodeService?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/difference-between-setproperties-and-addproperties-in/m-p/294723#M247853</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;No you arn't doing anything stupid.&amp;nbsp;&amp;nbsp;&amp;nbsp; I don't think there's the ability to set a single property.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Oct 2013 11:51:39 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/difference-between-setproperties-and-addproperties-in/m-p/294723#M247853</guid>
      <dc:creator>mrogers</dc:creator>
      <dc:date>2013-10-07T11:51:39Z</dc:date>
    </item>
  </channel>
</rss>

