<?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: Lock/Unlock File Webscript in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/lock-unlock-file-webscript/m-p/305742#M258872</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Tom,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;To get you started you need to do the following;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;1. Your java class must implement the Java interface org.alfresco.web.scripts.Webscripts by extending either AbstractWebScript (allows web script to have full control of request) or DeclarativeWebscript (allows webscript to mix java, javascript and templates)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2. You need to implement the execute() method (method to initiate the webscript)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;3. You need to implement getDescription() method ( returns a WebscripDescription object which is a java representation of the webscript description xml file)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;4. Check the Java Api for locking or unlocking node&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Check the &lt;/SPAN&gt;&lt;A href="http://wiki.alfresco.com/wiki/Java-backed_Web_Scripts_Samples" rel="nofollow noopener noreferrer"&gt;http://wiki.alfresco.com/wiki/Java-backed_Web_Scripts_Samples&lt;/A&gt;&lt;SPAN&gt; for examples.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hope this helps.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Kind Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Kavi&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 27 Feb 2014 03:26:00 GMT</pubDate>
    <dc:creator>kavilash23</dc:creator>
    <dc:date>2014-02-27T03:26:00Z</dc:date>
    <item>
      <title>Lock/Unlock File Webscript</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/lock-unlock-file-webscript/m-p/305741#M258871</link>
      <description>I need to create a java backed webscript that has the functionality to lock or unlock a node. I don't need any GUI changes, just a webscript that I can call from workflow javascript to lock or unlock.This is my first dealing with java and webscripts in alfresco. The descriptor file and Spring bean d</description>
      <pubDate>Thu, 27 Feb 2014 00:50:53 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/lock-unlock-file-webscript/m-p/305741#M258871</guid>
      <dc:creator>tomoconnell</dc:creator>
      <dc:date>2014-02-27T00:50:53Z</dc:date>
    </item>
    <item>
      <title>Re: Lock/Unlock File Webscript</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/lock-unlock-file-webscript/m-p/305742#M258872</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Tom,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;To get you started you need to do the following;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;1. Your java class must implement the Java interface org.alfresco.web.scripts.Webscripts by extending either AbstractWebScript (allows web script to have full control of request) or DeclarativeWebscript (allows webscript to mix java, javascript and templates)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2. You need to implement the execute() method (method to initiate the webscript)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;3. You need to implement getDescription() method ( returns a WebscripDescription object which is a java representation of the webscript description xml file)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;4. Check the Java Api for locking or unlocking node&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Check the &lt;/SPAN&gt;&lt;A href="http://wiki.alfresco.com/wiki/Java-backed_Web_Scripts_Samples" rel="nofollow noopener noreferrer"&gt;http://wiki.alfresco.com/wiki/Java-backed_Web_Scripts_Samples&lt;/A&gt;&lt;SPAN&gt; for examples.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hope this helps.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Kind Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Kavi&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Feb 2014 03:26:00 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/lock-unlock-file-webscript/m-p/305742#M258872</guid>
      <dc:creator>kavilash23</dc:creator>
      <dc:date>2014-02-27T03:26:00Z</dc:date>
    </item>
  </channel>
</rss>

