<?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 find file upload codes in source code in Nuxeo Forum</title>
    <link>https://connect.hyland.com/t5/nuxeo-forum/how-to-find-file-upload-codes-in-source-code/m-p/321367#M8368</link>
    <description>&lt;P&gt;Hi you may be more interested with our Flex connector add-on that expose API needed for Flex application.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;&lt;A href="http://hg.nuxeo.org/addons/nuxeo-platform-flex/" target="test_blank"&gt;http://hg.nuxeo.org/addons/nuxeo-platform-flex/&lt;/A&gt;
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;To get source, as usual (until we move the code to github &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; :&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;hg clone &lt;A href="http://hg.nuxeo.org/addons/nuxeo-platform-flex/" target="test_blank"&gt;http://hg.nuxeo.org/addons/nuxeo-platform-flex/&lt;/A&gt;
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;But, you also may find your need &lt;A href="https://github.com/nuxeo/nuxeo-features/blob/master/nuxeo-webengine-features/nuxeo-webengine-base/src/main/java/org/nuxeo/ecm/core/rest/FileService.java"&gt;here&lt;/A&gt;.&lt;/P&gt;</description>
    <pubDate>Mon, 19 Dec 2011 12:44:59 GMT</pubDate>
    <dc:creator>Benjamin_Jalon1</dc:creator>
    <dc:date>2011-12-19T12:44:59Z</dc:date>
    <item>
      <title>how to find file upload codes in source code</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/how-to-find-file-upload-codes-in-source-code/m-p/321365#M8366</link>
      <description>&lt;P&gt;I'm now do dm file upload and I want to find nuxeo source code how to do that.thanks&lt;/P&gt;</description>
      <pubDate>Mon, 19 Dec 2011 08:46:03 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/how-to-find-file-upload-codes-in-source-code/m-p/321365#M8366</guid>
      <dc:creator>feiwang_</dc:creator>
      <dc:date>2011-12-19T08:46:03Z</dc:date>
    </item>
    <item>
      <title>Re: how to find file upload codes in source code</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/how-to-find-file-upload-codes-in-source-code/m-p/321366#M8367</link>
      <description>&lt;P&gt;I'm using nuxeo dm as a server ,the client using flex to develop .I want to know what or where I can find the code that to do file upload.what class or package I can find it .thanks&lt;/P&gt;</description>
      <pubDate>Mon, 19 Dec 2011 08:53:45 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/how-to-find-file-upload-codes-in-source-code/m-p/321366#M8367</guid>
      <dc:creator>feiwang_</dc:creator>
      <dc:date>2011-12-19T08:53:45Z</dc:date>
    </item>
    <item>
      <title>Re: how to find file upload codes in source code</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/how-to-find-file-upload-codes-in-source-code/m-p/321367#M8368</link>
      <description>&lt;P&gt;Hi you may be more interested with our Flex connector add-on that expose API needed for Flex application.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;&lt;A href="http://hg.nuxeo.org/addons/nuxeo-platform-flex/" target="test_blank"&gt;http://hg.nuxeo.org/addons/nuxeo-platform-flex/&lt;/A&gt;
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;To get source, as usual (until we move the code to github &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; :&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;hg clone &lt;A href="http://hg.nuxeo.org/addons/nuxeo-platform-flex/" target="test_blank"&gt;http://hg.nuxeo.org/addons/nuxeo-platform-flex/&lt;/A&gt;
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;But, you also may find your need &lt;A href="https://github.com/nuxeo/nuxeo-features/blob/master/nuxeo-webengine-features/nuxeo-webengine-base/src/main/java/org/nuxeo/ecm/core/rest/FileService.java"&gt;here&lt;/A&gt;.&lt;/P&gt;</description>
      <pubDate>Mon, 19 Dec 2011 12:44:59 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/how-to-find-file-upload-codes-in-source-code/m-p/321367#M8368</guid>
      <dc:creator>Benjamin_Jalon1</dc:creator>
      <dc:date>2011-12-19T12:44:59Z</dc:date>
    </item>
    <item>
      <title>Re: how to find file upload codes in source code</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/how-to-find-file-upload-codes-in-source-code/m-p/321368#M8369</link>
      <description>&lt;P&gt;Thanks bjalon's answer,but I want to konw nuxeo code how to deal with  the file upload .and I want to change that . The problem is I don't konw how begin and find the class .I have to write a class replace the old class or do by myself class . thanks .&lt;/P&gt;</description>
      <pubDate>Tue, 20 Dec 2011 02:12:28 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/how-to-find-file-upload-codes-in-source-code/m-p/321368#M8369</guid>
      <dc:creator>feiwang_</dc:creator>
      <dc:date>2011-12-20T02:12:28Z</dc:date>
    </item>
    <item>
      <title>Re: how to find file upload codes in source code</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/how-to-find-file-upload-codes-in-source-code/m-p/321369#M8370</link>
      <description>&lt;P&gt;Thanks bjalon's answer,but I want to konw nuxeo code how to deal with the file upload .and I want to change that . The problem is I don't konw how begin and find the class .I have to write a class replace the old class or do by myself class . thanks .&lt;/P&gt;</description>
      <pubDate>Tue, 20 Dec 2011 02:44:42 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/how-to-find-file-upload-codes-in-source-code/m-p/321369#M8370</guid>
      <dc:creator>feiwang_</dc:creator>
      <dc:date>2011-12-20T02:44:42Z</dc:date>
    </item>
    <item>
      <title>Re: how to find file upload codes in source code</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/how-to-find-file-upload-codes-in-source-code/m-p/321370#M8371</link>
      <description>&lt;P&gt;This is a bad idea to fork Nuxeo code and Nuxeo provide a framework dedicated for developer to help them to plug their own code on the platform. This is provided by our extension point system. I let you discover this by reading this documentation:
&lt;A href="http://doc.nuxeo.com/x/DIAO" target="test_blank"&gt;http://doc.nuxeo.com/x/DIAO&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;For your case, you want - if I'm right - to create your own logic of document creation from a post.&lt;/P&gt;
&lt;P&gt;This is typically what the File Manager Service you need.
My piece of advice is to use Nuxeo IDE to create an empty bundle:
&lt;A href="http://doc.nuxeo.com/x/aoKE" target="test_blank"&gt;http://doc.nuxeo.com/x/aoKE&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;And contribute your File Manager by adding this xml file that will declare your class:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;  &amp;lt;?xml version="1.0"?&amp;gt;
  &amp;lt;component name="com.feiwang.filemanager.contribution"&amp;gt;

    &amp;lt;require&amp;gt;org.nuxeo.ecm.platform.filemanager.service.FileManagerService&amp;lt;/require&amp;gt;

    &amp;lt;extension
      target="org.nuxeo.ecm.platform.filemanager.service.FileManagerService"
      point="plugins"&amp;gt;

      &amp;lt;plugin name="yourFileManager"
          class="com.feiwang.filemanager.contribution.YourClass"
          order="0"&amp;gt;
        &amp;lt;filter&amp;gt;.*&amp;lt;/filter&amp;gt;
      &amp;lt;/plugin&amp;gt;
    &amp;lt;/extension&amp;gt;
  &amp;lt;/component&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Your class must implement the FileImporter interface and you can inherit of AbstractFileImporter.&lt;/P&gt;
&lt;P&gt;Think to add into your pom.xml this dependency:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;&amp;lt;groupId&amp;gt;org.nuxeo.ecm.platform&amp;lt;/groupId&amp;gt;
&amp;lt;artifactId&amp;gt;nuxeo-platform-filemanager-core&amp;lt;/artifactId&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 20 Dec 2011 11:11:09 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/how-to-find-file-upload-codes-in-source-code/m-p/321370#M8371</guid>
      <dc:creator>Benjamin_Jalon1</dc:creator>
      <dc:date>2011-12-20T11:11:09Z</dc:date>
    </item>
  </channel>
</rss>

