<?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: Cannot perform operation since the node is locked in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/cannot-perform-operation-since-the-node-is-locked/m-p/259648#M212778</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The lock service locks a particular node for editing by a particular user.&amp;nbsp;&amp;nbsp; So for example if the node is unlocked "fred" can lock it and and then change it,&amp;nbsp; in the meantime "bill" can't edit it.&amp;nbsp;&amp;nbsp; As and when "fred" unlocks the node then bill can lock it and edit it.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The JobLockService is what you want for sequential access.&amp;nbsp;&amp;nbsp;&amp;nbsp; It locks a particular qname and tells you whether you hold the lock or waits for the lock to be released by someone else.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; You would build a qname for each of your sequences.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 24 Jul 2011 14:16:48 GMT</pubDate>
    <dc:creator>mrogers</dc:creator>
    <dc:date>2011-07-24T14:16:48Z</dc:date>
    <item>
      <title>Cannot perform operation since the node is locked</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/cannot-perform-operation-since-the-node-is-locked/m-p/259647#M212777</link>
      <description>Dear Gurus.I have a problem when i'm trying to use the LockService and my problem is clear at the following line// Prepare Organization SequenceNode organizationSeq = new Node(SequenceUtil.prepareSequence(&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;SequenceUtil.ORGANIZATION_SEQUENCE_NODE_NAME_STRING,&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;nodeSer</description>
      <pubDate>Sun, 24 Jul 2011 09:02:03 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/cannot-perform-operation-since-the-node-is-locked/m-p/259647#M212777</guid>
      <dc:creator>mohammed_amr</dc:creator>
      <dc:date>2011-07-24T09:02:03Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot perform operation since the node is locked</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/cannot-perform-operation-since-the-node-is-locked/m-p/259648#M212778</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The lock service locks a particular node for editing by a particular user.&amp;nbsp;&amp;nbsp; So for example if the node is unlocked "fred" can lock it and and then change it,&amp;nbsp; in the meantime "bill" can't edit it.&amp;nbsp;&amp;nbsp; As and when "fred" unlocks the node then bill can lock it and edit it.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The JobLockService is what you want for sequential access.&amp;nbsp;&amp;nbsp;&amp;nbsp; It locks a particular qname and tells you whether you hold the lock or waits for the lock to be released by someone else.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; You would build a qname for each of your sequences.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 24 Jul 2011 14:16:48 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/cannot-perform-operation-since-the-node-is-locked/m-p/259648#M212778</guid>
      <dc:creator>mrogers</dc:creator>
      <dc:date>2011-07-24T14:16:48Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot perform operation since the node is locked</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/cannot-perform-operation-since-the-node-is-locked/m-p/259649#M212779</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;I have one content model define sequence and by it i made a node for maintaining the organization sequence and another node for maintaining the position sequence.&lt;BR /&gt;&lt;BR /&gt;Could i use the "lock service" than use "job lock service" ? if yes i saw tow version of "lock service" one of them with lock method like this&lt;BR /&gt;&lt;BR /&gt;lock(NodeRef nodeRef, LockType lockType). &lt;BR /&gt;&lt;BR /&gt;where lock type is the type of the lock either read or write or node itself.&lt;BR /&gt;node ref is the node itself to be locked.&lt;BR /&gt;&lt;BR /&gt;But your documentation talks about other thing, it is talk about method like this&lt;BR /&gt;&lt;BR /&gt;lock(NodeRef nodeRef, String username,LockType lockType). &lt;BR /&gt;&lt;BR /&gt;where username is the current user and other still remain as is.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;But if i must use joblockservice, then i will make two content models one of them to the organization sequence and other for position sequence. ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I that correct ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;also, I think that i have 3.4.b as development environment and 3.4.d as documentation&amp;nbsp; :roll:&amp;nbsp; which is confuse me, is that correct ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;And I need to ask What the difference between lock the node and lock the qname ? and can you please give me an example about JobLockService.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Mohammed Amr&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Senior System Developer&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Digital Series. Co.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 24 Jul 2011 14:35:28 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/cannot-perform-operation-since-the-node-is-locked/m-p/259649#M212779</guid>
      <dc:creator>mohammed_amr</dc:creator>
      <dc:date>2011-07-24T14:35:28Z</dc:date>
    </item>
  </channel>
</rss>

