<constraint name="aelb:StatutDoc_constraint" type="LIST">
<parameter name="allowedValues">
<list>
<value>Création</value> <!– En cours de création –>
<value>Modification</value> <!– En cours de Modification –>
<value>Validation</value> <!– Statut Validation –>
<value>Publication</value> <!– En cours de Publication –>
<value>Archiver</value> <!– Statut d'Archivage –>
</list>
</parameter>
</constraint>
<aspect name="test:Extranet">
<title>Meta-données : Test Extranet</title>
<properties>
<property name="test:StatutDoc">
<title>Statut Extranet</title>
<type>d:text</type>
<default>Création</default>
<index enabled="true">
<atomic>true</atomic>
<stored>false</stored>
<tokenised>false</tokenised>
</index>
<constraints>
<constraint ref="test:StatutDoc_constraint"/>
</constraints>
</property>
<property name="test:DateDeb">
<title>Date de Début de Publication</title>
<type>d:date</type>
</property>
<property name="test:DateFin">
<title>Date de Fin de Publication</title>
<type>d:date</type>
</property>
</properties>
</aspect>
Le plus simple est de voir les contraintes de type "REGISTERED" et le ConstraintRegistry, si tu souhaites les récupérer en Java.
Content from pre 2016 and from language groups that have been closed.
Content is read-only.
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.