<?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: [SOLVED] WebScriptStatus - Deprecated type? in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/solved-webscriptstatus-deprecated-type/m-p/205693#M158823</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;This will be better: &lt;/SPAN&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;protected Map&amp;lt;String, Object&amp;gt; executeImpl(WebScriptRequest req, Status status, Cache cache){&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;Status replaces WebScriptStatus, and Cache allows you to toggle cache headers.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 11 Mar 2009 11:29:36 GMT</pubDate>
    <dc:creator>rogier_oudshoor</dc:creator>
    <dc:date>2009-03-11T11:29:36Z</dc:date>
    <item>
      <title>[SOLVED] WebScriptStatus - Deprecated type?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/solved-webscriptstatus-deprecated-type/m-p/205692#M158822</link>
      <description>Hi community!!!I'm currently reading Alfresco Developer Guide. In chapter 7 (advanced workflow), page 328, a webscript is given with a method:import org.alfresco.web.scripts.WebScriptStatus;…&amp;nbsp;&amp;nbsp;&amp;nbsp;protected Map&amp;lt;String, Object&amp;gt; executeImpl(WebScriptRequest req, WebScriptStatus status) {&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Strin</description>
      <pubDate>Wed, 11 Mar 2009 11:24:31 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/solved-webscriptstatus-deprecated-type/m-p/205692#M158822</guid>
      <dc:creator />
      <dc:date>2009-03-11T11:24:31Z</dc:date>
    </item>
    <item>
      <title>Re: [SOLVED] WebScriptStatus - Deprecated type?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/solved-webscriptstatus-deprecated-type/m-p/205693#M158823</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;This will be better: &lt;/SPAN&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;protected Map&amp;lt;String, Object&amp;gt; executeImpl(WebScriptRequest req, Status status, Cache cache){&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;Status replaces WebScriptStatus, and Cache allows you to toggle cache headers.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Mar 2009 11:29:36 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/solved-webscriptstatus-deprecated-type/m-p/205693#M158823</guid>
      <dc:creator>rogier_oudshoor</dc:creator>
      <dc:date>2009-03-11T11:29:36Z</dc:date>
    </item>
    <item>
      <title>Re: [SOLVED] WebScriptStatus - Deprecated type?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/solved-webscriptstatus-deprecated-type/m-p/205694#M158824</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Good tip thanks!&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;By the way as it extends the class &lt;/SPAN&gt;&lt;STRONG&gt;DeclarativeWebscript &lt;/STRONG&gt;&lt;SPAN&gt;(sorry I didn't mentioned that earlier &lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://connect.hyland.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;) the method should be:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;executeImpl(WebScriptRequest req, WebScriptStatus status, WebScriptCache cache)&lt;BR /&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;SPAN&gt;(cache is a &lt;/SPAN&gt;&lt;STRONG&gt;WebScriptCache &lt;/STRONG&gt;&lt;SPAN&gt;type and not a &lt;/SPAN&gt;&lt;STRONG&gt;Cache &lt;/STRONG&gt;&lt;SPAN&gt;type, for the org.alfresco.repo.web.scripts.content.StreamContent class)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;As mentioned in the javadoc:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://dev.alfresco.com/resource/docs/java/web-client/org/alfresco/web/scripts/DeclarativeWebScript.html" rel="nofollow noopener noreferrer"&gt;http://dev.alfresco.com/resource/docs/java/web-client/org/alfresco/web/scripts/DeclarativeWebScript.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What's more I can simply use:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;executeImpl(WebScriptRequest req, WebScriptStatus status)&lt;BR /&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;SPAN&gt;as described in the javadoc. For the moment I don't quite know what is the WebScriptCache…&lt;img id="smileysurprised" class="emoticon emoticon-smileysurprised" src="https://connect.hyland.com/i/smilies/16x16_smiley-surprised.png" alt="Smiley Surprised" title="Smiley Surprised" /&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But thanks for the very very quick answer &lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://connect.hyland.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt; Really helped ^^&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Mar 2009 11:44:23 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/solved-webscriptstatus-deprecated-type/m-p/205694#M158824</guid>
      <dc:creator />
      <dc:date>2009-03-11T11:44:23Z</dc:date>
    </item>
  </channel>
</rss>

