<?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 Constraints in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/constraints/m-p/57767#M35184</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;Is it possible to find out programmatically what constraints are defined for a given property? Also what the parameter values are for constraints.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The reason is that I would like to be able to offer users different categories depending on what property they are setting e.g. when they set the value of the 'region' property they would be presented with lists of countries, continents etc but not irrelevant categories (there are more complex examples).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Dominic&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 29 Nov 2006 18:19:33 GMT</pubDate>
    <dc:creator>dbevacqua</dc:creator>
    <dc:date>2006-11-29T18:19:33Z</dc:date>
    <item>
      <title>Constraints</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/constraints/m-p/57767#M35184</link>
      <description>HiIs it possible to find out programmatically what constraints are defined for a given property? Also what the parameter values are for constraints.The reason is that I would like to be able to offer users different categories depending on what property they are setting e.g. when they set the value</description>
      <pubDate>Wed, 29 Nov 2006 18:19:33 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/constraints/m-p/57767#M35184</guid>
      <dc:creator>dbevacqua</dc:creator>
      <dc:date>2006-11-29T18:19:33Z</dc:date>
    </item>
    <item>
      <title>Re: Constraints</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/constraints/m-p/57768#M35185</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;For an example of getting the constraints defined for a property, see:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt; org.alfresco.repo.node.integrity.PropertiesIntegrityEvent&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;To get the parameter values, cast the constraint and use getters.&amp;nbsp; See:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt; org.alfresco.web.bean.generator.BaseComponentGenerator#setupStringLengthConstraint&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;BR /&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Dec 2006 13:56:55 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/constraints/m-p/57768#M35185</guid>
      <dc:creator>derek</dc:creator>
      <dc:date>2006-12-04T13:56:55Z</dc:date>
    </item>
  </channel>
</rss>

