<?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: cant use CheckOutCheckInService in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/cant-use-checkoutcheckinservice/m-p/263419#M216549</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;i used &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;ownableService.takeOwnership(actionedUponNodeRef);&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;however, i still receive the access denied exception. would you be so kind to explain how the service is supposed to be used? i really can't find any example on this.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 24 Sep 2012 09:47:41 GMT</pubDate>
    <dc:creator>mrksjs</dc:creator>
    <dc:date>2012-09-24T09:47:41Z</dc:date>
    <item>
      <title>cant use CheckOutCheckInService</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/cant-use-checkoutcheckinservice/m-p/263416#M216546</link>
      <description>hi folks,i wrote a rule which does some stuff and should add a new version to an existing document in my repository. i found out that there is a service for that:http://dev.alfresco.com/resource/docs/java/repository/org/alfresco/service/cmr/coci/CheckOutCheckInService.htmlseems to be the right choic</description>
      <pubDate>Sat, 22 Sep 2012 14:02:18 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/cant-use-checkoutcheckinservice/m-p/263416#M216546</guid>
      <dc:creator>mrksjs</dc:creator>
      <dc:date>2012-09-22T14:02:18Z</dc:date>
    </item>
    <item>
      <title>Re: cant use CheckOutCheckInService</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/cant-use-checkoutcheckinservice/m-p/263417#M216547</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You should be using the version service to create a new version.&amp;nbsp;&amp;nbsp; Or if the node is already versionable then the new version will be created automatically, no need to do anything.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The checkin action is only allowed by the lock owner (the user that has the checked out).&amp;nbsp;&amp;nbsp;&amp;nbsp; If you want to check in as some sort of administrator then you need to "take ownership" first.&amp;nbsp;&amp;nbsp; The checkin/out service is also a little bit odd in that it doesn't play nicely with "run as"&amp;nbsp; at least it didn't the last time I tried to use it.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 23 Sep 2012 14:21:21 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/cant-use-checkoutcheckinservice/m-p/263417#M216547</guid>
      <dc:creator>mrogers</dc:creator>
      <dc:date>2012-09-23T14:21:21Z</dc:date>
    </item>
    <item>
      <title>Re: cant use CheckOutCheckInService</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/cant-use-checkoutcheckinservice/m-p/263418#M216548</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;what if i want to update document A with the content of document B?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;do you have an example for that? &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;and how do i take ownership inside a rule?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;just put &lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;params.put(ContentModel.PROP_OWNER, owner);&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;SPAN&gt;to the nodes properties?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;i dont really understand the problem with this. if i as an admin run the rule, there should never be an access denied exception?!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 23 Sep 2012 18:57:14 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/cant-use-checkoutcheckinservice/m-p/263418#M216548</guid>
      <dc:creator>mrksjs</dc:creator>
      <dc:date>2012-09-23T18:57:14Z</dc:date>
    </item>
    <item>
      <title>Re: cant use CheckOutCheckInService</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/cant-use-checkoutcheckinservice/m-p/263419#M216549</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;i used &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;ownableService.takeOwnership(actionedUponNodeRef);&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;however, i still receive the access denied exception. would you be so kind to explain how the service is supposed to be used? i really can't find any example on this.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Sep 2012 09:47:41 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/cant-use-checkoutcheckinservice/m-p/263419#M216549</guid>
      <dc:creator>mrksjs</dc:creator>
      <dc:date>2012-09-24T09:47:41Z</dc:date>
    </item>
  </channel>
</rss>

