<?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: Get list of files within folder in Java in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/get-list-of-files-within-folder-in-java/m-p/256401#M209531</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;constraints are considered to be state-less restrictions on values. State-less means independent of a certain context, which is why you don't have a handle on the affected node within a custom Java constraint class. Only by tricking / working around the integrity checking framework would I suspect you might be able to get a hold of the current node.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What I'd do in such an instance is implement a Java-based form filter, which can generate the constraint definition dynamically based on the current node reference. Of course, this only works for form-based UIs and does not provide automatic validation during saving, if you don't include the validation code in your form filter / a policy.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Axel&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 06 Sep 2012 10:24:16 GMT</pubDate>
    <dc:creator>afaust</dc:creator>
    <dc:date>2012-09-06T10:24:16Z</dc:date>
    <item>
      <title>Get list of files within folder in Java</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/get-list-of-files-within-folder-in-java/m-p/256400#M209530</link>
      <description>I am trying to create a constraint class to show a drop-down box to the user of all files within the current folderMy question is - how, within my Java constraint class can I get the list of files? How do I get a handle on the current nodeRef to then use the FileFolderService? Do I need to get the n</description>
      <pubDate>Tue, 04 Sep 2012 14:49:16 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/get-list-of-files-within-folder-in-java/m-p/256400#M209530</guid>
      <dc:creator>mikepoole</dc:creator>
      <dc:date>2012-09-04T14:49:16Z</dc:date>
    </item>
    <item>
      <title>Re: Get list of files within folder in Java</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/get-list-of-files-within-folder-in-java/m-p/256401#M209531</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;constraints are considered to be state-less restrictions on values. State-less means independent of a certain context, which is why you don't have a handle on the affected node within a custom Java constraint class. Only by tricking / working around the integrity checking framework would I suspect you might be able to get a hold of the current node.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What I'd do in such an instance is implement a Java-based form filter, which can generate the constraint definition dynamically based on the current node reference. Of course, this only works for form-based UIs and does not provide automatic validation during saving, if you don't include the validation code in your form filter / a policy.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Axel&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Sep 2012 10:24:16 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/get-list-of-files-within-folder-in-java/m-p/256401#M209531</guid>
      <dc:creator>afaust</dc:creator>
      <dc:date>2012-09-06T10:24:16Z</dc:date>
    </item>
    <item>
      <title>Re: Get list of files within folder in Java</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/get-list-of-files-within-folder-in-java/m-p/256402#M209532</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks Axel&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Your post makes perfect sense. It has saved me spending hours trying to bang a square peg into a round-hole during my first exposure to Alfresco. You are a life-saver!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Mike&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Sep 2012 19:12:05 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/get-list-of-files-within-folder-in-java/m-p/256402#M209532</guid>
      <dc:creator>mikepoole</dc:creator>
      <dc:date>2012-09-06T19:12:05Z</dc:date>
    </item>
  </channel>
</rss>

