<?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: How to use RecordsManagementActionService in action class? in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/how-to-use-recordsmanagementactionservice-in-action-class/m-p/248408#M201538</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;In rm-service-context.xml, there is an instance ,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;bean id="recordsManagementActionService" class="org.alfresco.module.org_alfresco_module_dod5015.action.RecordsManagementActionServiceImpl" init-method="init" lazy-init="default" autowire="default" dependency-check="default"&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;lt;property name="policyComponent" ref="policyComponent" /&amp;gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;lt;property name="nodeService" ref="NodeService" /&amp;gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &amp;lt;/bean&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;where is the place to define policyComponent? I did not find it in rm-service-context.xml.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks in advance.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 23 Jun 2011 18:56:58 GMT</pubDate>
    <dc:creator>hanscrg</dc:creator>
    <dc:date>2011-06-23T18:56:58Z</dc:date>
    <item>
      <title>How to use RecordsManagementActionService in action class?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-use-recordsmanagementactionservice-in-action-class/m-p/248406#M201536</link>
      <description>I need to file/declare record in a java action class. How to get the reference to RecordsManagementActionService? It seems simply configure it in spring context xml to injection like nodeservice does not work.Thanks advance.</description>
      <pubDate>Wed, 22 Jun 2011 15:48:32 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-use-recordsmanagementactionservice-in-action-class/m-p/248406#M201536</guid>
      <dc:creator>hanscrg</dc:creator>
      <dc:date>2011-06-22T15:48:32Z</dc:date>
    </item>
    <item>
      <title>Re: How to use RecordsManagementActionService in action class?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-use-recordsmanagementactionservice-in-action-class/m-p/248407#M201537</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Look at this .java source:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://svn.alfresco.com/repos/alfresco-open-mirror/alfresco/HEAD/root/modules/dod-5015/source/java/org/alfresco/module/org_alfresco_module_dod5015/RecordsManagementServiceImpl.java" rel="nofollow noopener noreferrer"&gt;http://svn.alfresco.com/repos/alfresco-open-mirror/alfresco/HEAD/root/modules/dod-5015/source/java/org/alfresco/module/org_alfresco_module_dod5015/RecordsManagementServiceImpl.java&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This java class is referenced in rm-service-context.xml&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Jun 2011 08:05:36 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-use-recordsmanagementactionservice-in-action-class/m-p/248407#M201537</guid>
      <dc:creator>csabee</dc:creator>
      <dc:date>2011-06-23T08:05:36Z</dc:date>
    </item>
    <item>
      <title>Re: How to use RecordsManagementActionService in action class?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-use-recordsmanagementactionservice-in-action-class/m-p/248408#M201538</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;In rm-service-context.xml, there is an instance ,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;bean id="recordsManagementActionService" class="org.alfresco.module.org_alfresco_module_dod5015.action.RecordsManagementActionServiceImpl" init-method="init" lazy-init="default" autowire="default" dependency-check="default"&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;lt;property name="policyComponent" ref="policyComponent" /&amp;gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;lt;property name="nodeService" ref="NodeService" /&amp;gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &amp;lt;/bean&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;where is the place to define policyComponent? I did not find it in rm-service-context.xml.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks in advance.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Jun 2011 18:56:58 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-use-recordsmanagementactionservice-in-action-class/m-p/248408#M201538</guid>
      <dc:creator>hanscrg</dc:creator>
      <dc:date>2011-06-23T18:56:58Z</dc:date>
    </item>
    <item>
      <title>Re: How to use RecordsManagementActionService in action class?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-use-recordsmanagementactionservice-in-action-class/m-p/248409#M201539</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Can you explain a little more about what you are trying to do here?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Do you want to inject the RecordsManagementActionService onto your own bean? &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What errors are you seeing?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Jun 2011 02:35:22 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-use-recordsmanagementactionservice-in-action-class/m-p/248409#M201539</guid>
      <dc:creator>rwetherall</dc:creator>
      <dc:date>2011-06-30T02:35:22Z</dc:date>
    </item>
    <item>
      <title>Re: How to use RecordsManagementActionService in action class?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-use-recordsmanagementactionservice-in-action-class/m-p/248410#M201540</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Roy,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;here is my scenario, I create a record folder in file plan. That seems works fine. Now I need to move a file (content type) into the new record folder. I use the node service to do the move and add record aspect and set the mandatory properties. Then use record management action service to declare it as record. But the file still looks as the normal content file. There is no error logged. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;All those logic happend in an action class. I configured context xml to inject RecordsManagementActionService class. But I beleive there is still some trick I do not know. My code is based on the unit testing code in dod5015 module in svn.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hopefully you can post some working example to show us how to use record service api. The existing Alfresco Record Management book does not talk about this. This is really a missing part.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you so much for the help.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Jul 2011 17:05:35 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-use-recordsmanagementactionservice-in-action-class/m-p/248410#M201540</guid>
      <dc:creator>hanscrg</dc:creator>
      <dc:date>2011-07-01T17:05:35Z</dc:date>
    </item>
    <item>
      <title>Re: How to use RecordsManagementActionService in action class?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-use-recordsmanagementactionservice-in-action-class/m-p/248411#M201541</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Yes, I think these all we need to learn！Thank you for your words&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Jul 2011 09:26:23 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-use-recordsmanagementactionservice-in-action-class/m-p/248411#M201541</guid>
      <dc:creator>davidcancool</dc:creator>
      <dc:date>2011-07-18T09:26:23Z</dc:date>
    </item>
  </channel>
</rss>

