<?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 Executing the custom command in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/executing-the-custom-command/m-p/155281#M109637</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I want to execute my custom command implementing Command interface.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;But only way I can get hold of command executor is by type-casting the RuntimeService to RuntimeServiceImpl.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is there any other way of getting command executor or executing the custom commands?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Shishir&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 01 Oct 2013 11:44:20 GMT</pubDate>
    <dc:creator>shishirg</dc:creator>
    <dc:date>2013-10-01T11:44:20Z</dc:date>
    <item>
      <title>Executing the custom command</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/executing-the-custom-command/m-p/155281#M109637</link>
      <description>Hi,I want to execute my custom command implementing Command interface.But only way I can get hold of command executor is by type-casting the RuntimeService to RuntimeServiceImpl.Is there any other way of getting command executor or executing the custom commands?ThanksShishir</description>
      <pubDate>Tue, 01 Oct 2013 11:44:20 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/executing-the-custom-command/m-p/155281#M109637</guid>
      <dc:creator>shishirg</dc:creator>
      <dc:date>2013-10-01T11:44:20Z</dc:date>
    </item>
    <item>
      <title>Re: Executing the custom command</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/executing-the-custom-command/m-p/155282#M109638</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;ManagementService now (as of 5.14) has a method:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;CODE&gt;&lt;BR /&gt;/**&lt;BR /&gt;&amp;nbsp;&amp;nbsp; * Executes a given command with the default {@link CommandConfig}.&lt;BR /&gt;&amp;nbsp;&amp;nbsp; * @param command the command, cannot be null.&lt;BR /&gt;&amp;nbsp;&amp;nbsp; * @return the result of command execution&lt;BR /&gt;&amp;nbsp;&amp;nbsp; */&lt;BR /&gt;&amp;nbsp; &amp;lt;T&amp;gt; T executeCommand(Command&amp;lt;T&amp;gt; command);&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp; /**&lt;BR /&gt;&amp;nbsp;&amp;nbsp; * Executes a given command with the specified {@link CommandConfig}.&lt;BR /&gt;&amp;nbsp;&amp;nbsp; * @param config the command execution configuration, cannot be null.&lt;BR /&gt;&amp;nbsp;&amp;nbsp; * @param command the command, cannot be null.&lt;BR /&gt;&amp;nbsp;&amp;nbsp; * @return the result of command execution&lt;BR /&gt;&amp;nbsp;&amp;nbsp; */&lt;BR /&gt;&amp;nbsp; &amp;lt;T&amp;gt; T executeCommand(CommandConfig config, Command&amp;lt;T&amp;gt; command);&lt;BR /&gt;&lt;/CODE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Oct 2013 09:57:11 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/executing-the-custom-command/m-p/155282#M109638</guid>
      <dc:creator>frederikherema1</dc:creator>
      <dc:date>2013-10-02T09:57:11Z</dc:date>
    </item>
  </channel>
</rss>

